aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | | | | | | [Trivial] Grammar and typo correctionLauda2017-01-226-7/+7
| | |_|_|_|_|_|_|/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Minor corrections in src\test\* .
* | | | | | | | | | | | | | | | | | Merge #9554: [test] Avoid potential NULL pointer dereference in ↵MarcoFalke2017-01-221-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | addrman_tests.cpp afab9f4 [test] Avoid potential NULL pointer dereference in addrman_tests.cpp (practicalswift)
| * | | | | | | | | | | | | | | | | [test] Avoid potential NULL pointer dereference in addrman_tests.cpppracticalswift2017-01-141-1/+1
| |/ / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | | qt: Periodic translation updateWladimir J. van der Laan2017-01-2027-134/+348
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | trivial: squash missing field 'argNames' initializer warning in qt testsWladimir J. van der Laan2017-01-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The additional initializer is for the named arguments, which are unused in the test (and unfilled global fields will be initialized to 0 anyhow), so this is a no-op apart from the warning.
* | | | | | | | | | | | | | | | | Merge #9377: fundrawtransaction: Keep change-output keys by default, make it ↵Wladimir J. van der Laan2017-01-203-3/+13
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | optional c9f3062 Add fundrawtransactions new reserveChangeKey option to the release notes (Jonas Schnelli) 9eb325d [QA] Add test for fundrawtransactions new reserveChangeKey option (Jonas Schnelli) 9aa4e6a [Wallet] Add an option to keep the change address key, true by default (Jonas Schnelli)
| * | | | | | | | | | | | | | | | [Wallet] Add an option to keep the change address key, true by defaultJonas Schnelli2017-01-193-3/+13
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Merge #9535: Split CNode::cs_vSend: message processing and message sendingWladimir J. van der Laan2017-01-192-15/+12
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 376b3c2 Make the cs_sendProcessing a LOCK instead of a TRY_LOCK (Matt Corallo) d7c58ad Split CNode::cs_vSend: message processing and message sending (Matt Corallo)
| * | | | | | | | | | | | | | | | Make the cs_sendProcessing a LOCK instead of a TRY_LOCKMatt Corallo2017-01-131-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Technically cs_sendProcessing is entirely useless now because it is only ever taken on the one MessageHandler thread, but because there may be multiple of those in the future, it is left in place
| * | | | | | | | | | | | | | | | Split CNode::cs_vSend: message processing and message sendingMatt Corallo2017-01-132-13/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cs_vSend is used for two purposes - to lock the datastructures used to queue messages to place on the wire and to only call SendMessages once at a time per-node. I believe SendMessages used to access some of the vSendMsg stuff, but it doesn't anymore, so these locks do not need to be on the same mutex, and also make deadlocking much more likely.
* | | | | | | | | | | | | | | | | Merge #9461: [Qt] Improve progress display during headers-sync and peer-findingJonas Schnelli2017-01-194-3/+18
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 40ec7c7 [Qt] Improve progress display during headers-sync and peer-finding (Jonas Schnelli)
| * | | | | | | | | | | | | | | | | [Qt] Improve progress display during headers-sync and peer-findingJonas Schnelli2017-01-194-3/+18
| | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | Merge #8456: [RPC] Simplified bumpfee command.Wladimir J. van der Laan2017-01-196-14/+397
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cc0243a [RPC] bumpfee (mrbandrews) 52dde66 [wallet] Add include_unsafe argument to listunspent RPC (Russell Yanofsky) 766e8a4 [wallet] Add IsAllFromMe: true if all inputs are from wallet (Suhas Daftuar)
| * | | | | | | | | | | | | | | | | [RPC] bumpfeemrbandrews2017-01-194-0/+332
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This command allows a user to increase the fee on a wallet transaction T, creating a "bumper" transaction B. T must signal that it is BIP-125 replaceable. T's change output is decremented to pay the additional fee. (B will not add inputs to T.) T cannot have any descendant transactions. Once B bumps T, neither T nor B's outputs can be spent until either T or (more likely) B is mined. Includes code by @jonasschnelli and @ryanofsky
| * | | | | | | | | | | | | | | | | [wallet] Add include_unsafe argument to listunspent RPCRussell Yanofsky2017-01-193-14/+36
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | [wallet] Add IsAllFromMe: true if all inputs are from walletSuhas Daftuar2017-01-102-0/+29
| | |_|_|_|/ / / / / / / / / / / / | |/| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Merge #9498: Basic CCheckQueue BenchmarksWladimir J. van der Laan2017-01-192-0/+104
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aad4cb5 Address ryanofsky feedback on CCheckQueue benchmarks. Eliminated magic numbers, fixed scoping of vectors (and memory movement component of benchmark). (Jeremy Rubin) 9f03110 Add Basic CheckQueue Benchmark (Jeremy Rubin)
| * | | | | | | | | | | | | | | | Address ryanofsky feedback on CCheckQueue benchmarks. Eliminated magic ↵Jeremy Rubin2017-01-111-15/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | numbers, fixed scoping of vectors (and memory movement component of benchmark).
| * | | | | | | | | | | | | | | | Add Basic CheckQueue BenchmarkJeremy Rubin2017-01-092-0/+95
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Merge #9499: Use recent-rejects, orphans, and recently-replaced txn for ↵Wladimir J. van der Laan2017-01-1911-31/+105
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compact-block-reconstruction c594580 Add braces around AddToCompactExtraTransactions (Matt Corallo) 1ccfe9b Clarify comment about mempool/extra conflicts (Matt Corallo) fac4c78 Make PartiallyDownloadedBlock::InitData's second param const (Matt Corallo) b55b416 Add extra_count lower bound to compact reconstruction debug print (Matt Corallo) 863edb4 Consider all (<100k memusage) txn for compact-block-extra-txn cache (Matt Corallo) 7f8c8ca Consider all orphan txn for compact-block-extra-txn cache (Matt Corallo) 93380c5 Use replaced transactions in compact block reconstruction (Matt Corallo) 1531652 Keep shared_ptrs to recently-replaced txn for compact blocks (Matt Corallo) edded80 Make ATMP optionally return the CTransactionRefs it replaced (Matt Corallo) c735540 Move ORPHAN constants from validation.h to net_processing.h (Matt Corallo)
| * | | | | | | | | | | | | | | | Add braces around AddToCompactExtraTransactionsMatt Corallo2017-01-161-2/+4
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Clarify comment about mempool/extra conflictsMatt Corallo2017-01-161-1/+2
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Make PartiallyDownloadedBlock::InitData's second param constMatt Corallo2017-01-122-2/+2
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Add extra_count lower bound to compact reconstruction debug printMatt Corallo2017-01-122-2/+4
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Consider all (<100k memusage) txn for compact-block-extra-txn cacheMatt Corallo2017-01-101-1/+4
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Consider all orphan txn for compact-block-extra-txn cacheMatt Corallo2017-01-101-0/+2
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Use replaced transactions in compact block reconstructionMatt Corallo2017-01-104-8/+41
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Keep shared_ptrs to recently-replaced txn for compact blocksMatt Corallo2017-01-103-2/+25
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Make ATMP optionally return the CTransactionRefs it replacedMatt Corallo2017-01-095-13/+20
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Move ORPHAN constants from validation.h to net_processing.hMatt Corallo2017-01-092-6/+7
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Merge #9512: Fix various things -fsanitize complains aboutWladimir J. van der Laan2017-01-186-25/+49
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 82e8baa Avoid boost dynamic_bitset in rest_getutxos (Pieter Wuille) 99f001e Fix memory leak in multiUserAuthorized (Pieter Wuille) 5a0b7e4 Fix memory leak in net_tests (Pieter Wuille) 6b03bfb Fix memory leak in wallet tests (Pieter Wuille) f94f3e0 Avoid integer overflows in scriptnum tests (Pieter Wuille) 843c560 Avoid unaligned access in crypto i/o (Pieter Wuille)
| * | | | | | | | | | | | | | | | | Avoid boost dynamic_bitset in rest_getutxosPieter Wuille2017-01-121-5/+7
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Fix memory leak in multiUserAuthorizedPieter Wuille2017-01-121-2/+2
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Fix memory leak in net_testsPieter Wuille2017-01-121-2/+2
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Fix memory leak in wallet testsPieter Wuille2017-01-121-4/+8
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Avoid integer overflows in scriptnum testsPieter Wuille2017-01-121-2/+4
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Avoid unaligned access in crypto i/oPieter Wuille2017-01-121-10/+26
| | |_|_|_|_|/ / / / / / / / / / / | |/| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Merge #9508: Remove unused Python importsMarcoFalke2017-01-181-1/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 95bab82 Remove unused Python imports (practicalswift)
| * | | | | | | | | | | | | | | | Remove unused Python importspracticalswift2017-01-131-1/+0
| | |_|_|/ / / / / / / / / / / / | |/| | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Merge #9561: Wake message handling thread when we receive a new blockPieter Wuille2017-01-162-2/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 241d893 Wake message handling thread when we receive a new block (Matt Corallo) f13914a Make WakeMessageHandler public (Matt Corallo)
| * | | | | | | | | | | | | | | | Wake message handling thread when we receive a new blockMatt Corallo2017-01-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This forces the message handling thread to make another full iteration of SendMessages prior to going back to sleep, ensuring we announce the new block to all peers before sleeping.
| * | | | | | | | | | | | | | | | Make WakeMessageHandler publicMatt Corallo2017-01-141-2/+2
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Merge #9484: Introduce assumevalid setting to skip validation presumed valid ↵Pieter Wuille2017-01-165-11/+48
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | scripts. 7b5e3fe Add assumevalid testcase (John Newbery) e440ac7 Introduce assumevalid setting to skip presumed valid scripts. (Gregory Maxwell)
| * | | | | | | | | | | | | | | | | Introduce assumevalid setting to skip presumed valid scripts.Gregory Maxwell2017-01-135-11/+48
| | |_|/ / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This disentangles the script validation skipping from checkpoints. A new option is introduced "assumevalid" which specifies a block whos ancestors we assume all have valid scriptsigs and so we do not check them when they are also burried under the best header by two weeks worth of work. Unlike checkpoints this has no influence on consensus unless you set it to a block with an invalid history. Because of this it can be easily be updated without risk of influencing the network consensus. This results in a massive IBD speedup. This approach was independently recommended by Peter Todd and Luke-Jr since POW based signature skipping (see PR#9180) does not have the verifiable properties of a specific hash and may create bad incentives. The downside is that, like checkpoints, the defaults bitrot and older releases will sync slower. On the plus side users can provide their own value here, and if they set it to something crazy all that will happen is more time will be spend validating signatures. Checkblocks and checklevel are also moved to the hidden debug options: Especially now that checkblocks has a low default there is little need to change these settings, and users frequently misunderstand them as influencing security or IBD speed. By hiding them we offset the space added by this new option.
* | | | | | | | | | | | | | | | | qt: periodic translations updateWladimir J. van der Laan2017-01-1623-169/+657
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Merge #9380: Separate different uses of minimum feesWladimir J. van der Laan2017-01-1612-30/+82
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eb30d1a Introduce -dustrelayfee (Alex Morcos) 7b1add3 Introduce -incrementalrelayfee (Alex Morcos) daec955 Introduce -blockmintxfee (Alex Morcos)
| * | | | | | | | | | | | | | | | | Introduce -dustrelayfeeAlex Morcos2017-01-168-17/+37
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Introduce -incrementalrelayfeeAlex Morcos2017-01-165-11/+24
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Introduce -blockmintxfeeAlex Morcos2017-01-044-2/+21
| | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | Merge #9400: Set peers as HB peers upon full block validationPieter Wuille2017-01-151-27/+28
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d4781ac Set peers as HB peers upon full block validation (Gregory Sanders)