Gavin Andresen
159bc48193
Simplify storage of orphan transactions
...
Orphan transactions were stored as a CDataStream pointer;
this changes the mapOrphanTransactions data structures to
store orphans as a CTransaction.
This also fixes CVE-2013-4627 by always re-serializing
transactions before relaying them.
11 years ago
Gavin Andresen
8f6f92c72b
Revert "Truncate oversize 'tx' messages before relaying/storing."
...
This reverts commit c40a5aaaf4
.
11 years ago
Wladimir J. van der Laan
6d89611c3a
Merge pull request #2850 from Diapolo/fix_intro
...
fix possible infinite loop in intro.cpp thread
11 years ago
Jeff Garzik
3b2ed514d3
Merge pull request #2867 from jgarzik/miner-sep
...
Move internal miner to separate miner.cpp module
11 years ago
Jeff Garzik
d247a5d130
Move internal miner/block creation to separate miner.cpp module.
...
Public functions referenced elsewhere are added to miner.h.
11 years ago
Jeff Garzik
18946846d5
Minor miner fixes (hey hey it's fun to say)
...
* Fix UpdateCoins() definition in main.h
* Remove pwalletMain reference from BitcoinMiner(), as it is passed
a wallet argument.
11 years ago
Jeff Garzik
8351d55cd3
Merge pull request #2866 from gavinandresen/loopdefine
...
Remove #define loop from util.h
11 years ago
Gavin Andresen
050d2e953f
Remove #define loop from util.h
...
Replace the loop macro with while (true). The #define caused
problems for Qt.
11 years ago
Philip Kaufmann
bef9f573b5
fix string in intro.cpp, which is untranslatable on Transifex
...
- seems the code tags in the original string cause errors, when using the
Transifex site for translation
11 years ago
Philip Kaufmann
c431e9f1f0
Bitcoin-Qt: save and restore position of debug window
...
- move the code for saving and restoring window positions from BitcoinGUI
to GUIUtil, make it more generic and also use it for saving/restoring
debug window positions
11 years ago
Pieter Wuille
c4316fefa5
Make sure new wallet variables are initialized
11 years ago
Pieter Wuille
4bb77b4963
Merge pull request #2541 from luke-jr/bugfix_wallet_resend
...
Bugfix: Store last/next wallet resend times unique per CWallet object
11 years ago
Pieter Wuille
83a3597071
Merge pull request #2702 from vinniefalco/leveldb-subtree-at-1-10-0
...
Leveldb subtree at 1 12 0
11 years ago
Pieter Wuille
f38f452251
Merge pull request #2863 from maaku/patch-1
...
Fix typo in README.md
11 years ago
Mark Friedenbach
cb501a7d44
Fix typo in README.md
11 years ago
Philip Kaufmann
5bc6d8e580
fix possible infinite loop in intro.cpp thread
...
- it was possible to trigger an infinite loop in FreespaceChecker::check() by
simply removing the drive letter on Windows (which leads to an infinite
loop in the FreespaceChecker thread)
- this was caused by not checking if we make progress with
parentDir.parent_path()
11 years ago
Wladimir J. van der Laan
2b894bceac
Merge pull request #2847 from Diapolo/fix_QApplication_include
...
Bitcoin-Qt: fix QApplication includes to match our include defaults
11 years ago
Wladimir J. van der Laan
7d3a50ddbe
Merge pull request #2848 from Diapolo/translations
...
update bitcoin_en.ts to current master (2013-07-23)
11 years ago
Gavin Andresen
5e67e124cf
Merge pull request #1889 from tcatm/multi-wallet
...
let user select wallet file with -wallet=foo.dat
11 years ago
Philip Kaufmann
852605d8d1
remove windows.h from crypter.cpp includes
...
- remove an unneeded windows.h include (comes from allocators.h, which is
included in crypter.h)
11 years ago
Philip Kaufmann
dd833a4cd8
cleanup compat.h Windows stuff
...
- remove an unneded include for mswsock.h as we use winsock2.h anyway
- move typedef u_int SOCKET; into the #ifndef WIN32 part
- remove typedef int socklen_t; as this is defined in ws2tcpip.h
11 years ago
Philip Kaufmann
a034c7ebb6
exclude CreatePidFile() function on WIN32 as it is unused
11 years ago
Peter Todd
1b3656d50b
Add 'chainwork' to getblock
...
Returns nChainWork from the block index, the total work done by all
blocks since the genesis block.
11 years ago
Matt Corallo
9bf2a4aba2
Fix multi-block reorg transaction resurrection
11 years ago
Matt Corallo
d9ace8abe8
Don't use checkpoints and accept nonstd txn on -regtest
11 years ago
Peter Todd
aff83e9c02
Add unittests for multiple ELSEs in a row
...
IF ELSE ELSE ENDIF is a valid construct; execution or non-execution
inverts on each ELSE encountered.
11 years ago
Philip Kaufmann
3960d2e4ab
update bitcoin_en.ts to current master (2013-07-23)
11 years ago
Philip Kaufmann
84ef729aa1
Bitcoin-Qt: fix QApplication includes to match our include defaults
...
- move all QApplication includes to top of included Qt headers
- undef our loop macro where it would cause compilation errors otherwise
11 years ago
Jeff Garzik
0a740650a5
Merge pull request #2795 from fanquake/log_aborted_rebuilds
...
Log aborted block database rebuilds
11 years ago
Jeff Garzik
0cb6d67e46
Merge pull request #2832 from luke-jr/bugfix_wdb_boostver
...
Bugfix: Move boost/version include from db.cpp to walletdb.cpp where BOOST_VERSION is used
11 years ago
Jeff Garzik
6c6255edb5
Merge pull request #2826 from Diapolo/fix_mingw481
...
fix invalid conversion error with MinGW 4.8.1 in net.cpp
11 years ago
Jeff Garzik
ac6561322f
Merge pull request #2836 from phelixbtc/patch-3
...
makefile.mingw: Use normal boost libraries instead of debug for Windows
11 years ago
Jeff Garzik
06c5cec84d
Merge pull request #2842 from luke-jr/bugfix_usage
...
Bugfix: Include block creation and SSL options headings in usage
11 years ago
Matt Corallo
f65e7092a2
Better warning/"alert" messages for large-work forks.
11 years ago
Matt Corallo
f89faa2584
Call the -alertnotify script when we see a long or invalid fork.
11 years ago
Matt Corallo
b8585384da
Detect any sufficiently long fork and add a warning.
...
Such a fork is defined as being at least 7 blocks long and
having a tip which is within 72 blocks of our best block.
11 years ago
Luke Dashjr
dabd4bd48e
Bugfix: Include block creation and SSL options headings in usage
11 years ago
phelixbtc
eda7605dfe
makefile.mingw: Use normal boost libraries instead of debug for Windows
...
https://github.com/bitcoin/bitcoin/pull/2835#issuecomment-21231694
11 years ago
Wladimir J. van der Laan
4eab2dcc81
Merge pull request #2670 from laanwj/2013_05_datadir
...
qt: allow user to choose data directory
11 years ago
fcicq
98148a713e
Fix fcntl include in net.cpp & netbase.cpp
11 years ago
fcicq
b34255b758
Ignore SIGPIPE signal on Solaris
11 years ago
fcicq
9371403993
Add missing constant for solaris
11 years ago
fcicq
c391f9a47b
Fix boost uint type bug by reordering the includes
11 years ago
fcicq
eb8397a03e
Disable variadic template support in C++11
11 years ago
Luke Dashjr
203d1ae69b
Bugfix: Store last/next wallet resend times unique per CWallet object
11 years ago
Luke Dashjr
d4e2b040ed
Bugfix: Move boost/version include from db.cpp to walletdb.cpp where BOOST_VERSION is used
11 years ago
Pieter Wuille
a59db19ee3
BIP32 test vectors
11 years ago
Pieter Wuille
eb2c999050
BIP32 derivation implementation
11 years ago
Pieter Wuille
c2aca50551
Merge pull request #2825 from sipa/incompatkey
...
Fix minor backward incompatibility
11 years ago
Philip Kaufmann
b3e0aaf36e
fix invalid conversion error with MinGW 4.8.1 in net.cpp
...
- fixes src\net.cpp:1601: Error:invalid conversion from 'void*' to
'const char*' [-fpermissive] in a setsockopt() call on Win32 that was
found by using MinGW 4.8.1 compiler suite
11 years ago