aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-01-13Make most_recent_compact_block a pointer to a constMatt Corallo
2017-01-12Add comment to describe callers to ActivateBestChainMatt Corallo
2017-01-11Call ActivateBestChain without cs_main/with most_recent_blockMatt Corallo
There is still a call to ActivateBestChain with cs_main if a peer requests the block prior to it being validated, but this one is more specifically-gated, so should be less of an issue.
2017-01-11Use a temp pindex to avoid a const_cast in ProcessNewBlockHeadersMatt Corallo
2017-01-05Avoid holding cs_most_recent_block while calling ReadBlockFromDiskMatt Corallo
2017-01-05Ensure we meet the BIP 152 old-relay-types response requirementsMatt Corallo
In order to do this, we must call ActivateBestChain prior to responding getdata requests for blocks which we announced using compact blocks. For getheaders responses we dont need code changes, but do note that we must reset the bestHeaderSent so that the SendMessages call re-announces the header in question. While we could do something smarter for getblocks, calling ActivateBestChain is simple and more obviously correct, instead of doing something more similar to getheaders. See-also the BIP clarifications at https://github.com/bitcoin/bips/pull/486
2017-01-05Cache most-recently-connected compact blockMatt Corallo
2017-01-05Cache most-recently-announced block's shared_ptrMatt Corallo
2017-01-05Relay compact block messages prior to full block connectionMatt Corallo
2017-01-05Add a CValidationInterface::NewPoWValidBlock callbackMatt Corallo
2017-01-04Call AcceptBlock with the block's shared_ptr instead of CBlock&Matt Corallo
2017-01-04[qa] Avoid race in preciousblock test.Matt Corallo
If node 0 is sufficiently fast to announce its block to node 1, node 1 might already have the block by the time the node_sync_via_rpc loop gets around to node 1, resulting in the submitblock result "duplicate-inconclusive" as node 1 has the block, but prefers an alternate chain.
2017-01-04[qa] Make compact blocks test construction using fetch methodsMatt Corallo
2017-01-04Make CBlockIndex*es in net_processing constMatt Corallo
2017-01-04Merge #9107: Safer modify new coinsPieter Wuille
b50cd7a Fix dangerous condition in ModifyNewCoins. (Alex Morcos)
2017-01-04Merge #9395: Add test for -walletrejectlongchainsMarcoFalke
ffeb195 add test for -walletrejectlongchains (Alex Morcos)
2017-01-04add test for -walletrejectlongchainsAlex Morcos
2017-01-04Fix dangerous condition in ModifyNewCoins.Alex Morcos
We were marking coins FRESH before being sure they were not overwriting dirty undo data. This condition was never reached in existing code because undo data was always flushed before UpdateCoins was called with new transactions, but could have been exposed in an otherwise safe refactor. Clarify in the comments the assumptions made in ModifyNewCoins. Add ability to undo transactions to UpdateCoins unit test. Thanks to Russ Yanofsky for suggestion on how to make logic clearer and fixing up the ccoins_modify_new test cases.
2017-01-04Merge #9457: [qt] Select more files for translationWladimir J. van der Laan
facf3e7 [qt] `make translate` (MarcoFalke) fae26e8 [qt] Add more sources to translate (MarcoFalke)
2017-01-04Merge #9470: qt: Set (count) placeholder in sendcoinsdialog to notranslateMarcoFalke
388ea19 qt: Set (count) placeholder in sendcoinsdialog to notranslate (Wladimir J. van der Laan)
2017-01-04qt: Set (count) placeholder in sendcoinsdialog to notranslateWladimir J. van der Laan
2017-01-04Merge #9467: [Trivial] [Doc] Install Protobuf v3 on OS XMarcoFalke
35ee63c [Doc] Install Protobuf v3 on OS X (fanquake)
2017-01-04Merge #9401: Make rpcauth help message clearer, add example in example .confMarcoFalke
0513c70 Make rpcauth help message clearer, add example in example .conf (Gregory Sanders)
2017-01-04Merge #9396: Updated listsinceblock rpc documentationWladimir J. van der Laan
3f67972 updated listsinceblock rpc docs (accraze)
2017-01-04Merge #9288: Fix a bug if the min fee is 0 for FeeFilterRounderWladimir J. van der Laan
f8d43b8 Avoid rollingMinimumFeeRate never being able to decay below half (Alex Morcos) eab8e1b fix a bug if the min fee is 0 for FeeFilterRounder (Alex Morcos)
2017-01-04Merge #9283: A few more CTransactionRef optimizationsWladimir J. van der Laan
91335ba Remove unused MakeTransactionRef overloads (Pieter Wuille) 6713f0f Make FillBlock consume txn_available to avoid shared_ptr copies (Pieter Wuille) 62607d7 Convert COrphanTx to keep a CTransactionRef (Pieter Wuille) c44e4c4 Make AcceptToMemoryPool take CTransactionRef (Pieter Wuille)
2017-01-04Merge #9289: net: drop boost::thread_groupWladimir J. van der Laan
67ee4ec net: misc header cleanups (Cory Fields) 8b3159e net: make proxy receives interruptible (Cory Fields) 5cb0fce net: remove thread_interrupted catch (Cory Fields) d3d7056 net: make net processing interruptible (Cory Fields) 0985052 net: make net interruptible (Cory Fields) 799df91 net: add CThreadInterrupt and InterruptibleSleep (Cory Fields) 7325b15 net: a few small cleanups before replacing boost threads (Cory Fields)
2017-01-04[qt] `make translate`MarcoFalke
2017-01-04[qt] Add more sources to translateMarcoFalke
2017-01-04Merge #9450: Increment MIT licence copyright header year on files modified ↵Wladimir J. van der Laan
in 2016 27765b6 Increment MIT Licence copyright header year on files modified in 2016 (isle2983)
2017-01-04[Doc] Install Protobuf v3 on OS Xfanquake
2017-01-04Merge #9462: [qt] Do not translate tilde characterWladimir J. van der Laan
fab6c5f [qt] Do not translate `~` (MarcoFalke)
2017-01-03net: misc header cleanupsCory Fields
2017-01-03net: make proxy receives interruptibleCory Fields
2017-01-03net: remove thread_interrupted catchCory Fields
This is now a std::thread, so there's no hope of catching a boost interruption point.
2017-01-03net: make net processing interruptibleCory Fields
2017-01-03net: make net interruptibleCory Fields
Also now that net threads are interruptible, switch them to use std threads/binds/mutexes/condvars.
2017-01-03net: add CThreadInterrupt and InterruptibleSleepCory Fields
2017-01-03net: a few small cleanups before replacing boost threadsCory Fields
- Drop the interruption point directly after the pnode allocation. This would be leaky if hit. - Rearrange thread creation so that the socket handler comes first
2017-01-03Merge #8776: Wallet refactoring leading up to multiwalletPieter Wuille
5394b39 Wallet: Split main logic from InitLoadWallet into CreateWalletFromFile (Luke Dashjr) fb0c934 Wallet: Let the interval-flushing thread figure out the filename (Luke Dashjr)
2017-01-03Merge #9252: Release cs_main before calling ProcessNewBlock, or processing ↵Pieter Wuille
headers (cmpctblock handling) bd02bdd Release cs_main before processing cmpctblock as header (Suhas Daftuar) 680b0c0 Release cs_main before calling ProcessNewBlock (cmpctblock handling) (Suhas Daftuar)
2017-01-03[qt] Do not translate `~`MarcoFalke
2017-01-03Merge #8877: Qt RPC console: history sensitive-data filter, and saving input ↵Jonas Schnelli
line when browsing history 8562792 GUI/RPCConsole: Include importmulti in history sensitive-command filter (Luke Dashjr) ff77faf Qt/RPCConsole: Use RPCParseCommandLine to perform command filtering (Luke Dashjr) a79598d Qt/Test: Make sure filtering sensitive data works correctly in nested commands (Luke Dashjr) 629cd42 Qt/RPCConsole: Teach RPCParseCommandLine how to filter out arguments to sensitive commands (Luke Dashjr) e2d9213 Qt/RPCConsole: Make it possible to parse a command without executing it (Luke Dashjr) 1755c04 Qt/RPCConsole: Truncate filtered commands to just the command name, rather than skip it entirely in history (Luke Dashjr) d80a006 Qt/RPCConsole: Add signmessagewithprivkey to list of commands filtered from history (Luke Dashjr) afde12f Qt/RPCConsole: Refactor command_may_contain_sensitive_data function out of RPCConsole::on_lineEdit_returnPressed (Luke Dashjr) de8980d Bugfix: Do not add sensitive information to history for real (Luke Dashjr) 9044908 Qt/RPCConsole: Don't store commands with potentially sensitive information in the history (Jonas Schnelli) fc95daa Qt/RPCConsole: Save current command entry when browsing history (Jonas Schnelli)
2017-01-03Merge #9460: Fix a few typos in translated stringsWladimir J. van der Laan
d45b21e qt: Fill in English numerusforms (Wladimir J. van der Laan) a9d6151 qt,wallet: Fix a few typos in messages (Wladimir J. van der Laan)
2017-01-03qt: Fill in English numerusformsWladimir J. van der Laan
minute/minutes block/blocks and so forth.
2017-01-03qt,wallet: Fix a few typos in messagesWladimir J. van der Laan
As reported by [yahoe.001](https://www.transifex.com/user/profile/yahoe.001/).
2017-01-03doc: Add historical release notes for 0.13.2Wladimir J. van der Laan
2017-01-03Merge #9446: SetMerkleBranch: remove unused code, remove cs_main lock ↵Jonas Schnelli
requirement 9e351c9 SetMerkleBranch: remove unused code, remove cs_main lock requirement (Jonas Schnelli)
2017-01-02Merge #9412: build: Fix 'make deploy' for OSXJonas Schnelli
2fb98f6 Fix bug in dmg builder so that it actually reads in the configuration file (Don Patterson) b01667c Mention RSVG dependency when creating the disk image on OSX (Jonas Schnelli) 09aefb5 build: Fix 'make deploy' for OSX (Cory Fields)
2017-01-02qt: Set transifex slug to 0.14Wladimir J. van der Laan
Also perform update of source translations.