aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Do not use compact blocks when segwit is enabledPieter Wuille2016-06-221-2/+6
|
* Add rewind logic to deal with post-fork software updatesPieter Wuille2016-06-224-19/+126
| | | | Includes logic for dealing with pruning by Suhas Daftuar.
* [libconsensus] Script verification API with amountsThomas Kerin2016-06-223-7/+38
| | | | | | | | | | script_tests: always test bitcoinconsensus_verify_script_with_amount if VERIFY_WITNESS isn't set Rename internal method + make it static trim bitcoinconsensus_ prefix Add SERIALIZE_TRANSACTION_WITNESS flag
* BIP141: Other consensus critical limits, and BIP145Pieter Wuille2016-06-2230-129/+337
| | | | Includes changes by Suhas Daftuar, Luke-jr, and mruddy.
* [RPC] Return witness data in blockchain RPCsJohnson Lau2016-06-222-2/+22
| | | | Includes RPC field name changes by Luke-jr.
* BIP143: Verification logicPieter Wuille2016-06-2211-63/+131
| | | | Includes simplifications by Eric Lombrozo.
* Refactor script validation to observe amountsPieter Wuille2016-06-2213-36/+48
| | | | This is a preparation for BIP143 support.
* BIP144: Handshake and relay (receiver side)Pieter Wuille2016-06-226-9/+60
| | | | | | Service bit logic by Nicolas Dorier. Only download blocks from witness peers after fork.
* BIP141: Commitment structure and deploymentPieter Wuille2016-06-2213-13/+225
| | | | Includes a fix by Suhas Daftuar and LongShao007
* BIP141: Witness programPieter Wuille2016-06-2216-37/+201
|
* BIP144: Serialization, hashes, relay (sender side)Pieter Wuille2016-06-2221-90/+339
| | | | | | Contains refactorings by Eric Lombrozo. Contains fixup by Nicolas Dorier. Contains cleanup of CInv::GetCommand by Alex Morcos
* Merge #8068: Compact BlocksWladimir J. van der Laan2016-06-2217-53/+1160
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 48efec8 Fix some minor compact block issues that came up in review (Matt Corallo) ccd06b9 Elaborate bucket size math (Pieter Wuille) 0d4cb48 Use vTxHashes to optimize InitData significantly (Matt Corallo) 8119026 Provide a flat list of txid/terators to txn in CTxMemPool (Matt Corallo) 678ee97 Add BIP 152 to implemented BIPs list (Matt Corallo) 56ba516 Add reconstruction debug logging (Matt Corallo) 2f34a2e Get our "best three" peers to announce blocks using cmpctblocks (Matt Corallo) 927f8ee Add ability to fetch CNode by NodeId (Matt Corallo) d25cd3e Add receiver-side protocol implementation for CMPCTBLOCK stuff (Matt Corallo) 9c837d5 Add sender-side protocol implementation for CMPCTBLOCK stuff (Matt Corallo) 00c4078 Add protocol messages for short-ids blocks (Matt Corallo) e3b2222 Add some blockencodings tests (Matt Corallo) f4f8f14 Add TestMemPoolEntryHelper::FromTx version for CTransaction (Matt Corallo) 85ad31e Add partial-block block encodings API (Matt Corallo) 5249dac Add COMPACTSIZE wrapper similar to VARINT for serialization (Matt Corallo) cbda71c Move context-required checks from CheckBlockHeader to Contextual... (Matt Corallo) 7c29ec9 If AcceptBlockHeader returns true, pindex will be set. (Matt Corallo) 96806c3 Stop trimming when mapTx is empty (Pieter Wuille)
| * Fix some minor compact block issues that came up in reviewMatt Corallo2016-06-211-3/+3
| |
| * Elaborate bucket size mathPieter Wuille2016-06-191-4/+10
| |
| * Use vTxHashes to optimize InitData significantlyMatt Corallo2016-06-191-3/+5
| |
| * Provide a flat list of txid/terators to txn in CTxMemPoolMatt Corallo2016-06-192-1/+18
| |
| * Add reconstruction debug loggingMatt Corallo2016-06-192-1/+16
| |
| * Get our "best three" peers to announce blocks using cmpctblocksMatt Corallo2016-06-191-0/+29
| |
| * Add ability to fetch CNode by NodeIdMatt Corallo2016-06-192-2/+13
| |
| * Add receiver-side protocol implementation for CMPCTBLOCK stuffMatt Corallo2016-06-191-8/+207
| |
| * Add sender-side protocol implementation for CMPCTBLOCK stuffMatt Corallo2016-06-191-15/+95
| |
| * Add protocol messages for short-ids blocksMatt Corallo2016-06-193-5/+44
| |
| * Add some blockencodings testsMatt Corallo2016-06-192-0/+316
| |
| * Add TestMemPoolEntryHelper::FromTx version for CTransactionMatt Corallo2016-06-192-1/+6
| |
| * Add partial-block block encodings APIMatt Corallo2016-06-193-0/+365
| |
| * Add COMPACTSIZE wrapper similar to VARINT for serializationMatt Corallo2016-06-191-0/+23
| |
| * Move context-required checks from CheckBlockHeader to Contextual...Matt Corallo2016-06-192-17/+17
| |
| * If AcceptBlockHeader returns true, pindex will be set.Matt Corallo2016-06-191-3/+3
| | | | | | | | | | | | Assert this instead of checking (and then dref'ing later anyway) to make sure no one thinks they can change that postcondition of AcceptBlockHeader..
| * Stop trimming when mapTx is emptyPieter Wuille2016-06-191-1/+1
| |
* | Merge #8234: qt: Periodic transifex updateWladimir J. van der Laan2016-06-2269-2435/+11482
|\ \ | | | | | | | | | 4cbe05b qt: Periodic transifex update (Wladimir J. van der Laan)
| * | qt: Periodic transifex updateWladimir J. van der Laan2016-06-2169-2435/+11482
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in the following new languages: - `af` Afrikaans - `es_419` Spanish (Latin America) - `es_AR` Spanish (Argentina) - `es_CO` Spanish (Colombia) - `fil` Filipino - `it_IT` Italian (Italy) - `ro` Romanian - `sr@latin` Serbian (Latin) - `ta` Tamil - `uz@Latn` Uzbek (Latin) - `zh_HK` Chinese (Hong Kong)
* | | Merge #8231: [Qt] fix a bug where the SplashScreen will not be hidden during ↵Wladimir J. van der Laan2016-06-221-0/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | startup b3e1348 [Qt] fix a bug where the SplashScreen will not be hidden during startup (Jonas Schnelli)
| * | | [Qt] fix a bug where the SplashScreen will not be hidden during startupJonas Schnelli2016-06-211-0/+5
| | | |
* | | | Merge #8222: Enable mempool consistency checks in unit testsWladimir J. van der Laan2016-06-221-0/+1
|\ \ \ \ | |_|/ / |/| | | | | | | 3775ff9 Enable mempool consistency checks in unit tests (Pieter Wuille)
| * | | Enable mempool consistency checks in unit testsPieter Wuille2016-06-181-0/+1
| | |/ | |/|
* | | Fix LogPrint to LogPrintfTheLazieR Yip2016-06-211-1/+1
| | | | | | | | | | | | | | | | | | | | | Printing Log without category defined should use LogPrintf Github-Pull: #8230 Meta: PR should have been based on master in the first place
* | | Merge #8220: Stop trimming when mapTx is emptyWladimir J. van der Laan2016-06-201-1/+1
|\ \ \ | | | | | | | | | | | | ad0752e Stop trimming when mapTx is empty (Pieter Wuille)
| * | | Stop trimming when mapTx is emptyPieter Wuille2016-06-181-1/+1
| |/ /
* | | Merge #8179: Evict orphans which are included or precluded by accepted blocks.Wladimir J. van der Laan2016-06-203-32/+108
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 54326a6 Increase maximum orphan size to 100,000 bytes. (Gregory Maxwell) 8c99d1b Treat orphans as implicit inv for parents, discard when parents rejected. (Gregory Maxwell) 11cc143 Adds an expiration time for orphan tx. (Gregory Maxwell) db0ffe8 This eliminates the primary leak that causes the orphan map to always grow to its maximum size. (Gregory Maxwell) 1b0bcc5 Track orphan by prev COutPoint rather than prev hash (Pieter Wuille)
| * | | Increase maximum orphan size to 100,000 bytes.Gregory Maxwell2016-06-152-4/+4
| | | | | | | | | | | | | | | | | | | | Although this increases node memory usage in the worst case by perhaps 30MB, the current behavior causes severe issues with dependent tx relay.
| * | | Treat orphans as implicit inv for parents, discard when parents rejected.Gregory Maxwell2016-06-151-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An orphan whos parents were rejected is never going to connect, so there is little utility in keeping it. Orphans also helpfully tell us what we're missing, so go ahead and treat it as INVed.
| * | | Adds an expiration time for orphan tx.Gregory Maxwell2016-06-152-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents higher order orphans and other junk from holding positions in the orphan map. Parents delayed twenty minutes are more are unlikely to ever arrive. The freed space will improve the orphan matching success rate for other transactions.
| * | | This eliminates the primary leak that causes the orphan map toGregory Maxwell2016-06-101-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | always grow to its maximum size. This does not go so far as to attempt to connect orphans made connectable by a new block. Keeping the orphan map less full helps improve the reliability of relaying chains of transactions.
| * | | Track orphan by prev COutPoint rather than prev hashPieter Wuille2016-06-101-22/+36
| | | |
* | | | Merge #7687: Stop treating importaddress'ed scripts as changeWladimir J. van der Laan2016-06-201-0/+7
|\ \ \ \ | | | | | | | | | | | | | | | 595b22e Stop treating importaddress'ed scripts as change (Pieter Wuille)
| * | | | Stop treating importaddress'ed scripts as changePieter Wuille2016-06-021-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this, if someone imported a scriptPubKey directly (in hex form) using importaddress, outputs sending to it would be treated as change, as the corresponding CTxDestination was not added to the address book. Fix this by trying to detect scriptPubKeys that are in fact convertible to a CTxDestination and add them anyway. Add a warning to the RPC help to warn against importing raw non-standard scripts.
* | | | | Merge #8210: [Qt] Bump to Qt5.6.1Wladimir J. van der Laan2016-06-201-0/+3
|\ \ \ \ \ | |_|_|/ / |/| | | / | | |_|/ | |/| | | | | | | | | | | | | | 2759597 Only pass -lQt5PlatformSupport if >=Qt5.6 (Jonas Schnelli) 59d063d Use runtime linking of QT libdbus, use custom/temp. SDK URL (Jonas Schnelli) 6194d9a Fix bitcoin_qt.m4 and fix-xcb-include-order.patch (Jonas Schnelli) f6eb4e2 [depends] OpenSSL 1.0.1k - update config_opts (fanquake) f25209a depends: bump OSX toolchain (Cory Fields)
| * | | Only pass -lQt5PlatformSupport if >=Qt5.6Jonas Schnelli2016-06-201-0/+3
| | | |
* | | | [wallet] tests: Don't use floating pointMarcoFalke2016-06-171-21/+25
|/ / /
* | | Merge #7600: Mining: Select transactions using feerate-with-ancestorsPieter Wuille2016-06-163-1/+432
|\ \ \ | | | | | | | | | | | | | | | | 29fac19 Add unit tests for ancestor feerate mining (Suhas Daftuar) c82a4e9 Use ancestor-feerate based transaction selection for mining (Suhas Daftuar)