aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-04Move CTxInWitness inside CTxInPieter Wuille
2016-12-05Merge #9014: Fix block-connection performance regressionWladimir J. van der Laan
dd0df81 Document ConnectBlock connectTrace postconditions (Matt Corallo) 2d6e561 Switch pblock in ProcessNewBlock to a shared_ptr (Matt Corallo) 2736c44 Make the optional pblock in ActivateBestChain a shared_ptr (Matt Corallo) ae4db44 Create a shared_ptr for the block we're connecting in ActivateBCS (Matt Corallo) fd9d890 Keep blocks as shared_ptrs, instead of copying txn in ConnectTip (Matt Corallo) 6fdd43b Add struct to track block-connect-time-generated info for callbacks (Matt Corallo)
2016-12-05Merge #8580: Make CTransaction actually immutableWladimir J. van der Laan
81e3228 Make CTransaction actually immutable (Pieter Wuille) 42fd8de Make DecodeHexTx return a CMutableTransaction (Pieter Wuille) c3f5673 Make CWalletTx store a CTransactionRef instead of inheriting (Pieter Wuille) a188353 Switch GetTransaction to returning a CTransactionRef (Pieter Wuille)
2016-12-04Merge #9218: qt: Show progress overlay when clicking spinner iconJonas Schnelli
042f9fa qt: Show progress overlay when clicking spinner icon (Wladimir J. van der Laan) 827d9a3 qt: Replace NetworkToggleStatusBarControl with generic ClickableLabel (Wladimir J. van der Laan)
2016-12-04Document ConnectBlock connectTrace postconditionsMatt Corallo
2016-12-04Switch pblock in ProcessNewBlock to a shared_ptrMatt Corallo
This (finally) fixes a performance regression in b3b3c2a5623d5c942d2b3565cc2d833c65105555
2016-12-04Make the optional pblock in ActivateBestChain a shared_ptrMatt Corallo
2016-12-04Create a shared_ptr for the block we're connecting in ActivateBCSMatt Corallo
2016-12-04Keep blocks as shared_ptrs, instead of copying txn in ConnectTipMatt Corallo
2016-12-04Add struct to track block-connect-time-generated info for callbacksMatt Corallo
2016-12-02Make CTransaction actually immutablePieter Wuille
2016-12-02Make DecodeHexTx return a CMutableTransactionPieter Wuille
2016-12-02Make CWalletTx store a CTransactionRef instead of inheritingPieter Wuille
2016-12-02Switch GetTransaction to returning a CTransactionRefPieter Wuille
2016-12-02Merge #9260: Mrs Peacock in The Library with The Candlestick (killed ↵Pieter Wuille
main.{h,cpp}) 76faa3c Rename the remaining main.{h,cpp} to validation.{h,cpp} (Matt Corallo) e736772 Move network-msg-processing code out of main to its own file (Matt Corallo) 87c35f5 Remove orphan state wipe from UnloadBlockIndex. (Matt Corallo)
2016-12-02Merge #9251: Improvement of documentation of command line parameter 'whitelist'MarcoFalke
8a70a9d Improvement of documentation of command line parameter 'whitelist' (wodry)
2016-12-02Merge #9221: [qa] Get rid of duplicate codeMarcoFalke
facbfa5 [qa] Get rid of duplicate code (MarcoFalke)
2016-12-02Rename the remaining main.{h,cpp} to validation.{h,cpp}Matt Corallo
2016-12-02Move network-msg-processing code out of main to its own fileMatt Corallo
2016-12-02Merge #9257: [qa] Dump debug logs on travis failures.MarcoFalke
0828619 [qa] Dump debug logs on travis failures. (Suhas Daftuar)
2016-12-02[qa] Get rid of duplicate codeMarcoFalke
2016-12-02Merge #9246: Developer docs about existing subtrees.MarcoFalke
08ed8c1 Developer docs about existing subtrees. (Gregory Maxwell)
2016-12-02Merge #9223: unification of Bloom filter representationMarcoFalke
b7aa290 unification of Bloom filter representation (S. Matthew English)
2016-12-02Merge #9265: bitcoin-cli: Make error message less confusingMarcoFalke
fe37fbe bitcoin-cli: Make error message less confusing (Wladimir J. van der Laan)
2016-12-02Developer docs about existing subtrees.Gregory Maxwell
Add some notes about the workflow for changes to code that exists in subtrees.
2016-12-02bitcoin-cli: Make error message less confusingWladimir J. van der Laan
Sorry for the churn on this, but the current message (introduced in #9073) isn't acceptable: $ src/bitcoin-cli getinfo rpc: couldn't connect to server (make sure server is running and you are connecting to the correct RPC port: -1 unknown) Putting the error code after the words "RPC port" made me wonder whether there was a port configuration issue. This changes it to: $ src/bitcoin-cli getinfo error: couldn't connect to server: unknown (code -1) (make sure server is running and you are connecting to the correct RPC port)
2016-12-02Merge #9239: Disable fee estimates for 1 block targetWladimir J. van der Laan
e878689 Make GUI incapable of setting tx confirm target of 1 (Alex Morcos) d824ad0 Disable fee estimates for a confirm target of 1 block (Alex Morcos)
2016-12-02Merge #9229: Remove calls to getaddrinfo_aWladimir J. van der Laan
10ae7a7 Revert "Use async name resolving to improve net thread responsiveness" (Matt Corallo)
2016-12-01Remove orphan state wipe from UnloadBlockIndex.Matt Corallo
As orphan state is now "network state", like in d6ea737be19a0001e69e4e854eb1cef21523ea7a, UnloadBlockIndex is only used during init if we end up reindexing to clear our block state so that we can start over. However, at that time no connections have been brought up as CConnman hasn't been started yet, so all of the network processing state logic is empty when its called.
2016-12-01Merge #9183: Final Preparation for main.cpp SplitPieter Wuille
2c8c57e Document cs_main status when calling into PNB or PNBH (Matt Corallo) 58a215c Use ProcessNewBlockHeaders in CMPCTBLOCK processing (Matt Corallo) a8b936d Use exposed ProcessNewBlockHeaders from ProcessMessages (Matt Corallo) 63fd101 Split ::HEADERS processing into two separate cs_main locks (Matt Corallo) 4a6b1f3 Expose AcceptBlockHeader through main.h (Matt Corallo)
2016-12-01Revert "Use async name resolving to improve net thread responsiveness"Matt Corallo
This reverts commit caf6150e9785da408f1e603ae70eae25b5202d98. getaddrinfo_a has a nasty tendency to segfault internally in its background thread, on every version of glibc I tested, especially under helgrind. See https://sourceware.org/bugzilla/show_bug.cgi?id=20874
2016-12-01Merge #9188: Make orphan parent fetching ask for witnesses.Pieter Wuille
5b0150a Make orphan parent fetching ask for witnesses. (Gregory Maxwell)
2016-12-01Merge #9253: Fix calculation of number of bound sockets to usePieter Wuille
9e1f468 Fix calculation of number of bound sockets to use (Matt Corallo)
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-12-01Merge #9230: Fix some benign races in timestamp loggingWladimir J. van der Laan
8b22efb Make fStartedNewLine an std::atomic_bool (Matt Corallo) 507145d Fix race when accessing std::locale::classic() (Matt Corallo)
2016-11-30Fix calculation of number of bound sockets to useMatt Corallo
2016-11-30Merge #9226: Remove fNetworkNode and pnodeLocalHost.Pieter Wuille
bdb922b Remove pnodeLocalHost. (Gregory Maxwell) 083f203 Remove fNetworkNode. (Gregory Maxwell)
2016-11-30Merge #9244: Trivial refactor: Remove extern keyword from function declarationsPieter Wuille
446a8f9 Trivial refactor: Remove extern keyword from function declarations, as they are extern by default. (Karl-Johan Alm)
2016-11-30Merge #9010: Split up AppInit2 into multiple phases, daemonize after datadir ↵Pieter Wuille
lock errors deec83f init: Get rid of fServer flag (Wladimir J. van der Laan) 16ca0bf init: Try to aquire datadir lock before and after daemonization (Wladimir J. van der Laan) 0cc8b6b init: Split up AppInit2 into multiple phases (Wladimir J. van der Laan)
2016-11-30Improvement of documentation of command line parameter 'whitelist'wodry
2016-11-30[qa] Dump debug logs on travis failures.Suhas Daftuar
2016-11-30Merge #9234: torcontrol: Explicitly request RSA1024 private keyWladimir J. van der Laan
7d3b627 torcontrol: Explicitly request RSA1024 private key (Wladimir J. van der Laan)
2016-11-30Trivial refactor: Remove extern keyword from function declarations, as they ↵Karl-Johan Alm
are extern by default.
2016-11-29Make GUI incapable of setting tx confirm target of 1Alex Morcos
2016-11-29Disable fee estimates for a confirm target of 1 blockAlex Morcos
2016-11-29init: Get rid of fServer flagWladimir J. van der Laan
There is no need to store this flag globally, the variable is only used inside the initialization process. Thanks to Alex Morcos for the idea.
2016-11-29init: Try to aquire datadir lock before and after daemonizationWladimir J. van der Laan
Before daemonization, just probe the data directory lock and print an early error message if possible. After daemonization get the data directory lock again and hold on to it until exit This creates a slight window for a race condition to happen, however this condition is harmless: it will at most make us exit without printing a message to console. $ src/bitcoind -testnet -daemon Bitcoin server starting $ src/bitcoind -testnet -daemon Error: Cannot obtain a lock on data directory /home/orion/.bitcoin/testnet3. Bitcoin Core is probably already running.
2016-11-29init: Split up AppInit2 into multiple phasesWladimir J. van der Laan
This allows doing some of the steps before e.g. daemonization and some fater.