Permalink
Commits on Apr 14, 2017
  1. net: define NodeId as an int64_t

    This should make occurances of NodeId wrapping essentially impossible for
    real-world usage.
    
    Github-Pull: #10176
    Rebased-From: c851be4
    theuni committed with laanwj Apr 10, 2017
  2. [rpc] rename disconnectnode argument

    Github-Pull: #10204
    Rebased-From: 883154c
    jnewbery committed with laanwj Apr 13, 2017
Commits on Apr 13, 2017
  1. Merge #10185: [0.14] Mention dbcache memory changes in release notes

    b7caa30 Mention dbcache memory changes in 0.14.1 release notes (Suhas Daftuar)
    
    Tree-SHA512: cbc4bd55075c21c3cb1ea7857cf977ca60c6ae75b615512fbc9a42c4f329c40701fe31697634a47a17367e291c0969c2ad47266c8ef6d5bfd23e56614f515027
    laanwj committed Apr 13, 2017
Commits on Apr 6, 2017
  1. Merge #10157: [0.14] Fix the mempool_packages.py test

    39febb8 [qa] Fix mempool_packages.py for the 0.14 branch (Suhas Daftuar)
    
    Tree-SHA512: 7b5f2627a76d79da5d7c9d30794219a87bec99296d5f74f66b347c7c8914244bfd07f0d48231adda7269678706fd9158b846d710f942b724c8c5748cc4a49c7e
    laanwj committed Apr 6, 2017
  2. Merge #10158: Add some more release notes for 0.14.1.

    226a9cb Add some more release notes for 0.14.1. (Gregory Maxwell)
    
    Tree-SHA512: ea74ae21f0a15556c877318833b998869a8a7378b40e168f84c80ee6c3433befa68ba52502d4d13ce2e5f14b8ad6b0a4075d67fea603d60ec94698f2a0606f6d
    laanwj committed Apr 6, 2017
Commits on Apr 5, 2017
  1. Add some more release notes for 0.14.1.

    This adds a blurb for the segwit signaling and fixes up the attribution.
    gmaxwell committed Apr 5, 2017
  2. [qa] Fix mempool_packages.py for the 0.14 branch

    The backport in d947afc of this
    test was incorrect due to an api change in prioritisetransaction.
    sdaftuar committed Apr 5, 2017
  3. Bump version to 0.14.1

    laanwj committed Apr 5, 2017
  4. Bugfix: ancestor modifed fees were incorrect for descendants

    If prioritisetransaction was called for a tx with in-mempool
    descendants, the modified ancestor fee values for those descendants was
    incorrect.
    
    Github-Pull: #10144
    Rebased-From: 9bef02e
    sdaftuar committed with laanwj Apr 3, 2017
  5. Test prioritisetransaction and ancestor fee state

    There is already a similar test for descendant fee state.
    
    Github-Pull: #10144
    Rebased-From: ba7dd8b
    sdaftuar committed with laanwj Apr 3, 2017
  6. Make threshold for flushing more conservative.

    Always leave a reasonable buffer of 50MB for usage from newly connected block (once over 50%) and increase the high water mark buffer to 200MB.
    
    Github-Pull: #10133
    Rebased-From: 1b55e07
    morcos committed with laanwj Mar 31, 2017
  7. Lower default memory footprint slightly

    Github-Pull: #10133
    Rebased-From: f33afd3
    morcos committed with laanwj Mar 31, 2017
  8. Make pcoinsTip memory calculations consistent

    Since we are more accurately measuring pcoinsTip peak usage at twice the current in dynamic usage, it makes sense to double the default (this will lead to the same effective usage and peak usage as previously).
    We should also double the buffer used to avoid flushing if above 90% but still sufficient space remaining.
    
    Github-Pull: #10133
    Rebased-From: 5b95a19
    morcos committed with laanwj Mar 31, 2017
Commits on Apr 4, 2017
  1. Check transaction count early in submitblock.

    There is no point in even hashing a submitted block which doesn't have
     a coinbase transaction.
    
    This also results in more useful error reporting on corrupted input.
    
    Thanks to rawodb for the bug report.
    
    Github-Pull: #10146
    Rebased-From: 4f15ea1
    gmaxwell committed with laanwj Apr 2, 2017
  2. Make GetWitnessCommitmentIndex callable on blocks without a coinbase …

    …txn.
    
    This isn't actually needed anywhere, but it's less brittle.
    
    Github-Pull: #10146
    Rebased-From: ada0caa
    gmaxwell committed with laanwj Apr 2, 2017
