aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | | | | | | Add clarifying comments to fee estimationAlex Morcos2017-01-042-1/+6
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Add extra logging to processBlock in fee estimation.Alex Morcos2017-01-042-10/+23
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Add IsCurrentForFeeEstimatationAlex Morcos2017-01-042-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make a more conservative notion of whether the node is caught up to the rest of the network and only count transactions as fee estimation data points if the node is caught up.
| * | | | | | | | | | | | | | | | | | Pass pointers to existing CTxMemPoolEntries to fee estimationAlex Morcos2017-01-043-9/+9
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Always update fee estimates on new blocks.Alex Morcos2017-01-045-13/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All decisions about whether the transactions are valid data points are made at the time the transaction arrives. Updating on blocks all the time will now cause stale fee estimates to decay quickly when we restart a node.
| * | | | | | | | | | | | | | | | | | rename bool to validFeeEstimateAlex Morcos2017-01-044-9/+9
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Remove member variable hadNoDependencies from CTxMemPoolEntryAlex Morcos2017-01-049-32/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fee estimation can just check its own mapMemPoolTxs to determine the same information. Note that now fee estimation for block processing must happen before those transactions are removed, but this shoudl be a speedup.
| * | | | | | | | | | | | | | | | | | Don't track transactions at all during IBD.Alex Morcos2017-01-041-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was an oversight, where blocks and mempool tracking were ignored during IBD, but transactions that arrived during IBD but were included in blocks after IBD were not ignored.
| * | | | | | | | | | | | | | | | | | Remove extraneous LogPrint from fee estimationAlex Morcos2017-01-042-11/+8
| | |_|_|_|_|_|_|_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Once priority estimation was removed, not all transactions in the mempool are tracked in the fee estimation mempool tracking. So there is no error if a transaction is not found for removal.
* | | | | | | | | | | | | | | | | | Merge #8610: Share unused mempool memory with coincachePieter Wuille2017-01-052-5/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ba3cecf Share unused mempool memory with coincache (Pieter Wuille)
| * | | | | | | | | | | | | | | | | | Share unused mempool memory with coincachePieter Wuille2016-12-222-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the mempool is not completely full, treat the difference between the maximum size and the actual usage as available for the coin cache. This also changes the early flush trigger from (usage > 0.9 * space) to (usage > 0.9 * space && usage > space - 100MB). This means we're not permanently leaving 10% of the space unused when the space is large.
* | | | | | | | | | | | | | | | | | | Merge #9465: [Wallet] Do not perform ECDSA signing in the fee calculation ↵Pieter Wuille2017-01-051-31/+46
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | inner loop. b3d7b1c Wallet: Do not perform ECDSA in the fee calculation inner loop. (Gregory Maxwell)
| * | | | | | | | | | | | | | | | | | | Wallet: Do not perform ECDSA in the fee calculation inner loop.Gregory Maxwell2017-01-051-31/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Performing signing in the inner loop has terrible performance when many passes through are needed to complete the selection. Signing before the algorithm is complete also gets in the way of correctly setting the fee (e.g. preventing over-payment when the fee required goes down on the final selection.) Use of the dummy might overpay on the signatures by a couple bytes in uncommon cases where the signatures' DER encoding is smaller than the dummy: Who cares?
* | | | | | | | | | | | | | | | | | | | Merge #9413: [CoinControl] Allow non-wallet owned change addressesJonas Schnelli2017-01-051-0/+13
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 54f8026 [CoinControl] Allow non-wallet owned change addresses (Jonas Schnelli)
| * | | | | | | | | | | | | | | | | | | | [CoinControl] Allow non-wallet owned change addressesJonas Schnelli2016-12-231-0/+13
| | |_|_|_|/ / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | Merge #9312: Increase mempool expiry time to 2 weeksWladimir J. van der Laan2017-01-051-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5f0e27f Increase mempool expiry time to 2 weeks (Alex Morcos)
| * | | | | | | | | | | | | | | | | | | Increase mempool expiry time to 2 weeksAlex Morcos2016-12-091-1/+1
| | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | Merge #8747: [rpc] Fix transaction size comments and RPC help text.Wladimir J. van der Laan2017-01-053-8/+10
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d29505d Fix transaction size comments. Size now refers to virtual size as defined in BIP141. (jonnynewbs)
| * | | | | | | | | | | | | | | | | | | | Fix transaction size comments. Size now refers to virtual size as defined in ↵jonnynewbs2016-12-083-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BIP141.
* | | | | | | | | | | | | | | | | | | | | Merge #9281: Refactor: Remove using namespace <xxx> from bench/ & test/ sourcesMarcoFalke2017-01-0522-290/+245
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|/ / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 73f4119 Refactoring: Removed using namespace <xxx> from bench/ and test/ source files. (Karl-Johan Alm)
| * | | | | | | | | | | | | | | | | | | | Refactoring: Removed using namespace <xxx> from bench/ and test/ source files.Karl-Johan Alm2017-01-0222-290/+245
| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Merge #9387: [Refactor] RAII of libevent stuff using unique ptrs with deletersWladimir J. van der Laan2017-01-055-22/+160
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 05a55a6 Added EVENT_CFLAGS to test makefile to explicitly include libevent headers. (Karl-Johan Alm) 280a559 Added some simple tests for the RAII-style events. (Karl-Johan Alm) 7f7f102 Switched bitcoin-cli.cpp to use RAII unique pointers with deleters. (Karl-Johan Alm) e5534d2 Added std::unique_ptr<> wrappers with deleters for libevent modules. (Karl-Johan Alm)
| * | | | | | | | | | | | | | | | | | | | Added EVENT_CFLAGS to test makefile to explicitly include libevent headers.Karl-Johan Alm2017-01-041-1/+1
| | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | Added some simple tests for the RAII-style events.Karl-Johan Alm2016-12-213-1/+91
| | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | Switched bitcoin-cli.cpp to use RAII unique pointers with deleters.Karl-Johan Alm2016-12-201-20/+12
| | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | Added std::unique_ptr<> wrappers with deleters for libevent modules.Karl-Johan Alm2016-12-202-0/+56
| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Merge #9417: Do not evaluate hidden LogPrint argumentsWladimir J. van der Laan2017-01-051-8/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 407cdd6 Do not evaluate hidden LogPrint arguments (Pieter Wuille)
| * | | | | | | | | | | | | | | | | | | | | Do not evaluate hidden LogPrint argumentsPieter Wuille2016-12-231-8/+9
| | |_|_|_|_|_|/ / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Merge #9474: Mark the minconf parameter to move as ignoredWladimir J. van der Laan2017-01-051-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ce370c1 Mark the minconf parameter to move as ignored (Pieter Wuille)
| * | | | | | | | | | | | | | | | | | | | | Mark the minconf parameter to move as ignoredPieter Wuille2017-01-041-1/+1
| | |_|_|_|_|_|_|/ / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Merge #9475: Let autoconf detect presence of EVP_MD_CTX_newWladimir J. van der Laan2017-01-051-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|/ / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0388afe Let autoconf detect presence of EVP_MD_CTX_new (Luke Dashjr)
| * | | | | | | | | | | | | | | | | | | | Let autoconf detect presence of EVP_MD_CTX_newLuke Dashjr2017-01-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes LibreSSL compatibility
* | | | | | | | | | | | | | | | | | | | | Merge #9107: Safer modify new coinsPieter Wuille2017-01-044-62/+181
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b50cd7a Fix dangerous condition in ModifyNewCoins. (Alex Morcos)
| * | | | | | | | | | | | | | | | | | | | Fix dangerous condition in ModifyNewCoins.Alex Morcos2017-01-044-62/+181
| | |_|_|_|_|_|_|_|_|/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were marking coins FRESH before being sure they were not overwriting dirty undo data. This condition was never reached in existing code because undo data was always flushed before UpdateCoins was called with new transactions, but could have been exposed in an otherwise safe refactor. Clarify in the comments the assumptions made in ModifyNewCoins. Add ability to undo transactions to UpdateCoins unit test. Thanks to Russ Yanofsky for suggestion on how to make logic clearer and fixing up the ccoins_modify_new test cases.
* | | | | | | | | | | | | | | | | | | | Merge #9457: [qt] Select more files for translationWladimir J. van der Laan2017-01-043-27/+91
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | facf3e7 [qt] `make translate` (MarcoFalke) fae26e8 [qt] Add more sources to translate (MarcoFalke)
| * | | | | | | | | | | | | | | | | | | | [qt] `make translate`MarcoFalke2017-01-042-25/+89
| | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | [qt] Add more sources to translateMarcoFalke2017-01-041-2/+2
| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Merge #9470: qt: Set (count) placeholder in sendcoinsdialog to notranslateMarcoFalke2017-01-042-11/+6
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|_|_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 388ea19 qt: Set (count) placeholder in sendcoinsdialog to notranslate (Wladimir J. van der Laan)
| * | | | | | | | | | | | | | | | | | | | qt: Set (count) placeholder in sendcoinsdialog to notranslateWladimir J. van der Laan2017-01-042-11/+6
| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Merge #9401: Make rpcauth help message clearer, add example in example .confMarcoFalke2017-01-041-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0513c70 Make rpcauth help message clearer, add example in example .conf (Gregory Sanders)
| * | | | | | | | | | | | | | | | | | | | Make rpcauth help message clearer, add example in example .confGregory Sanders2016-12-211-1/+1
| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Merge #9396: Updated listsinceblock rpc documentationWladimir J. van der Laan2017-01-041-0/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3f67972 updated listsinceblock rpc docs (accraze)
| * | | | | | | | | | | | | | | | | | | | | updated listsinceblock rpc docsaccraze2016-12-221-0/+1
| |/ / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes #8758
* | | | | | | | | | | | | | | | | | | | | Merge #9288: Fix a bug if the min fee is 0 for FeeFilterRounderWladimir J. van der Laan2017-01-043-3/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f8d43b8 Avoid rollingMinimumFeeRate never being able to decay below half (Alex Morcos) eab8e1b fix a bug if the min fee is 0 for FeeFilterRounder (Alex Morcos)
| * | | | | | | | | | | | | | | | | | | | | Avoid rollingMinimumFeeRate never being able to decay below halfAlex Morcos2016-12-081-1/+1
| | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | fix a bug if the min fee is 0 for FeeFilterRounderAlex Morcos2016-12-082-2/+3
| | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | Merge #9283: A few more CTransactionRef optimizationsWladimir J. van der Laan2017-01-0415-72/+95
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 91335ba Remove unused MakeTransactionRef overloads (Pieter Wuille) 6713f0f Make FillBlock consume txn_available to avoid shared_ptr copies (Pieter Wuille) 62607d7 Convert COrphanTx to keep a CTransactionRef (Pieter Wuille) c44e4c4 Make AcceptToMemoryPool take CTransactionRef (Pieter Wuille)
| * | | | | | | | | | | | | | | | | | | | | | Remove unused MakeTransactionRef overloadsPieter Wuille2016-12-211-2/+0
| | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | Make FillBlock consume txn_available to avoid shared_ptr copiesPieter Wuille2016-12-213-21/+40
| | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | Convert COrphanTx to keep a CTransactionRefPieter Wuille2016-12-212-24/+25
| | | | | | | | | | | | | | | | | | | | | | |