Permalink
Commits on Jul 14, 2017
  1. Merge #10819: Fix uninitialized atomic variables

    4652791 Fix uninitialized atomic variables (João Barbosa)
    
    Tree-SHA512: 5dd8924bc8743a094abdbc2464b835a0e7fd4948c102ea7c2251c6330bea5615c4459ba322a656fd6ac5f8d695b69d3709d225ddccef226cf8afc7de5e3d3019
    sipa committed Jul 14, 2017
  2. Merge #10557: Make check to distinguish between orphan txs and old tx…

    …s more efficient.
    
    
    18bacec Make check to distinguish between orphan txs and old txs more efficient. (Alex Morcos)
    
    Tree-SHA512: b6b4bad89aa561975dce7b68b2fdad5623af5ebcb9c38fd6a72b5f6d0544ed441df4865591ac018f7ae0df9b5c60820cb4d9e55664f5667c9268458df70fd554
    sipa committed Jul 14, 2017
  3. Merge #10806: build: verify that the assembler can handle crc32 funct…

    …ions
    
    
    d34d77a build: verify that the assembler can handle crc32 functions (Cory Fields)
    
    Pull request description:
    
      Also, enable crc32 even if -msse4.2 wasn't added by us, as long as it works. This allows custom flags (such as -march=native) to work as expected.
    
      Addresses #10670.
    
    Tree-SHA512: e1a41a87b078d270bc645814315b229ad9c16556a4d14fb66b27a65b28d0caf9bf324f8c1e221854992aa17f53466eece06faebbf74d59b3d4ff2e6db6c614a4
    laanwj committed Jul 14, 2017
Commits on Jul 13, 2017
  1. build: verify that the assembler can handle crc32 functions

    Also, enable crc32 even if -msse4.2 wasn't added by us, as long as it works.
    This allows custom flags (such as -march=native) to work as expected.
    theuni committed Jul 12, 2017
  2. Merge #10810: missing white space in function arg

    69a4339 missing white space in function arg (Lawrence Nahum)
    
    Pull request description:
    
    Tree-SHA512: 94d832eca0b5429cf48c7c1d4489942b53182c5b7ad9f24264867e7631301173c23a48f7b2e8fd22ff1b3137bafacb3f9d4320f4df235668c9096aaefff7afe8
    jonasschnelli committed Jul 13, 2017
  3. Merge #10780: Simplify "!foo || (foo && bar)" as "!foo || bar"

    1e3a320 Simplify "!foo || (foo && bar)" as "!foo || bar" (practicalswift)
    
    Tree-SHA512: d5ce6d7a9f3741e7abe8542b840268aa683e276aac7587041d32385a4c1273e20c236bec7590e27540dde72defb3f879d4695822bb7bfdb092cc20d9aefa64c1
    sipa committed Jul 13, 2017
Commits on Jul 12, 2017
  1. Merge #9804: Fixes subscript 0 (&var[0]) where should use (var.data()…

    …) instead.
    
    
    30ac768 Fix subscript[0] potential bugs in key.cpp (Jeremy Rubin)
    4b1c0f2 Remove unnecessary branches in utilstrencodings string constructors. (Jeremy Rubin)
    e19db7b Fix subscript[0] in utilstrencodings.cpp (Jeremy Rubin)
    bc2e7fd Fix subscript[0] in streams.h (Jeremy Rubin)
    4cac0d1 Fix subscript[0] in validation.cpp (Jeremy Rubin)
    ac658e5 Fix subscript[0] in torcontrol (Jeremy Rubin)
    b6856eb Fix subscript[0] in netaddress.cpp (Jeremy Rubin)
    361d952 Fix subscript[0] in base58.cpp (Jeremy Rubin)
    6896dbf Cleanup (safe, it was checked) subscript[0] in MurmurHash3 (and cleanup MurmurHash3 to be more clear). (Jeremy Rubin)
    96f2119 Fix subscript[0] in compressor.cpp (Jeremy Rubin)
    500710b Fix 2 subscript[0] bugs in pubkey.cpp, and eliminate one extra size check (Jeremy Rubin)
    e0451e3 Fix subscript[0] bug in net.cpp if GetGroup returns a 0-sized vector (Jeremy Rubin)
    
    Tree-SHA512: 5b9103652cf8c615bd8f4f32b3573d291d6b67c39e0308ce00100bc6625f346e8e016b4c999f4f34f5c37ae059490a83c3b513deb21f838af785227d06e02362
    sipa committed Jul 12, 2017
  2. Merge #10714: Avoid printing incorrect block indexing time due to uni…

    …nitialized variable
    
    
    959dd87 Avoid printing incorrect block indexing time due to uninitialized variable (practicalswift)
    
    Tree-SHA512: a76e43c3ffa734ed5c7eadf363f345f268aa0e6ce775aba8f856fe3bbc82f240dc7c734c5ca3ac500a12eb41fae00623413e79f484d5acf809b6e400851d771d
    sipa committed Jul 12, 2017
