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
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
cc6cfab38f
Bugfix: Supress "address" key in transaction details, when the destination isn't recognized
...
Previously, it would pass corrupt/random through base58.
11 years ago
Luke Dashjr
96ed682176
Bugfix: Avoid trying to parse outputs that aren't relevant to CWalletTx::GetAmounts
...
This fixes a warning when an output we aren't concerned with can't be parsed.
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
12 years ago
Pieter Wuille
a59db19ee3
BIP32 test vectors
12 years ago
Pieter Wuille
eb2c999050
BIP32 derivation implementation
12 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
12 years ago
Pieter Wuille
fb83a79b21
Fix minor backward incompatibility
...
The key refactor changed the way unencrypted private keys with compressed
public key are stored in the wallet. Apparently older versions relied on
this to verify the correctness of stored keys.
Note that earlier pre-release versions do risk creating wallets that can
not be opened by 0.8.3 and earlier.
12 years ago
Pieter Wuille
ec84e81e83
Prune provably-unspendable outputs
12 years ago
Gregory Maxwell
e5c4dfdfc0
Make the rand tests determinstic. ( fixes #2714 )
...
This avoids spurious errors with the old tests but still tests
enough that if the rng is replaced with a totally broken one
it should still fail.
12 years ago
Nils Schneider
674cb304b3
let user select wallet file with -wallet=foo.dat
...
use std::string instead of psz for WalletFile
only allow wallets within $DATADIR
Use strWalletFile in salvage/recover
fix: remove unused variable pszWalletFile
move strWalletFile to init.h/init.cpp
avoid conversion of strWalletfile to c-string
12 years ago
Jeff Garzik
091aa8dae9
RPC: add getbestblockhash, to return tip of best chain
12 years ago
Pieter Wuille
21cc8bdcbe
Fix build date for from-tarball builds
12 years ago
Eric Lombrozo
042da8bc0d
Added comments to sync.h to make it easier to understand the macros
12 years ago
Jeff Garzik
36bd46f1c4
RPC: keypoolrefill gains optional size parameter
12 years ago
Jeff Garzik
13dd2d090e
CWallet::TopUpKeyPool() takes optional pool size argument
...
Also, GetKeyPoolSize() now returns an accurate type, unsigned int.
12 years ago
Michael Ford
664aeb2871
Log aborted block database rebuilds
12 years ago
Peter Todd
c40a5aaaf4
Truncate oversize 'tx' messages before relaying/storing.
...
Fixes a memory exhaustion attack on low-memory peers.
12 years ago
Philip Kaufmann
dae158132d
translation update 2013-06-25
...
- updates bitcoinstrings.cpp and bitcoin_en.ts so new translations can be
made on Transifex
12 years ago
Pieter Wuille
f121db58e4
Move core implementations to core.cpp
12 years ago
Eric Lombrozo
e6fe8e77fb
Calling UnregisterAllWallets() instead of UnregisterWallet(pwalletMain) in init.cpp
12 years ago
Eric Lombrozo
e5cefb9be1
Added locks on the setpwalletRegistered functions in main.cpp and added an UnregisterAllWallets function.
12 years ago
Jeff Garzik
79f6925fac
main.h->core.h include dependency improvements.
12 years ago
Pieter Wuille
c43da3f183
Dump addresses every 15 minutes instead of 10 seconds
12 years ago
Eric Lombrozo
33944573ca
Moved CBlock from main.h to core.h
12 years ago
Eric Lombrozo
2a4d3464fd
Pulled AcceptBlock out of CBlock.
12 years ago
Eric Lombrozo
38991ffa8a
Pulled CheckBlock out of CBlock.
12 years ago
Eric Lombrozo
1959997afb
Pulled AddToBlockIndex out of CBlock.
12 years ago
Eric Lombrozo
f3ae51dcce
Pulled ConnectBlock out of CBlock.
12 years ago
Eric Lombrozo
5c363ed622
Pulled DisconnectBlock out of CBlock.
12 years ago
Eric Lombrozo
8031399494
Moved ReadBlockFromDisk implementation to main.cpp
12 years ago
Eric Lombrozo
7db120d531
Moved CBlock::ReadFromDisk out of CBlock to functions ReadBlockFromDisk in main.h
12 years ago
Eric Lombrozo
226f821942
Moved WriteBlockToDisk implementation from main.h to main.cpp
12 years ago
Eric Lombrozo
a6dba0fdb2
Moved CBlock::WriteToDisk out of CBlock to inline function WriteBlockToDisk in main.h
12 years ago
Pieter Wuille
8388289eb6
Generalize version bytes
12 years ago
Pieter Wuille
12dff9801f
Add HMAC-SHA512 to hash
12 years ago
Philip Kaufmann
336a53ddbc
fix makefiles and init.cpp after chainparams merge
...
- add missing chainparams.o to some makefiles
- remove a double-include of chainparams.h in init.cpp
12 years ago
Jeff Garzik
6d3f0058f7
init.cpp: fix chainparams.h double include.
...
Noticed by Diapolo.
12 years ago
Jeff Garzik
980bfe6ef8
Log reason for non-standard transaction rejection
12 years ago
Pieter Wuille
4e534aa9d8
Add dumpwallet and importwallet RPCs
...
dumpwallet: produce a dump of all keys in a wallet, in a format
compatible with Bitcoin Wallet for Android and Multibit.
importwallet: import such a dump
12 years ago