aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [wallet] Remove importmulti always-true checkRussell Yanofsky2017-02-201-1/+1
| | | | | | | | | | Remove "nLowestTimestamp <= chainActive.Tip()->GetBlockTimeMax()" check from importmulti, which is always true because nLowestTimestamp is set to the minimum of the most recent block time and all the imported key timestamps, which is necessarily lower than the maximum block time. Github-Pull: #9760 Rebased-From: ec1267f13b7d0b9b5058c6821cf8dbf74e02d17c
* boost: remove iostreams includesCory Fields2017-02-171-2/+0
| | | | | | | They're unused and produce nasty deprecation warnings Github-Pull: #9786 Rebased-From: 3301587dc5c7937141282f3799592d1e398495fb
* Move BIP70_MAX_PAYMENTREQUEST_SIZE to headerPieter Wuille2017-02-172-3/+1
| | | | | Github-Pull: #9785 Rebased-From: c801c82e253dc4956069b6110f65b43f538dd5a1
* Make KEY_SIZE a compile-time constantPieter Wuille2017-02-171-1/+1
| | | | | Github-Pull: #9785 Rebased-From: 914fad155d9fc76b42b3a0414dd14b5ebc36062f
* Merge #9784: Restore removed release notes.Wladimir J. van der Laan2017-02-171-0/+40
|\ | | | | | | 1577f07 Restore removed release notes. (Gregory Maxwell)
| * Restore removed release notes.Gregory Maxwell2017-02-171-0/+40
| |
* | doc: Add changelog for 0.14.0 to release notesWladimir J. van der Laan2017-02-171-10/+376
|/
* doc: Add list of authors to release notesWladimir J. van der Laan2017-02-171-0/+100
| | | | | Generated from git, so there may be duplicate authors if someone used multiple mail addresses.
* Merge #9783: release: bump gitian descriptors for a new 0.14 package cacheWladimir J. van der Laan2017-02-173-3/+3
|\ | | | | | | 42f5f21 release: bump gitian descriptors for a new 0.14 package cache (Cory Fields)
| * release: bump gitian descriptors for a new 0.14 package cacheCory Fields2017-02-173-3/+3
| |
* | doc: Update manpages for 0.14.0Wladimir J. van der Laan2017-02-174-100/+179
| |
* | doc: Update release notes from wikiWladimir J. van der Laan2017-02-171-57/+221
| |
* | qt: pre-rc1 translations updateWladimir J. van der Laan2017-02-177-29/+1103
|/
* build: bump version to 0.14.0Wladimir J. van der Laan2017-02-175-9/+9
|
* Merge #9761: Use 2 hour grace period for key timestamps in importmulti rescansWladimir J. van der Laan2017-02-172-115/+145
|\ | | | | | | | | | | | | e662af3 Use 2 hour grace period for key timestamps in importmulti rescans (Russell Yanofsky) 38d3e9e [qa] Extend import-rescan.py to test imports on pruned nodes. (Russell Yanofsky) c28583d [qa] Extend import-rescan.py to test specific key timestamps (Russell Yanofsky) 8be0866 [qa] Simplify import-rescan.py (Russell Yanofsky)
| * Use 2 hour grace period for key timestamps in importmulti rescansRussell Yanofsky2017-02-162-4/+8
| | | | | | | | | | | | | | | | Gregory Maxwell <[email protected]> pointed out the lack of grace period in https://github.com/bitcoin/bitcoin/pull/9490#issue-199407998. The importwallet RPC which uses key timestamps in a similar way already has a 2 hour grace period.
| * [qa] Extend import-rescan.py to test imports on pruned nodes.Russell Yanofsky2017-02-161-21/+43
| |
| * [qa] Extend import-rescan.py to test specific key timestampsRussell Yanofsky2017-02-161-11/+15
| |
| * [qa] Simplify import-rescan.pyRussell Yanofsky2017-02-161-112/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Get rid of partial functions so the test can be more easily extended to add more variants of imports with options that affect rescanning (e.g. different key timestamps). Also change the second half of the test to send /to/ the imported addresses, instead of /from/ the imported addresses. The goal of this part of the test was to confirm that the wallet would pick up new transactions after an import regardless of whether or not a rescan happened during the import. But because the wallet can only do this reliably for incoming transactions and not outgoing transactions (which require the wallet to look up transaction inputs) the test previously was less meaningful than it should have been.
* | Merge #9778: Add two hour buffer to manual pruningWladimir J. van der Laan2017-02-171-2/+4
|\ \ | | | | | | | | | 91fb506 Add two hour buffer to manual pruning (Alex Morcos)
| * | Add two hour buffer to manual pruningAlex Morcos2017-02-161-2/+4
| |/
* | Merge #9779: Update nMinimumChainWork and defaultAssumeValid.Wladimir J. van der Laan2017-02-171-4/+4
|\ \ | | | | | | | | | 3f78e46 Update nMinimumChainWork and defaultAssumeValid. (Gregory Maxwell)
| * | Update nMinimumChainWork and defaultAssumeValid.Gregory Maxwell2017-02-161-4/+4
| |/
* | Merge #9777: Handle unusual maxsigcachesize gracefullyWladimir J. van der Laan2017-02-172-2/+5
|\ \ | |/ |/| | | 55c403b Ensure `-maxsigcachesize` is in valid range (John Newbery)
| * Ensure `-maxsigcachesize` is in valid rangeJohn Newbery2017-02-172-2/+5
| | | | | | | | | | | | | | - If the -maxsigcachesize parameter is set to zero, setup a minimum sized sigcache (2 elements) rather than segfaulting. - Handle maxsigcachesize being negative - Handle maxsigcachesize being too large
* | Merge #9675: Fix typo and spelling inconsistency in CONTRIBUTING.mdWladimir J. van der Laan2017-02-166-8/+8
|\ \ | | | | | | | | | 36164fa Fix typo and spelling inconsistency in CONTRIBUTING.md (Koki Takahashi)
| * | Fix typo and spelling inconsistency in CONTRIBUTING.mdKoki Takahashi2017-02-096-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | Fix spellings of GitHub Remove unnecessary changes Fix GitHub spelling on doc/translation_process.md
* | | Merge #9763: [Trivial] Update comments referencing main.cppWladimir J. van der Laan2017-02-163-4/+4
|\ \ \ | | | | | | | | | | | | 00e623d [Trivial] Update comments referencing main.cpp (CryptAxe)
| * | | [Trivial] Update comments referencing main.cppCryptAxe2017-02-163-4/+4
| | | |
* | | | Merge #9771: Add missing cs_wallet lock that triggers new lock held assertionWladimir J. van der Laan2017-02-161-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | 07afcd6 Add missing cs_wallet lock that triggers new lock held assertion (Russell Yanofsky)
| * | | | Add missing cs_wallet lock that triggers new lock held assertionRussell Yanofsky2017-02-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A new AssertLockHeld(cs_wallet) call was added in commit a58370e "Dedup nTimeFirstKey update logic" (part of PR #9108). The lock held assertion will fail when loading prexisting wallets files from before the #9108 merge that have watch-only keys.
* | | | | Merge #9764: wallet: Prevent "overrides a member function but is not marked ↵Wladimir J. van der Laan2017-02-161-11/+11
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'override'" warnings 6c5427d wallet: Prevent "overrides a member function but is not marked 'override'" warnings (Wladimir J. van der Laan)
| * | | | | wallet: Prevent "overrides a member function but is not marked 'override'" ↵Wladimir J. van der Laan2017-02-151-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | warnings Because it is used inconsistently at least version 5.4.0 of g++ to complains about methods that don't use override. There is two ways to go about this: remove override from the methods having it, or add it to the methods missing it. I chose the second.
* | | | | | Merge #9765: Harden against mistakes handling invalid blocksWladimir J. van der Laan2017-02-162-7/+13
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | ba803ef Harden against mistakes handling invalid blocks (Suhas Daftuar)
| * | | | | Harden against mistakes handling invalid blocksSuhas Daftuar2017-02-152-7/+13
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a bug in AcceptBlock() in invoking CheckBlock() with incorrect arguments, and restores a call to CheckBlock() from ProcessNewBlock() as belt-and-suspenders. Updates the (overspecified) tests to match behavior.
* | | | | Merge #9756: Return error when importmulti called with invalid address.Wladimir J. van der Laan2017-02-152-0/+13
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | 9acf25c Return error when importmulti called with invalid address. (Russell Yanofsky)
| * | | | Return error when importmulti called with invalid address.Russell Yanofsky2017-02-132-0/+13
| | | | | | | | | | | | | | | | | | | | Lack of error checking noticed by Alex Morcos <[email protected]>
* | | | | Merge #9758: Selectively suppress deprecation warningsWladimir J. van der Laan2017-02-152-0/+6
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | 4b6cccc Selectively suppress deprecation warnings (Jonas Schnelli)
| * | | | Selectively suppress deprecation warningsJonas Schnelli2017-02-142-0/+6
| |/ / /
* | | | Merge #9108: Use importmulti timestamp when importing watch only keys (on ↵Wladimir J. van der Laan2017-02-157-57/+130
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | top of #9682) a80f98b Use importmulti timestamp when importing watch only keys (Russell Yanofsky) a58370e Dedup nTimeFirstKey update logic (Russell Yanofsky)
| * | | | Use importmulti timestamp when importing watch only keysRussell Yanofsky2017-02-107-35/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When importing a watch-only address over importmulti with a specific timestamp, the wallet's nTimeFirstKey is currently set to 1. After this change, the provided timestamp will be used and stored as metadata associated with watch-only key. This can improve wallet performance because it can avoid the need to scan the entire blockchain for watch only addresses when timestamps are provided. Also adds timestamp to validateaddress return value (needed for tests). Fixes #9034.
| * | | | Dedup nTimeFirstKey update logicRussell Yanofsky2017-02-104-23/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also make nTimeFirstKey member variable private. This is just a cleanup change, it doesn't change behavior in any significant way.
* | | | | Merge #9553: Use z = std::max(x - y, 0) instead of z = x - y; if (z < 0) z = 0;Wladimir J. van der Laan2017-02-152-8/+2
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | a47da4b Use z = std::max(x - y, 0); instead of z = x - y; if (z < 0) z = 0; (practicalswift)
| * | | | Use z = std::max(x - y, 0); instead of z = x - y; if (z < 0) z = 0;practicalswift2017-02-072-8/+2
| | | | |
* | | | | Merge #9755: Bugfix: Qt/Options: Restore persistent "restart required" noticeJonas Schnelli2017-02-141-1/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 0b4f273 Bugfix: Qt/Options: Restore persistent "restart required" notice (Luke Dashjr)
| * | | | | Bugfix: Qt/Options: Restore persistent "restart required" noticeLuke Dashjr2017-02-131-1/+4
| | | | | |
* | | | | | Merge #9720: net: fix banning and disallow sending messages before receiving ↵Wladimir J. van der Laan2017-02-143-49/+214
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | verack d943491 qa: add a test to detect leaky p2p messages (Cory Fields) 8650bbb qa: Expose on-connection to mininode listeners (Matt Corallo) 5b5e4f8 qa: mininode learns when a socket connects, not its first action (Matt Corallo) cbfc5a6 net: require a verack before responding to anything else (Cory Fields) 8502e7a net: parse reject earlier (Cory Fields) c45b9fb net: correctly ban before the handshake is complete (Cory Fields)
| * | | | | | qa: add a test to detect leaky p2p messagesCory Fields2017-02-132-0/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is certainly not exhaustive, but it's better than nothing. Adds checks for: - Any message received before sending a version - Any message received other than version/reject before sending a verack It also tries to goad the remote into sending a pong, address, or block announcement.
| * | | | | | qa: Expose on-connection to mininode listenersMatt Corallo2017-02-131-0/+2
| | | | | | |
| * | | | | | qa: mininode learns when a socket connects, not its first actionMatt Corallo2017-02-131-12/+24
| | | | | | |