aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | | | | | Merge #8873: Add microbenchmarks to profile more code paths.Wladimir J. van der Laan2016-10-185-1/+372
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 18dacf9 Add microbenchmarks to profile more code paths. (Russell Yanofsky)
| * | | | | | | | | | | | | | | | Add microbenchmarks to profile more code paths.Russell Yanofsky2016-10-185-1/+372
| |/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new benchmarks exercise script validation, CCoinsDBView caching, mempool eviction, and wallet coin selection code. All of the benchmarks added here are extremely simple and don't necessarily mirror common real world conditions or interesting performance edge cases. Details about how specific benchmarks can be improved are noted in comments. Github-Issue: #7883
* | | | | | | | | | | | | | | | Merge #6996: Add preciousblock RPCWladimir J. van der Laan2016-10-184-3/+80
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5805ac8 Add preciousblock tests (Pieter Wuille) 5127c4f Add preciousblock RPC (Pieter Wuille)
| * | | | | | | | | | | | | | | Add preciousblock RPCPieter Wuille2016-08-264-3/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Includes a bugfix by Luke-Jr.
* | | | | | | | | | | | | | | | Merge #8637: Compact Block Tweaks (rebase of #8235)Wladimir J. van der Laan2016-10-183-6/+21
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3ac6de0 Align constant names for maximum compact block / blocktxn depth (Pieter Wuille) b2e93a3 Add cmpctblock to debug help list (instagibbs) fe998e9 More agressively filter compact block requests (Matt Corallo) 02a337d Dont remove a "preferred" cmpctblock peer if they provide a block (Matt Corallo)
| * | | | | | | | | | | | | | | | Align constant names for maximum compact block / blocktxn depthPieter Wuille2016-10-172-3/+8
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Add cmpctblock to debug help listinstagibbs2016-10-171-1/+1
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | More agressively filter compact block requestsMatt Corallo2016-10-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unit test adaptations by Pieter Wuille.
| * | | | | | | | | | | | | | | | Dont remove a "preferred" cmpctblock peer if they provide a blockMatt Corallo2016-10-171-2/+12
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Merge #8223: [c++11] Use std::unique_ptr for block creation.Wladimir J. van der Laan2016-10-185-24/+15
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9fce062 [c++11] Use std::unique_ptr for block creation. (Daniel Kraft)
| * | | | | | | | | | | | | | | | | [c++11] Use std::unique_ptr for block creation.Daniel Kraft2016-06-185-24/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CreateNewBlock returns a pointer for which the caller takes ownership. Use std::unique_ptr to make this explicit and simplify handling of these objects in getblocktemplate.
* | | | | | | | | | | | | | | | | | Merge #8287: [wallet] Set fLimitFree = trueWladimir J. van der Laan2016-10-183-7/+7
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fa8b02d [rpc] rawtx: Prepare fLimitFree to make it an option (MarcoFalke) fa28bfa [wallet] Set fLimitFree = true (MarcoFalke)
| * | | | | | | | | | | | | | | | | | [rpc] rawtx: Prepare fLimitFree to make it an optionMarcoFalke2016-08-251-1/+2
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | [wallet] Set fLimitFree = trueMarcoFalke2016-08-252-6/+5
| | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | Merge #8914: Kill insecure_random and associated global stateWladimir J. van der Laan2016-10-1828-66/+92
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5eaaa83 Kill insecure_random and associated global state (Wladimir J. van der Laan)
| * | | | | | | | | | | | | | | | | | | Kill insecure_random and associated global stateWladimir J. van der Laan2016-10-1728-66/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are only a few uses of `insecure_random` outside the tests. This PR replaces uses of insecure_random (and its accompanying global state) in the core code with an FastRandomContext that is automatically seeded on creation. This is meant to be used for inner loops. The FastRandomContext can be in the outer scope, or the class itself, then rand32() is used inside the loop. Useful e.g. for pushing addresses in CNode or the fee rounding, or randomization for coin selection. As a context is created per purpose, thus it gets rid of cross-thread unprotected shared usage of a single set of globals, this should also get rid of the potential race conditions. - I'd say TxMempool::check is not called enough to warrant using a special fast random context, this is switched to GetRand() (open for discussion...) - The use of `insecure_rand` in ConnectThroughProxy has been replaced by an atomic integer counter. The only goal here is to have a different credentials pair for each connection to go on a different Tor circuit, it does not need to be random nor unpredictable. - To avoid having a FastRandomContext on every CNode, the context is passed into PushAddress as appropriate. There remains an insecure_random for test usage in `test_random.h`.
* | | | | | | | | | | | | | | | | | | | Merge #8925: qt: Display minimum ping in debug window.Wladimir J. van der Laan2016-10-187-10/+34
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1724a40 Display minimum ping in debug window. (R E Broadley)
| * | | | | | | | | | | | | | | | | | | | Display minimum ping in debug window.R E Broadley2016-10-157-10/+34
| |/ / / / / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | | | | | Merge #8845: Don't return the address of a P2SH of a P2SHWladimir J. van der Laan2016-10-181-2/+10
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d51f182 Don't return the address of a P2SH of a P2SH. (jnewbery)
| * | | | | | | | | | | | | | | | | | | | Don't return the address of a P2SH of a P2SH.jnewbery2016-10-051-2/+10
| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Merge #8921: RPC: Chainparams: Remove ↵Wladimir J. van der Laan2016-10-184-9/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Chainparams::fTestnetToBeDeprecatedFieldRPC b26a7b5 RPC: Chainparams: Remove Chainparams::fTestnetToBeDeprecatedFieldRPC (Jorge Timón)
| * | | | | | | | | | | | | | | | | | | | | RPC: Chainparams: Remove Chainparams::fTestnetToBeDeprecatedFieldRPCJorge Timón2016-10-184-9/+1
| | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | Merge #8932: Allow bitcoin-tx to create v2 transactionsWladimir J. van der Laan2016-10-181-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b0aea80 Sync bitcoin-tx with tx version policy (BtcDrak)
| * | | | | | | | | | | | | | | | | | | | | | Sync bitcoin-tx with tx version policyBtcDrak2016-10-161-1/+1
| | |_|_|_|_|_|_|_|/ / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | Merge #8944: Remove bogus assert on number of oubound connections.Wladimir J. van der Laan2016-10-181-1/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1ab21cf Remove bogus assert on number of oubound connections. (Matt Corallo)
| * | | | | | | | | | | | | | | | | | | | | | Remove bogus assert on number of oubound connections.Matt Corallo2016-10-171-1/+0
| | |_|_|_|_|_|_|_|_|/ / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This value can be significantly higher if the users uses addnode
* | | | | | | | | | | | | | | | | | | | | | Merge #8918: Qt: Add "Copy URI" to payment request context menuWladimir J. van der Laan2016-10-182-8/+33
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 21f5a63 Qt: Add "Copy URI" to payment request context menu (Luke Dashjr)
| * | | | | | | | | | | | | | | | | | | | | Qt: Add "Copy URI" to payment request context menuLuke Dashjr2016-10-132-8/+33
| | |_|_|_|_|_|_|_|_|_|_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | My DNS seed supports filteringChristian Decker2016-10-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently supports filtering by any combination of the 4 least significant bits.
* | | | | | | | | | | | | | | | | | | | | Add x9 service bit support to dnsseed.bluematt.meMatt Corallo2016-10-171-1/+1
| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Comment that most dnsseeds only support some service bits combosMatt Corallo2016-10-172-2/+4
| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Merge #8937: Define start and end time for segwit deploymentWladimir J. van der Laan2016-10-172-5/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f9c23de Define start and end time for segwit deployment (Pieter Wuille)
| * | | | | | | | | | | | | | | | | | | | Define start and end time for segwit deploymentPieter Wuille2016-10-172-5/+5
| | |/ / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | Merge #8499: Add several policy limits and disable uncompressed keys for ↵Wladimir J. van der Laan2016-10-1714-54/+654
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | segwit scripts 67d6ee1 remove redundant tests in p2p-segwit.py (Johnson Lau) 9260085 test segwit uncompressed key fixes (Johnson Lau) 248f3a7 Fix ismine and addwitnessaddress: no uncompressed keys in segwit (Pieter Wuille) b811124 [qa] Add tests for uncompressed pubkeys in segwit (Suhas Daftuar) 9f0397a Make test framework produce lowS signatures (Johnson Lau) 4c0c25a Require compressed keys in segwit as policy and disable signing with uncompressed keys for segwit scripts (Johnson Lau) 3ade2f6 Add standard limits for P2WSH with tests (Johnson Lau)
| * | | | | | | | | | | | | | | | | | | test segwit uncompressed key fixesJohnson Lau2016-10-172-1/+460
| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | Fix ismine and addwitnessaddress: no uncompressed keys in segwitPieter Wuille2016-10-173-15/+75
| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | Require compressed keys in segwit as policy and disable signing with ↵Johnson Lau2016-10-168-36/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | uncompressed keys for segwit scripts
| * | | | | | | | | | | | | | | | | | | Add standard limits for P2WSH with testsJohnson Lau2016-10-163-2/+70
| | |/ / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | Merge #8880: protocol.h: Move MESSAGE_START_SIZE into CMessageHeaderWladimir J. van der Laan2016-10-153-25/+26
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1df3111 protocol.h: Make enums in GetDataMsg concrete values (Wladimir J. van der Laan) 2c09a52 protocol.h: Move MESSAGE_START_SIZE into CMessageHeader (Wladimir J. van der Laan) f9bd92d version.h: s/shord/short/ in comment (Wladimir J. van der Laan)
| * | | | | | | | | | | | | | | | | | | protocol.h: Make enums in GetDataMsg concrete valuesWladimir J. van der Laan2016-10-051-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This concretizes the numbers and adds a comment to make it clear that these numbers are fixed by the protocol, and may avoid people forgetting to claim numbers in the future (e.g. issue #8500). Also gets rid of a weird unused `MSG_TYPE_MAX` in the middle of the enumeration (thanks @paveljanik for noticing).
| * | | | | | | | | | | | | | | | | | | protocol.h: Move MESSAGE_START_SIZE into CMessageHeaderWladimir J. van der Laan2016-10-042-16/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also move the enum to the top, and remove a deceptive TODO comment.
| * | | | | | | | | | | | | | | | | | | version.h: s/shord/short/ in commentWladimir J. van der Laan2016-10-041-1/+1
| | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | Merge #8906: [qt] sync-overlay: Don't show progress twiceWladimir J. van der Laan2016-10-152-4/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fafeec3 [qt] sync-overlay: Don't show progress twice (MarcoFalke)
| * | | | | | | | | | | | | | | | | | | [qt] sync-overlay: Don't show progress twiceMarcoFalke2016-10-102-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Don't show integer progress in progress bar. (Already shown in front of progress bar) * Also, use non-static method to get current msecs
* | | | | | | | | | | | | | | | | | | | Merge #8817: update bitcoin-tx to output witness dataWladimir J. van der Laan2016-10-1312-1/+21
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4408558 Update bitcoin-tx to output witness data. (jonnynewbs)
| * | | | | | | | | | | | | | | | | | | Update bitcoin-tx to output witness data.jonnynewbs2016-10-0512-1/+21
| | |_|_|_|_|_|_|/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | Merge #8911: qt: Translate all files, even if wallet disabledWladimir J. van der Laan2016-10-131-7/+11
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8aed5f6 qt: Translate all files, even if wallet disabled (Wladimir J. van der Laan)
| * | | | | | | | | | | | | | | | | | qt: Translate all files, even if wallet disabledWladimir J. van der Laan2016-10-111-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This passes all QT cpp files to the lupdate executable which extracts translations, no matter what conditional functionality is enabled.
* | | | | | | | | | | | | | | | | | | Merge #8821: [qt] sync-overlay: Don't block during reindexJonas Schnelli2016-10-103-14/+21
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fa85e86 [qt] sync-overlay: Don't show estimated number of headers left (MarcoFalke) faa4de2 [qt] sync-overlay: Don't block during reindex (MarcoFalke)
| * | | | | | | | | | | | | | | | | | | [qt] sync-overlay: Don't show estimated number of headers leftMarcoFalke2016-09-291-1/+0
| | | | | | | | | | | | | | | | | | | |