dash/src/wallet
Peter Todd 28bf06236d
Fix off-by-one error w/ nLockTime in the wallet
Previously due to an off-by-one error the wallet ignored
nLockTime-by-height transactions that would be valid in the next block
even though they are accepted into the mempool. The transactions
wouldn't show up until confirmed, nor would they be included in the
unconfirmed balance. Similar to the mempool behavior fix in 665bdd3b,
the wallet code was calling IsFinalTx() directly without taking into
account the fact that doing so tells you if the transaction could have
been mined in the *current* block, rather than the next block.

To fix this we strip IsFinalTx() of non-consensus-critical
functionality, removing the default arguments, and add CheckFinalTx() to
check if a transaction will be final in the next block.
2015-05-27 05:51:33 -04:00
..
test
crypter.cpp wallet: move crypter to wallet 2015-03-22 15:18:55 -04:00
crypter.h ensure consistent header comment naming conventions 2015-04-20 13:29:22 +02:00
db.cpp use constant references for strings in functions in wallet/*.* 2015-03-21 18:40:51 +01:00
db.h remove unused classes from db.h 2015-05-14 01:02:00 -04:00
rpcdump.cpp Push down RPC reqWallet flag 2015-04-12 19:37:29 +02:00
rpcwallet.cpp Fix off-by-one error w/ nLockTime in the wallet 2015-05-27 05:51:33 -04:00
wallet_ismine.cpp
wallet_ismine.h ensure consistent header comment naming conventions 2015-04-20 13:29:22 +02:00
wallet.cpp Fix off-by-one error w/ nLockTime in the wallet 2015-05-27 05:51:33 -04:00
wallet.h Change default nTxConfirmTarget to 2 2015-05-18 09:01:30 +02:00
walletdb.cpp minor: remove unneeded bool in CWalletDB::Recover 2015-05-14 15:55:17 +02:00
walletdb.h ensure consistent header comment naming conventions 2015-04-20 13:29:22 +02:00