[Pkg-bitcoin-commits] [bitcoin] 118/126: Merge #11592: 0.15: Backports

Jonas Smedegaard dr at jones.dk
Mon Nov 13 20:03:01 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/0.15.1_dfsg-1
in repository bitcoin.

commit f518d9ae6aa525c4cd360a16f07a9272cbef558d
Merge: f224cbc 8195cb0
Author: Pieter Wuille <pieter.wuille at gmail.com>
Date:   Fri Nov 3 15:32:02 2017 -0700

    Merge #11592: 0.15: Backports
    
    8195cb0d7 rpc: further constrain the libevent workaround (Cory Fields)
    34153a7e4 rpc: work-around an upstream libevent bug (Cory Fields)
    fc308a6cd Add unit test for stale tip checking (Suhas Daftuar)
    2ed0647ac Add CConnmanTest to mutate g_connman in tests (João Barbosa)
    a607a95d8 Connect to an extra outbound peer if our tip is stale (Suhas Daftuar)
    459f2db42 Track tip update time and last new block announcement from each peer (Suhas Daftuar)
    49bf09018 net: Allow connecting to extra outbound peers (Suhas Daftuar)
    bb83fe190 Add release notes describing blockmaxweight deprecation (Matt Corallo)
    4c82cea99 Use a sensible default for blockmaxweight (Matt Corallo)
    7871a7d3b Deprecate confusing blockmaxsize, fix getmininginfo output (Matt Corallo)
    6baa317b5 Fix minchainwork test for 0.15 backport (Suhas Daftuar)
    55b7abfa8 Make p2p-acceptablock not an extended test (Matt Corallo)
    5bec7744d [qa] test that invalid blocks on an invalid chain get a disconnect (Matt Corallo)
    92d6105c4 Reject headers building on invalid chains by tracking invalidity (Matt Corallo)
    51001d684 Accept unrequested blocks with work equal to our tip (Matt Corallo)
    c6e4d0ce8 Stop always storing blocks from whitelisted peers (Matt Corallo)
    e976c36dd Rewrite p2p-acceptblock in preparation for slight behavior changes (Matt Corallo)
    ec8dedff4 net: Add missing lock in ProcessHeadersMessage(...) (practicalswift)
    59b210d9a Disconnect outbound peers relaying invalid headers (Suhas Daftuar)
    fc966bbd2 moveonly: factor out headers processing into separate function (Suhas Daftuar)
    e3272242e Add unit test for outbound peer eviction (Suhas Daftuar)
    9961abf9e Permit disconnection of outbound peers on bad/slow chains (Suhas Daftuar)
    bf191a718 Disconnecting from bad outbound peers in IBD (Suhas Daftuar)
    d570aa429 Fix uninitialized g_connman crash in Shutdown() (MeshCollider)
    0a5477c7e net: stop both net/net_processing before destroying them (Cory Fields)
    b4136f21c net: drop unused connman param (Cory Fields)
    dc897e53d net: use an interface class rather than signals for message processing (Cory Fields)
    8aee55af3 net: pass CConnman via pointer rather than reference (Cory Fields)
    6f279652b Rename fAddnode to a more-descriptive "manual_connection" (Matt Corallo)
    ffb6ea4e5 Add comment explaining forced processing of compact blocks (Suhas Daftuar)
    2df65eeb9 qa: add test for minchainwork use in acceptblock (Suhas Daftuar)
    3acec3878 Don't process unrequested, low-work blocks (Suhas Daftuar)
    0e9d04bf0 [qa] Test nMinimumChainWork (Suhas Daftuar)
    da4908c3a Allow setting nMinimumChainWork on command line (Suhas Daftuar)
    41088795d qa: Remove never used return value of sync_with_ping (MarcoFalke)
    f3457d0e8 qa: Make tmpdir option an absolute path (MarcoFalke)
    9c8006dc3 Avoid opening copied wallet databases simultaneously (Russell Yanofsky)
    de7053f11 [wallet] Fix leak in CDB constructor (João Barbosa)
    fd79ed6b2 Ensure backupwallet fails when attempting to backup to source file (Tomas van der Wansem)
    d94fc336c scripted-diff: rename assert_raises_jsonrpc to assert_raises_rpc error (John Newbery)
    623de0acb [tests] do not allow assert_raises_message to be called with JSONRPCException (John Newbery)
    5b728c8e9 [tests] remove direct testing on JSONRPCException from individual test cases (John Newbery)
    
    Pull request description:
    
    Tree-SHA512: 9fdb5c47844a899271023d8d445f7fc728e3ad71916490cd9783464684967594b07cda05dd644b722bfcea9fade74d06cfc501e1a68abf118d6d03fbbf7d7707

 doc/release-notes.md                             |  16 +
 src/httpserver.cpp                               |  32 +-
 src/init.cpp                                     |  37 +-
 src/miner.cpp                                    |  38 +-
 src/miner.h                                      |   4 +-
 src/net.cpp                                      |  67 +-
 src/net.h                                        |  51 +-
 src/net_processing.cpp                           | 892 +++++++++++++++--------
 src/net_processing.h                             |  57 +-
 src/policy/policy.h                              |   4 +-
 src/rpc/mining.cpp                               |   2 -
 src/rpc/net.cpp                                  |   2 +-
 src/test/DoS_tests.cpp                           | 162 +++-
 src/test/test_bitcoin.cpp                        |  18 +-
 src/test/test_bitcoin.h                          |   8 +
 src/test/util_tests.cpp                          |  25 +
 src/utilstrencodings.cpp                         |  13 +
 src/utilstrencodings.h                           |   6 +
 src/validation.cpp                               |  99 ++-
 src/validation.h                                 |   7 +-
 src/wallet/db.cpp                                |  74 +-
 src/wallet/db.h                                  |   2 +-
 test/functional/bip68-sequence.py                |  10 +-
 test/functional/blockchain.py                    |   4 +-
 test/functional/bumpfee.py                       |  14 +-
 test/functional/disablewallet.py                 |   4 +-
 test/functional/disconnect_ban.py                |  12 +-
 test/functional/fundrawtransaction.py            |  12 +-
 test/functional/import-rescan.py                 |  30 +-
 test/functional/importmulti.py                   |   4 +-
 test/functional/importprunedfunds.py             |   4 +-
 test/functional/keypool.py                       |   8 +-
 test/functional/mempool_packages.py              |   4 +-
 test/functional/mempool_reorg.py                 |   4 +-
 test/functional/mempool_spendcoinbase.py         |   2 +-
 test/functional/merkle_blocks.py                 |   8 +-
 test/functional/minchainwork.py                  |  93 +++
 test/functional/mining.py                        |  11 +-
 test/functional/multiwallet.py                   |  12 +-
 test/functional/net.py                           |   4 +-
 test/functional/nulldummy.py                     |   6 +-
 test/functional/p2p-acceptblock.py               | 302 +++++---
 test/functional/prioritise_transaction.py        |   2 +-
 test/functional/pruning.py                       |   8 +-
 test/functional/rawtransactions.py               |  12 +-
 test/functional/replace-by-fee.py                |  30 +-
 test/functional/resendwallettransactions.py      |   4 +-
 test/functional/rpcbind_test.py                  |   2 +-
 test/functional/rpcnamedargs.py                  |   4 +-
 test/functional/segwit.py                        |  14 +-
 test/functional/signrawtransactions.py           |   2 +-
 test/functional/test_framework/mininode.py       |   1 -
 test/functional/test_framework/test_framework.py |   3 +
 test/functional/test_framework/util.py           |  14 +-
 test/functional/test_runner.py                   |   3 +-
 test/functional/wallet-dump.py                   |   4 +-
 test/functional/wallet-encryption.py             |  12 +-
 test/functional/wallet.py                        |   8 +-
 test/functional/walletbackup.py                  |  10 +
 test/functional/zapwallettxes.py                 |   4 +-
 60 files changed, 1617 insertions(+), 684 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/bitcoin.git



More information about the Pkg-bitcoin-commits mailing list