aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-01Document cs_main status when calling into PNB or PNBHMatt Corallo
2016-12-01Use ProcessNewBlockHeaders in CMPCTBLOCK processingMatt Corallo
2016-12-01Use exposed ProcessNewBlockHeaders from ProcessMessagesMatt Corallo
2016-11-23Split ::HEADERS processing into two separate cs_main locksMatt Corallo
This will allow NotifyHeaderTip to be called from an AcceptBlockHeader wrapper function without holding cs_main.
2016-11-23Expose AcceptBlockHeader through main.hMatt Corallo
2016-11-23Merge #8930: Move orphan processing to ActivateBestChainPieter Wuille
d2b88f9 Move orphan-conflict removal from main logic into a callback (Matt Corallo) 97e2802 Erase orphans per-transaction instead of per-block (Matt Corallo) ec4525c Move orphan processing to ActivateBestChain (Matt Corallo)
2016-11-23Merge #9199: Always drop the least preferred HB peer when adding a new one.Pieter Wuille
ca8549d Always drop the least preferred HB peer when adding a new one. (Gregory Maxwell)
2016-11-23Move orphan-conflict removal from main logic into a callbackMatt Corallo
This makes the orphan map a part of net-processing logic instead of main logic.
2016-11-23Merge #9139: Change sync_blocks to pick smarter maxheight (on top of #9196)MarcoFalke
1126c85 [qa] Change sync_blocks to pick smarter maxheight (Russell Yanofsky)
2016-11-23Merge #9206: Make test constant consistent with consensus.hMarcoFalke
09dc406 Make test constant consistent with consensus.h (BtcDrak)
2016-11-23Merge #9207: [Doc] Move comments above bash command in build-unixWladimir J. van der Laan
69bc8e7 [Doc] Move comments above bash command (Amir Abrams)
2016-11-23[Doc] Move comments above bash commandAmir Abrams
2016-11-23Merge #9204: Clarify CreateTransaction error messagesWladimir J. van der Laan
918b126 fix CreateTransaction error messages (instagibbs)
2016-11-23Merge #9205: Minor change to comment for consistency.Wladimir J. van der Laan
f004e67 Minor change to comment above new NODE_WITNESS service flag to keep it consitent with existing comment structure. Helps with readability. (Greg Walker)
2016-11-23Merge #9196: Send tip change notification from invalidateblockWladimir J. van der Laan
67c6326 Send tip change notification from invalidateblock (Russell Yanofsky)
2016-11-23Merge #8690: Do not fully sort all nodes for addr relayWladimir J. van der Laan
a33b169 Do not fully sort all nodes for addr relay (Pieter Wuille)
2016-11-23Merge #9141: Remove unnecessary calls to CheckFinalTxWladimir J. van der Laan
4512550 Remove unnecessary calls to CheckFinalTx (Jonas Schnelli)
2016-11-23Merge #9142: Move -salvagewallet, -zap(wtx) to where they belongWladimir J. van der Laan
2e44893 Move -salvagewallet, -zap(wtx) to where they belong (Jonas Schnelli)
2016-11-23Merge #9025: getrawtransaction should take a bool for verboseWladimir J. van der Laan
240189b add testcases for getrawtransaction (John Newbery) ce2bb23 getrawtransaction should take a bool for verbose (jnewbery)
2016-11-22Minor change to comment above new NODE_WITNESS service flag to keep it ↵Greg Walker
consitent with existing comment structure. Helps with readability.
2016-11-22fix CreateTransaction error messagesinstagibbs
2016-11-22add testcases for getrawtransactionJohn Newbery
2016-11-22getrawtransaction should take a bool for verbosejnewbery
2016-11-22Merge #9130: Mention the new network toggle functionality in the tooltip.Jonas Schnelli
1260c11 Mention the new network toggle functionality in the tooltip. (Pavel Janík)
2016-11-22Merge #9200: bench: Fix subtle counting issue when rescaling iteration countWladimir J. van der Laan
e0a9cb2 bench: Fix subtle counting issue when rescaling iteration count (Wladimir J. van der Laan)
2016-11-22bench: Fix subtle counting issue when rescaling iteration countWladimir J. van der Laan
Make sure that the count is a zero modulo the new mask before scaling, otherwise the next time until a measure triggers will take only 1/2 as long as accounted for. This caused the 'min time' to be potentially off by as much as 100%.
2016-11-22Merge #9185: [Qt] fix coincontrol sort issueJonas Schnelli
4231032 [Qt] Clean up and fix coincontrol tree widget handling (Wladimir J. van der Laan) 76af4eb [Qt] fix coincontrol sort issue (Jonas Schnelli)
2016-11-22Always drop the least preferred HB peer when adding a new one.Gregory Maxwell
When a BIP152 HB-mode peer is in the least preferred position and disconnects, they will not be by ForNode on the next loop. They will continue to sit in that position and prevent deactivating HB mode for peers that are still connected. There is no reason for them to stay in the list if already gone, so drop the first element unconditionally if there are too many. Fixes issue #9163.
2016-11-21Make test constant consistent with consensus.hBtcDrak
2016-11-21Merge #8872: Remove block-request logic from INV message processingWladimir J. van der Laan
037159c Remove block-request logic from INV message processing (Matt Corallo) 3451203 [qa] Respond to getheaders and do not assume a getdata on inv (Matt Corallo) d768f15 [qa] Make comptool push blocks instead of relying on inv-fetch (mrbandrews)
2016-11-21Merge #8837: allow bitcoin-tx to parse partial transactionsWladimir J. van der Laan
7451cf5 Allow bitcoin-tx to parse partial transactions (jnewbery)
2016-11-21Merge #9179: Set DEFAULT_LIMITFREERELAY = 0 kB/minuteWladimir J. van der Laan
fa7cc5a Set DEFAULT_LIMITFREERELAY = 0 kB/minute (MarcoFalke)
2016-11-21Merge #9117: net: don't send feefilter messages before the version handshake ↵Wladimir J. van der Laan
is complete 4662553 net: don't send feefilter messages before the version handshake is complete (Cory Fields)
2016-11-21Merge #9125: Make CBlock a vector of shared_ptr of CTransactionsWladimir J. van der Laan
b4e4ba4 Introduce convenience type CTransactionRef (Pieter Wuille) 1662b43 Make CBlock::vtx a vector of shared_ptr<CTransaction> (Pieter Wuille) da60506 Add deserializing constructors to CTransaction and CMutableTransaction (Pieter Wuille) 0e85204 Add serialization for unique_ptr and shared_ptr (Pieter Wuille)
2016-11-20[Qt] Clean up and fix coincontrol tree widget handlingWladimir J. van der Laan
- Do sorting for date, amount and confirmations column as longlong, not unsigned longlong. - Use `UserRole` to store our own data. This makes it treated as ancillary data prevents it from being displayed. - Get rid of `getMappedColumn` `strPad` - these are no longer necessary. - Get rid of hidden `_INT64` columns. - Start enumeration from 0 (otherwise values are undefined).
2016-11-19Introduce convenience type CTransactionRefPieter Wuille
2016-11-19Make CBlock::vtx a vector of shared_ptr<CTransaction>Pieter Wuille
2016-11-19Add deserializing constructors to CTransaction and CMutableTransactionPieter Wuille
2016-11-19Add serialization for unique_ptr and shared_ptrPieter Wuille
2016-11-19Merge #9159: [qa] Wait for specific block announcement in p2p-compactblocksMarcoFalke
dfa44d1 [qa] Wait for specific block announcement in p2p-compactblocks (Russell Yanofsky)
2016-11-19Merge #9186: test: Fix use-after-free in scheduler testsWladimir J. van der Laan
12519bf test: Fix use-after-free in scheduler tests (Wladimir J. van der Laan)
2016-11-18test: Fix use-after-free in scheduler testsWladimir J. van der Laan
Make a copy of the boost time-point to wait for, otherwise the head of the queue may be deleted by another thread while this one is waiting, while the boost function still has a reference to it. Although this problem is in non-test code, this is not an actual problem outside of the tests because we use the thread scheduler with only one service thread, so there will never be threads fighting at the head of the queue. The old boost fallback escapes this problem because it passes a scalar value to wait_until instead of a const object reference. Found by running the tests in LLVM-4.0-master asan.
2016-11-18[Qt] fix coincontrol sort issueJonas Schnelli
2016-11-17Erase orphans per-transaction instead of per-blockMatt Corallo
2016-11-17Move orphan processing to ActivateBestChainMatt Corallo
This further decouples "main" and "net" processing logic by moving orphan processing out of the chain-connecting cs_main lock and into its own cs_main lock, beside all of the other chain callbacks. Once further decoupling of net and main processing logic occurs, orphan handing should move to its own lock, out of cs_main. Note that this will introduce a race if there are any cases where we assume the orphan map to be consistent with the current chain tip, however I am confident there is no such case (ATMP will fail without DoS score in all such cases).
2016-11-18Set DEFAULT_LIMITFREERELAY = 0 kB/minuteMarcoFalke
2016-11-17Merge #9075: Decouple peer-processing-logic from block-connection-logic (#3)Pieter Wuille
ae22357 Replace CValidationState param in ProcessNewBlock with BlockChecked (Matt Corallo) 7c98ce5 Remove pfrom parameter from ProcessNewBlock (Matt Corallo) e2e069d Revert "RPC: Give more details when "generate" fails" (Matt Corallo)
2016-11-17Merge #9156: Add compile and link options echo to configureWladimir J. van der Laan
d8274bc Add compile and link options echo to configure (Jonas Schnelli)
2016-11-17Merge #9178: Doxygen: Set PROJECT_NAME = "Bitcoin Core"Wladimir J. van der Laan
fa63ee8 Doxygen: Set PROJECT_NAME = "Bitcoin Core" (MarcoFalke)
2016-11-17Doxygen: Set PROJECT_NAME = "Bitcoin Core"MarcoFalke