aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-09-19Merge #14262: 0.15.2 release notes, manpage and version bumpv0.15.2Wladimir J. van der Laan
391b2cf0250de44afcaeaaf977e3ef8ec5c4d55f doc: Update manpages for 0.15.2 (Sjors Provoost) 1e3dafcaa7b195d14713ad1a146c2bb2003c91b3 build: Bump version to 0.15.2 (Sjors Provoost) bf47116671c15ab792db2a3242d468ae2fa85cb0 doc: 0.15.2 release notes (Sjors Provoost) Pull request description: Semi manual based on [commits since v0.15.1](https://github.com/bitcoin/bitcoin/compare/v0.15.1...0.15), so please sanity check. Tree-SHA512: d4df6ed446f61657c1ed3c545808bafa2ba4d38ea6073881c1e69da20a01c64b20e550eb15d57c6dde390d260b369d348ba8b74b42ab3283e8cdf12632c427a0
2018-09-19doc: Update manpages for 0.15.2Sjors Provoost
2018-09-19build: Bump version to 0.15.2Sjors Provoost
2018-09-19doc: 0.15.2 release notesSjors Provoost
2018-09-18Fix crash bug with duplicate inputs within a transactionSuhas Daftuar
Introduced by #9049 Github-Pull: #14247 Tree-SHA512: 2815312a3da8ef4a93dbc26b71d9147e34d1fed794aa7188ec12670579d2e45380212cf1e23526a7b5e339a185a73637fc2f342e0699b687c920244bc2edc124
2018-07-11Merge #13574: [0.15] backport depends: Update Qt download urlWladimir J. van der Laan
809df9e462760156b1d2c8d5f6c0358f51a87898 depends: Update Qt download url (fanquake) Pull request description: GitHub-Pull: #13544 Rebased-From: 2fca656 Tree-SHA512: 117da7b456461475038eb163b68ccbc05248e4622f1c3bbceada3840840f673ccbc9573d03187d17e45d69030b1e5de5b16c45b0dbb1a6fb4962be21209064a7
2018-06-30depends: Update Qt download urlfanquake
GitHub-Pull: #13544 Rebased-From: 2fca656
2018-05-15Merge #13093: [0.15] backport: depends qt patchesWladimir J. van der Laan
93b9a61 depends: Fix Qt build with XCode 9.3 (fanquake) 9bb1a16 [Depends] Fix Qt build with Xcode 9.2 (fanquake) Pull request description: Backports #11995 and #12946 so that qt (and all depends) can still be built on the 0.15 branch. Tree-SHA512: 671cce790b5f72c8edd04461d0bc3d300557c4df8c4e5d338561a972333edb34e2009f221d581fe3b2e61080cce0891588831c00c16d4ab852730f65856a3054
2018-04-27depends: Fix Qt build with XCode 9.3fanquake
GitHub-Pull: #12946 Rebased-From: 5b4fc3e
2018-04-27[Depends] Fix Qt build with Xcode 9.2fanquake
GitHub-Pull: #11995 Rebased-From: 2b1f794
2018-01-03Merge #12032: [backport] #11847 Make boost::multi_index comparators constWladimir J. van der Laan
ad83936 Make boost::multi_index comparators const (Suhas Daftuar) Pull request description: Backports @sdaftuar's fix (#11847) for compatibility with boost 1.66 to the 0.15.x branch. Fixes #12009 Tree-SHA512: 5d3f0a03c4fbee28e2b88204dc267d948b226512db8e4db0080002f2575d3f3793ada8572d817b7ca5a76b134c6b393691a7020334fb96d4f592661c0936673a
2017-12-27Make boost::multi_index comparators constSuhas Daftuar
GitHub-Pull: #11847 Rebased-From: 1ec0c0a
2017-12-17Merge #11647: 0.15: BackportsWladimir J. van der Laan
7af2457 contrib/init: Update openrc-run filename (Luke Dashjr) 3f1db56 Wrap dumpwallet warning and note scripts aren't dumped (MeshCollider) 42ea47d Add wallet backup text to import*, add* and dumpwallet RPCs (MeshCollider) 3a6cdd4 Add test for multiwallet batch RPC calls (Russell Yanofsky) 1c8c7f8 Add missing batch rpc calls to python coverage logs (Russell Yanofsky) 1036c43 Add missing multiwallet rpc calls to python coverage logs (Russell Yanofsky) 2eea279 Make AuthServiceProxy._batch method usable (Russell Yanofsky) 305f768 Limit AuthServiceProxyWrapper.__getattr__ wrapping (Russell Yanofsky) 7026845 Fix uninitialized URI in batch RPC requests (Russell Yanofsky) 6372a75 [Wallet] always show help-line of wallet encryption calls (Jonas Schnelli) Pull request description: This fixes some multiwallet issues on the 0.15 branch... Tree-SHA512: 304a6c6acbce22c8b7338d1e618451978ab2cd04938c71a3daf40fe9996ef14e324645d642fbc21950a5481fb993254082d54da1cb953a739ebaeaab34c080d4
2017-11-20Merge #11662: [0.15] Sanity-check script sizes in bitcoin-txWladimir J. van der Laan
f455bfd Sanity-check script sizes in bitcoin-tx (Matt Corallo) Pull request description: Backport of #11554 Cleanly merges into 0.14 too if we care. Tree-SHA512: e8aff8bcde5925a73b2b9293f4782cdcf5ebc71a29001a592628b2d77e368db9905823fe7956c8e8b50ae942c77f64d48e6023a58f95b1457e106fca780308a3
2017-11-13contrib/init: Update openrc-run filenameLuke Dashjr
OpenRC changed their program binary names in 2014 (3 years ago), and using the old names has loud warnings now Github-Pull: #11676 Rebased-From: 2f041f0e7d272459b49d784a1649d5b6cd77480e
2017-11-11Doc: Clean out release notes after 0.15.1Wladimir J. van der Laan
Tree-SHA512: 9478e6b5be237961f74e46640bf3a0f91e7a1fc82215572b17aeb1f00b8dc3244358ee15eae5d8dec2ec4cebe37de7e70db8fe95be81ceb8f2a6abb6ddb35856
2017-11-11Sanity-check script sizes in bitcoin-txMatt Corallo
Github-Pull: #11554 Rebased-From: a6f33ea77d3a48f06b5c7cfcc20553c9a88d429a
2017-11-09Wrap dumpwallet warning and note scripts aren't dumpedMeshCollider
Github-Pull: #11289 Rebased-From: c098c581968fa23b2a1987c127c47e04d13fb5c8
2017-11-09Add wallet backup text to import*, add* and dumpwallet RPCsMeshCollider
Github-Pull: #11289 Rebased-From: a38bfbc51d0b98fffd8d79457f31c6fb196ff580
2017-11-06Merge #11610: [0.15] Update release notes for 0.15.1v0.15.1Wladimir J. van der Laan
4fcb915 Update release notes for 0.15.1 (MeshCollider) Pull request description: Adds info for the more notable changes since 0.15.0.1 to the release notes. ~Still needs the list of commits added too.~ (added in https://github.com/bitcoin/bitcoin/commit/2ce9e586d5b11e1f61af4db27b7326687d5e5124) Tree-SHA512: 54d30b1f0105d0d9d86a0dba017471bfa13b6bdd39fc4ee785cb515958c0f72874fb2d1e967076ac61762a16ff7b23b0eebc016f2ab0fb0aa9d6941fd6662042
2017-11-06Update release notes for 0.15.1MeshCollider
2017-11-05doc: Fill in 0.15.1 changelog and authors in release notesWladimir J. van der Laan
Tree-SHA512: 569816ca62319650d803b2dd4bc3a8791aaea1f573cd52a9e2cf220dc1ec08180a66fbb0ac44441f6b9f48cb9041ce08f56ff2e864b58510308b9a4b6898f8e8
2017-11-03Merge #11592: 0.15: Backportsv0.15.1rc1Pieter Wuille
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
2017-11-03Add test for multiwallet batch RPC callsRussell Yanofsky
Tests bug reported in https://github.com/bitcoin/bitcoin/issues/11257 Github-Pull: #11277 Rebased-From: 4526d21e52aa94f12121fcf01047c04f82c4990a
2017-11-03Add missing batch rpc calls to python coverage logsRussell Yanofsky
Without this change, batch RPC calls are not included in coverage logs. Github-Pull: #11277 Rebased-From: 74182f235cd04dcac7a8b3e763bc9add549745e1
2017-11-03Add missing multiwallet rpc calls to python coverage logsRussell Yanofsky
This fixes a bug in coverage logging that's been around since the logging was introduced. Github-Pull: #11277 Rebased-From: 505530c6cffeab8dc1f75f54ae0dfdcdb55d370b
2017-11-03Make AuthServiceProxy._batch method usableRussell Yanofsky
Split off AuthServiceProxy.get_request method to make it easier to batch RPC requests without duplicating code and remove leading underscore from _batch method. This does not change any existing behavior. Github-Pull: #11277 Rebased-From: 9f67646f173dd29464666b34de2ec9cfc480c11a
2017-11-03Limit AuthServiceProxyWrapper.__getattr__ wrappingRussell Yanofsky
Change AuthServiceProxyWrapper.__getattr__ to only wrap proxied attributes, not real attributes. This way AuthServiceProxyWrapper can continue logging RPC calls without complicating other object usages, and special case handling for the .url property can be dropped. Github-Pull: #11277 Rebased-From: e02007aade3d449f030fe5c8b12beddd7df1b232
2017-11-03Fix uninitialized URI in batch RPC requestsRussell Yanofsky
This fixes "Wallet file not specified" errors when making batch wallet RPC calls with more than one wallet loaded. This issue was reported by NicolasDorier <nicolas.dorier@gmail.com> https://github.com/bitcoin/bitcoin/issues/11257 Request URI is not used for anything except multiwallet request dispatching, so this change has no other effects. Fixes #11257 Github-Pull: #11277 Rebased-From: edafc718ad071993d10b3b9a1e1828bbd1f8ce54
2017-11-03[Wallet] always show help-line of wallet encryption callsJonas Schnelli
Github-Pull: #11590 Rebased-From: 720d9e8fa1d1c7516e8278eaaf60789d2f2c8a53
2017-11-02rpc: further constrain the libevent workaroundCory Fields
The bug was introduced in 2.1.6-beta, versions before that don't need the workaround. Github-Pull: #11593 Rebased-From: 97932cd2689659addfbb58dc6148928b73af3bd0
2017-11-02rpc: work-around an upstream libevent bugCory Fields
A rare race condition may trigger while awaiting the body of a message, see upsteam commit 5ff8eb26371c4dc56f384b2de35bea2d87814779 for details. This may fix some reported rpc hangs/crashes. Github-Pull: #11593 Rebased-From: 6b58360f9b64eb0b680a662fdfd590e47f115f44
2017-11-02build: Bump version to 0.15.1Wladimir J. van der Laan
Tree-SHA512: d998b31250208078414a27431d21b847592bdb1e4bd7eb1df6bee7f67671a4124dcaa2971ebef52304528080ab2d2ff6553b7d7138d948a364e64fc4e37dacd3
2017-11-02Add unit test for stale tip checkingSuhas Daftuar
Github-Pull: #11560 Rebased-From: 626291508c433488439b662f2e88882048fb59fb
2017-11-02Add CConnmanTest to mutate g_connman in testsJoão Barbosa
Github-Pull: #11560 Rebased-From: 83df25736ebaa23777e965d265ed677a8d79f23f
2017-11-02Connect to an extra outbound peer if our tip is staleSuhas Daftuar
If our tip hasn't updated in a while, that may be because our peers are not relaying blocks to us that we would consider valid. Allow connection to an additional outbound peer in that circumstance. Also, periodically check to see if we are exceeding our target number of outbound peers, and disconnect the one which has least recently announced a new block to us (choosing the newest such peer in the case of tie). Github-Pull: #11560 Rebased-From: ac7b37cd2bd612a64a4009ba82f1cd1d57f37434
2017-11-02Track tip update time and last new block announcement from each peerSuhas Daftuar
Github-Pull: #11560 Rebased-From: db32a6589720e5b15931cef82e477118dfd92669
2017-11-02net: Allow connecting to extra outbound peersSuhas Daftuar
Github-Pull: #11560 Rebased-From: 2d4327db1973a354e9e4153de6958d49120fcde8
2017-11-02Add release notes describing blockmaxweight deprecationMatt Corallo
Github-Pull: #11100 Rebased-From: 6f703e9bf11c5f2fcb0fca0e4243fce6b4b9d35a
2017-11-02Use a sensible default for blockmaxweightMatt Corallo
No sensible user will ever keep the default settings here, so not having sensible defaults only serves to screw users who are paying less attention, which makes for terrible defaults. Github-Pull: #11100 Rebased-From: 3dc263c9b9068ee9793b6c7a0023eff16d70fb8f
2017-11-02Deprecate confusing blockmaxsize, fix getmininginfo outputMatt Corallo
* This removes block-size-limiting code in favor of GBT clients doing the limiting themselves (if at all). * -blockmaxsize is deprecated and only used to calculate an implied blockmaxweight, addressing confusion from multiple users. * getmininginfo's currentblocksize return value was returning garbage values, and has been removed, also removing a GetSerializeSize call in some block generation inner loops and potentially addressing some performance edge cases. Github-Pull: #11100 Rebased-From: ba206d2c63a8d3cbd4a8dd47e9ef126af1bb3bb9
2017-11-02Fix minchainwork test for 0.15 backportSuhas Daftuar
2017-11-02Make p2p-acceptablock not an extended testMatt Corallo
Github-Pull: #11531 Rebased-From: f3d4adfa6ff5db180ec09d93f78cdc8bfda26f96
2017-11-02[qa] test that invalid blocks on an invalid chain get a disconnectMatt Corallo
Github-Pull: #11531 Rebased-From: 00dcda60f6ee63d35bec640f27efe2338dd71270
2017-11-02Reject headers building on invalid chains by tracking invalidityMatt Corallo
This tracks the set of all known invalid-themselves blocks (ie blocks which we attempted to connect but which were found to be invalid). This is used to cheaply check if new headers build on an invalid chain. While we're at it we also resolve an edge-case in invalidateblock on pruned nodes which results in them needing a reindex if they fail to reorg. Github-Pull: #11531 Rebased-From: 015a5258adffb0cf394f387a95ac9c8afc34cfc3
2017-11-02Accept unrequested blocks with work equal to our tipMatt Corallo
This is a simple change that makes our accept requirements the same as our request requirements, (ever so slightly) further decoupling our consensus logic from our FindNextBlocksToDownload logic in net_processing. Github-Pull: #11531 Rebased-From: 932f118e6a3779bb3d6c3cc83963cf34ac150e42
2017-11-02Stop always storing blocks from whitelisted peersMatt Corallo
There is no reason to wish to store blocks on disk always just because a peer is whitelisted. This appears to be a historical quirk to avoid breaking things when the accept limits were added. Github-Pull: #11531 Rebased-From: 3d9c70ca0fd5d42f31114b689714af1825f0ed30
2017-11-02Rewrite p2p-acceptblock in preparation for slight behavior changesMatt Corallo
Removes checking whitelisted behavior (which will be removed, the difference in behavior here makes little sense) and no longer requires that blocks at the same work as our tip be dropped if not requested (in part because we *do* request those blocks). Github-Pull: #11531 Rebased-From: 3b4ac43bc371561b5fa559bccb17dc0702bd4b69
2017-11-02net: Add missing lock in ProcessHeadersMessage(...)practicalswift
Reading the variable mapBlockIndex requires holding the mutex cs_main. The new "Disconnect outbound peers relaying invalid headers" code added in commit 37886d5e2f9992678dea4b1bd893f4f10d61d3ad and merged as part of #11568 two days ago did not lock cs_main prior to accessing mapBlockIndex. Github-Pull: #11578 Rebased-From: 2530bf27b72e53cc6ffec27de35f3b487984833d
2017-11-02Disconnect outbound peers relaying invalid headersSuhas Daftuar
Github-Pull: #11568 Rebased-From: 37886d5e2f9992678dea4b1bd893f4f10d61d3ad