Commits on Jul 11, 2017
  1. Merge #10712: Add change output if necessary to reduce excess fee

    0f402b9 Fix rare edge case of paying too many fees when transaction has no change. (Alex Morcos)
    253cd7e Only reserve key for scriptChange once in CreateTransaction (Alex Morcos)
    
    Pull request description:
    
      This is an alternative to #10333
    
      See commit messages.
    
      The first commit is mostly code move, it just moves the change creation code out of the loop.
    
      @instagibbs
    
    Tree-SHA512: f16287ae0f0c6f09cf8b1f0db5880bb567ffa74a50898e3d1ef549ba592c6309ae1a9b251739f63a8bb622d48f03ce2dff9e7a57a6bac4afb4b95b0a86613ea8
    laanwj committed Jul 11, 2017
  2. Fix rare edge case of paying too many fees when transaction has no ch…

    …ange.
    
    Due to the iterative process of selecting new coins in each loop a new fee is
    calculated that needs to be met each time.  In the typical case if the most
    recent iteration of the loop produced a much smaller transaction and we have now
    gathered inputs with too many fees, we can just reduce the change.  However in
    the case where there is no change output, it is possible to end up with a
    transaction which drastically overpays fees.  This commit addresses that case,
    by creating a change output if the overpayment is large enough to support it,
    this is accomplished by rerunning the transaction creation loop without
    selecting new coins.
    
    Thanks to instagibbs for working on this as well
    morcos committed Jun 30, 2017
  3. Only reserve key for scriptChange once in CreateTransaction

    This does not affect behavior but allows us to have access to an output to
    scriptChange even if we currently do not have change in the transaction.
    morcos committed Jun 30, 2017
  4. Merge #10786: Add PR description to merge commit in github-merge.py

    475c08c Add PR description to merge commit in github-merge.py (Pieter Wuille)
    
    Pull request description:
    
      There is often some context given in PR descriptions that is missing from commits, and it may be worthwhile to retain that information in our history in git. This PR adds that information to the merge commit when created through `github-merge.py`.
    
      We should also encourage people to provide as much information as possible in the PR commits themselves, but I believe that is an orthogonal issue. Individual commits don't need to have a description of the overall goal of a PR.
    
    Tree-SHA512: cbae46ec24ce911744e11a07e5d51895d3acc79659db306d8124304ef8e422bba99001ee2a741b08c92a5eb39d9c3f6b723622b20d6553ca5cfa0a8de866194c
    laanwj committed Jul 11, 2017
  5. Merge #10543: Change API to estimaterawfee

    5e3b7b5 Improve error reporting for estimaterawfee (Alex Morcos)
    1fafd70 Add function to report highest estimate target tracked per horizon (Alex Morcos)
    9c85b91 Change API to estimaterawfee (Alex Morcos)
    
    Tree-SHA512: e624c6e7967e9e48abe49f5818bd674e5710e571cc093029d2f90d39fdfba3c1f30e83bf89f6dce97052b59a7d9636a64642ccfb26effd149c417d0afbed0c0b
    laanwj committed Jul 11, 2017
  6. Merge #10651: Verify binaries from bitcoincore.org and bitcoin.org

    6270d62 Verify binaries from bitcoincore.org and bitcoin.org (Matt Corallo)
    
    Tree-SHA512: 39e99ce9be3e7c99d17b296749c0af53c867039bc95fd5b03572593c812817decea75e7296bb66e89ba460518210d84114b7bdc22465df621340319b47bd4303
    laanwj committed Jul 11, 2017
  7. Merge #10792: Replace MAX_OPCODE for OP_NOP10.

    c8e29d7 Replace MAX_OPCODE for OP_NOP10. (Mark Friedenbach)
    
    Tree-SHA512: f6a4129db24fe3feb044acaec3b94194cc4fa909de3d0a45a664b32f886a7d8ab997c9cb6ff0870c4aee66d8e038cf0453dbbb518316829d15e84da9882f3e69
    laanwj committed Jul 11, 2017
  8. Merge #10190: [tests] mining functional tests (including regression t…

    …est for submitblock)
    
    
    11ba8e9 [tests] rename getblocktemplate_proposals.py to mining.py (John Newbery)
    b29dd41 [tests] add test for submit block (John Newbery)
    9bf0d80 [tests] run successful test in getblocktemplate first (John Newbery)
    82dc597 [tests] don't build blocks manually in getblocktemplate test (John Newbery)
    f82c709 [tests] clarify assertions in getblocktemplate test (John Newbery)
    66c570a [tests] Don't build the coinbase manually in getblocktemplate test (John Newbery)
    38b38cd [tests] getblocktemplate_proposals.py: add logging (John Newbery)
    0a3a5ff [tests] Fix flake8 warnings in getblocktemplate tests (John Newbery)
    32cffe6 [tests] Fix import order in getblocktemplate test (John Newbery)
    
    Tree-SHA512: a51a57314fa1c4c4b8a7896492ec6e677b6bed12387060def34a62e9dfbee7961f71bb5553fbd70028be61ae32eccf13fd255fa9651f908e9a5e64c28f43f00e
    laanwj committed Jul 11, 2017
  9. Merge #10589: More economical fee estimates for RBF and RPC options t…

    …o control
    
    
    f135923 Add RPC options for RBF, confirmation target, and conservative fee estimation. (Alex Morcos)
    f0bf33d Change default fee estimation mode. (Alex Morcos)
    e0738e3 remove default argument from estimateSmartFee (Alex Morcos)
    d507c30 Introduce a fee estimate mode. (Alex Morcos)
    cfaef69 remove default argument from GetMinimumFee (Alex Morcos)
    
    Tree-SHA512: 49c3a49a6893790a7e8b4e93a48f123dd5307af26c2017800683b76b4df8fc904ba73402917878676242c7440e3e04288d0c1ff3c2c907418724efc03cedab50
    laanwj committed Jul 11, 2017
  10. Merge #10676: document script-based return fields for validateaddress

    f2f1d0a document script-based return fields for validateaddress (Gregory Sanders)
    
    Tree-SHA512: 3310bb82b63ef20e46dd7ebcc9e15828cc7b6767ef19ddd869eeb5e4ee5b31ee307d21a44a9c81dbfe9d031bd48219e3ee1d330fc7b343d63d5365b68639c062
    laanwj committed Jul 11, 2017
  11. Replace MAX_OPCODE for OP_NOP10.

    That OP_NOP10 is the last executable opcode is a bit of a obscure trivia, and the MAX_OPCODE constant already exists. This merely standardizes use of MAX_OPCODE over OP_NOP10 where it makes sense and is more clear.
    maaku committed Jul 11, 2017
  12. Merge #10179: Give CValidationInterface Support for calling notificat…

    …ions on the CScheduler Thread
    
    
    1f668b6 Expose if CScheduler is being serviced, assert its not in EmptyQueue (Matt Corallo)
    3192975 Flush CValidationInterface callbacks prior to destruction (Matt Corallo)
    08096bb Support more than one CScheduler thread for serial clients (Matt Corallo)
    2fbf2db Add default arg to CScheduler to schedule() a callback now (Matt Corallo)
    cda1429 Give CMainSignals a reference to the global scheduler (Matt Corallo)
    3a19fed Make ValidationInterface signals-type-agnostic (Matt Corallo)
    ff6a834 Use TestingSetup to DRY qt rpcnestedtests (Matt Corallo)
    
    Tree-SHA512: fab91e34e30b080ed4d0a6d8c1214910e383c45440676e37be61d0bde6ae98d61e8903d22b846e95ba4e73a6ce788798350266feba246d8a2ab357e8523e4ac5
    laanwj committed Jul 11, 2017
  13. Change API to estimaterawfee

    Report results for all 3 possible time horizons instead of specifying time horizon as an argument.
    morcos committed Jun 6, 2017
Commits on Jul 10, 2017
  1. Add RPC options for RBF, confirmation target, and conservative fee es…

    …timation.
    
    Add support for setting each of these attributes on a per RPC call basis to sendtoaddress, sendmany, fundrawtransaction (already had RBF), and bumpfee (already had RBF and conf target).
    morcos committed Jun 14, 2017
  2. Merge #10747: [rpc] fix verbose argument for getblock in bitcoin-cli

    58e9864 [rpc] fix verbose argument for getblock in bitcoin-cli (John Newbery)
    
    Tree-SHA512: 7f176e1ddd9f3f7722ea0d268549629567ecf0c30bebf368824997566df0bfa01d31cf761abc9ca355e48c0bf0cb06d49d15a02b858999fcb7472dc7df2fbbf2
    laanwj committed Jul 10, 2017
Commits on Jul 9, 2017
Commits on Jul 8, 2017