aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/rpcwallet.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Convert tree to using univalue. Eliminate all json_spirit uses.Jeff Garzik2015-06-041-29/+35
|
* Fix off-by-one error w/ nLockTime in the walletPeter Todd2015-05-271-4/+4
| | | | | | | | | | | | | | | 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.
* wallet: fix boost::get usage with boost 1.58Cory Fields2015-04-281-1/+1
|
* Show zero value txouts in listunspent.Gregory Maxwell2015-04-201-1/+1
| | | | | | | It's reasonable that automatic coin selection will not pick a zero value txout, but they're actually spendable; and you should know if you have them. Listing also makes them available to tools like dust-b-gone.
* [squashme] fix listunspent code indentationJonas Schnelli2015-04-131-53/+53
|
* Push down RPC reqWallet flagJonas Schnelli2015-04-121-0/+114
|
* [move] move listunspent to wallet/rpcwallet.cppJonas Schnelli2015-04-121-0/+112
|
* Regression test for ResendWalletTransactionsGavin Andresen2015-03-241-0/+22
| | | | | | | | | | | | | | | | Adds a regression test for the wallet's ResendWalletTransactions function, which uses a new, hidden RPC command "resendwallettransactions." I refactored main's Broadcast signal so it is passed the best-block time, which let me remove a global variable shared between main.cpp and the wallet (nTimeBestReceived). I also manually tested the "rebroadcast unconfirmed every half hour or so" functionality by: 1. Running bitcoind -connect=0.0.0.0:8333 2. Creating a couple of send-to-self transactions 3. Connect to a peer using -addnode 4. Waited a while, monitoring debug.log, until I see: ```2015-03-23 18:48:10 ResendWalletTransactions: rebroadcast 2 unconfirmed transactions``` One last change: don't bother putting ResendWalletTransactions messages in debug.log unless unconfirmed transactions were actually rebroadcast.
* Includes: Do not include main.h from any other headerJorge Timón2015-03-241-1/+2
|
* Merge pull request #5745Wladimir J. van der Laan2015-03-201-15/+46
| | | | 50c72f2 [Move Only] Move wallet related things to src/wallet/ (Jonas Schnelli)
* [Move Only] Move wallet related things to src/wallet/Jonas Schnelli2015-03-121-0/+2066
could once be renamed from /src/wallet to /src/legacywallet.