Commits on Apr 3, 2017
  1. [rpc] Remove auth cookie on shutdown

    Accidentally removed in 40b556d
    
    Github-Pull: #10139
    Rebased-From: 4b87973
    practicalswift committed with laanwj Mar 28, 2017
Commits on Mar 31, 2017
  1. Compensate for memory peak at flush time

    Github-Pull: #10126
    Rebased-From: 7228ce8
    sipa committed with laanwj Mar 30, 2017
  2. Merge #10127: [0.14 backport] Mining: Prevent slowdown in CreateNewBl…

    …ock on large mempools
    
    
    a296c60 Update benchmarking with package statistics (Suhas Daftuar)
    10028fb Add benchmarking for CreateNewBlock (Suhas Daftuar)
    b5c3440 Mining: return early when block is almost full (Suhas Daftuar)
    
    Tree-SHA512: 7c39d03a778abe00412743958981a1a55d22fc1843c9a3aef7a56506622e6f5d6b8962c586a339b6031e1ee4815d6981351cf527e8fbe5b265824c81d6c7199d
    laanwj committed Mar 31, 2017
  3. util: Work around (virtual) memory exhaustion on 32-bit w/ glibc

    glibc-specific: On 32-bit systems set the number of arenas to 1. By
    default, since glibc 2.10, the C library will create up to two heap
    arenas per core. This is known to cause excessive virtual address space
    usage in our usage. Work around it by setting the maximum number of
    arenas to 1.
    
    Github-Pull: #10120
    Rebased-From: 625488a
    laanwj committed Mar 30, 2017
  4. Add tests for bitcoin-tx input checking

    Github-Pull: #10130
    Rebased-From: 19ecd1e
    jnewbery committed with laanwj Mar 29, 2017
  5. Check stderr when testing bitcoin-tx

    Github-Pull: #10130
    Rebased-From: 21704f6
    jnewbery committed with laanwj Mar 29, 2017
  6. bitcoin-tx: Fix missing range check

    The number of arguments is not checked MutateTxAddOutAddr(..), meaning
    that
    
    > ./bitcoin-tx -create outaddr=
    
    accessed the vStrInputParts vector beyond its bounds.
    
    This also includes work by jnewbery to check the inputs for
    MutateTxAddPubKey()
    
    Github-Pull: #10130
    Rebased-From: eb66bf9
    Awemany committed with laanwj Mar 28, 2017
Commits on Mar 30, 2017
  1. Update benchmarking with package statistics

    Github-Pull: #9959
    Rebased-From: 011124a
    sdaftuar committed Mar 8, 2017
  2. Add benchmarking for CreateNewBlock

    Github-Pull: #9959
    Rebased-From: 42cd8c8
    sdaftuar committed Mar 8, 2017
  3. Mining: return early when block is almost full

    Github-Pull: #9959
    Rebased-From: eed816a
    sdaftuar committed Mar 6, 2017
Commits on Mar 29, 2017
  1. Merge #10101: [0.14] backports

    fa7555b doc: Add release notes for RPC createraw break (MarcoFalke)
    142fbb2 rpc: Rename first named arg of createrawtransaction (MarcoFalke)
    fc3d7db Optimize GetWitnessHash() for non-segwit transactions (Suhas Daftuar)
    e9611d1 depends: fix zlib build on osx (Cory Fields)
    ddc2dd1 Ensure an item exists on the rpcconsole stack before adding (Andrew Chow)
    4d8e660 Trivial: Fix typo in help getrawtransaction RPC (James Evans)
    
    Tree-SHA512: 4351b07a7477315aafbbbc632503a000fb5832d1b3617c7aff78603f4c53f581599a0c9b098d39d35adb8aa58769cf80298baf2eea278c32a662ec8c8fba3ceb
    laanwj committed Mar 29, 2017
Commits on Mar 27, 2017
  1. rpc: Rename first named arg of createrawtransaction

    Github-Pull: #10084
    Rebased-From: fa55853
    MarcoFalke committed Mar 26, 2017
  2. Optimize GetWitnessHash() for non-segwit transactions

    Github-Pull: #9912
    Rebased-From: 02c57b5
    sdaftuar committed with MarcoFalke Mar 3, 2017
  3. depends: fix zlib build on osx

    zlib is sneaky and expects ar to be libtool on darwin.
    
    Github-Pull: #9973
    Rebased-From: c624753
    theuni committed with MarcoFalke Mar 10, 2017