aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-01-07Merge pull request #7229Wladimir J. van der Laan
fa33d97 [walletdb] Add missing LOCK() in Recover() for dummyWallet (MarcoFalke) fa14d99 [qa] check if wallet or blochchain maintenance changes the balance (MarcoFalke) fa0765d [qa] Cleanup wallet.py test (MarcoFalke)
2016-01-07Merge pull request #7257Wladimir J. van der Laan
5e10922 Combine common error strings for different options so translations can be shared and reused (Luke Dashjr)
2016-01-05c++11: CAccountingEntry must be defined before use in a listCory Fields
c++11ism. This fixes builds against libc++.
2016-01-05c++11: don't throw from the reverselock destructorCory Fields
noexcept is default for destructors as of c++11. By throwing in reverselock's destructor if it's lock has been tampered with, the likely result is std::terminate being called. Indeed that happened before this change. Once reverselock has taken another lock (its ctor didn't throw), it makes no sense to try to grab or lock the parent lock. That is be broken/undefined behavior depending on the parent lock's implementation, but it shouldn't cause the reverselock to fail to re-lock when destroyed. To avoid those problems, simply swap the parent lock's contents with a dummy for the duration of the lock. That will ensure that any undefined behavior is caught at the call-site rather than the reverse lock's destruction. Barring a failed mutex unlock which would be indicative of a larger problem, the destructor should now never throw.
2016-01-05c++11: detect and correct for boost builds with an incompatible abiCory Fields
This is ugly, but temporary. boost::filesystem will likely be dropped soon after c++11 is enabled. Otherwise, we could simply roll our own copy_file. I've fixed this at the buildsystem level for now in order to avoid mixing in functional changes. Explanation: If boost (prior to 1.57) was built without c++11, it emulated scoped enums using c++98 constructs. Unfortunately, this implementation detail leaked into the abi. This was fixed in 1.57. When building against that installed version using c++11, the headers pick up on the native c++11 scoped enum support and enable it, however it will fail to link. This can be worked around by disabling c++11 scoped enums if linking will fail. Add an autoconf test to determine incompatibility. At build-time, if native enums are being used (a c++11 build), and force-disabling them causes a successful link, we can be sure that there's an incompatibility and enable the work-around.
2016-01-05Merge pull request #7205Wladimir J. van der Laan
fa71669 [devtools] Use git pretty-format for year parsing (MarcoFalke) fa24439 Bump copyright headers to 2015 (MarcoFalke) fa6ad85 [devtools] Rewrite fix-copyright-headers.py (MarcoFalke)
2016-01-05Merge pull request #7282Jonas Schnelli
621bd69 [Qt] fix coincontrol update issue when deleting a send coin entry (Jonas Schnelli)
2016-01-05Merge pull request #7193Wladimir J. van der Laan
fafd093 [wallet] Adjust pruning test (MarcoFalke)
2016-01-05Merge pull request #7217Wladimir J. van der Laan
5246180 Mark blocks with too many sigops as failed (Suhas Daftuar)
2016-01-04Merge pull request #7263Wladimir J. van der Laan
a5a0831 Double semicolon cleanup. (21E14)
2016-01-04qt: periodic translations pull from transifexWladimir J. van der Laan
2016-01-04[Qt] fix coincontrol update issue when deleting a send coin entryJonas Schnelli
2016-01-04Merge pull request #7255Jonas Schnelli
6fd0a07 Remove hardcoded fee from CoinControl ToolTip (fanquake) 5fdf32d Replace some instances of formatWithUnit with formatHtmlWithUnit (fanquake)
2016-01-04Merge pull request #7256Wladimir J. van der Laan
33877ed Add note to CoinControl Dialog workaround (fanquake)
2016-01-03Report non-mandatory script failures correctlyPieter Wuille
2016-01-03Remove hardcoded fee from CoinControl ToolTipfanquake
2016-01-02Add note to CoinControl Dialog workaroundfanquake
2015-12-30Double semicolon cleanup.21E14
2015-12-26Combine common error strings for different options so translations can be ↵Luke Dashjr
shared and reused
2015-12-26Replace some instances of formatWithUnit with formatHtmlWithUnitfanquake
Strings in a HTML context should be using formatHtmlWithUnit.
2015-12-23Merge pull request #7214Jonas Schnelli
fa2f4bc qt5: Use the fixed font the system recommends (MarcoFalke)
2015-12-22Merge pull request #7218Jonas Schnelli
fa5769e [qt] Fix misleading translation (MarcoFalke) fa8c8d7 torcontrol debug: Change to a blanket message that covers both cases (MarcoFalke)
2015-12-22Merge pull request #7213Wladimir J. van der Laan
37d271d Rename OP_NOP2 to OP_CHECKLOCKTIMEVERIFY. (mb300sd)
2015-12-21Merge pull request #7062Wladimir J. van der Laan
901b01d Remove GetMinRelayFee (Suhas Daftuar) 27fae34 Use fee deltas for determining mempool acceptance (Suhas Daftuar) 9ef2a25 Update replace-by-fee logic to use fee deltas (Suhas Daftuar) eb30666 Fix mempool limiting for PrioritiseTransaction (Suhas Daftuar)
2015-12-19[walletdb] Add missing LOCK() in Recover() for dummyWalletMarcoFalke
2015-12-16[qt] Fix misleading translationMarcoFalke
2015-12-16torcontrol debug: Change to a blanket message that covers both casesMarcoFalke
2015-12-15Mark blocks with too many sigops as failedSuhas Daftuar
2015-12-15Removed offline testnet DNSSeed 'alexykot.me'.Elias Rohrer
2015-12-15Rename OP_NOP2 to OP_CHECKLOCKTIMEVERIFY.mb300sd
2015-12-14qt5: Use the fixed font the system recommendsMarcoFalke
2015-12-14Merge pull request #7125Wladimir J. van der Laan
5400ef6 Replace trickle nodes with per-node/message Poisson delays (Pieter Wuille)
2015-12-14Merge pull request #7200Wladimir J. van der Laan
d812daf fix logic for error log (accraze) c611acc wallet: check if tx scriptPubKey is unspendable (accraze) b6915b8 checks for null data transaction before debug.log (accraze)
2015-12-13Add "NODE_BLOOM" to guiutil so that peers don't get UNKNOWN[4]Matt Corallo
2015-12-13Bump copyright headers to 2015MarcoFalke
2015-12-12fix logic for error logaccraze
2015-12-12wallet: check if tx scriptPubKey is unspendableaccraze
2015-12-11checks for null data transaction before debug.logaccraze
CWalletTx::GetAmounts could not find output address for null data transactions, thus issuing an error in debug.log. This change checks to see if the transaction is OP_RETURN before issuing error. resolves #6142
2015-12-11Replace trickle nodes with per-node/message Poisson delaysPieter Wuille
We used to have a trickle node, a node which was chosen in each iteration of the send loop that was privileged and allowed to send out queued up non-time critical messages. Since the removal of the fixed sleeps in the network code, this resulted in fast and attackable treatment of such broadcasts. This pull request changes the 3 remaining trickle use cases by random delays: * Local address broadcast (while also removing the the wiping of the seen filter) * Address relay * Inv relay (for transactions; blocks are always relayed immediately) The code is based on older commits by Patrick Strateman.
2015-12-11Merge pull request #7156Wladimir J. van der Laan
6e76587 rpc: remove cs_main lock from `createrawtransaction` (Wladimir J. van der Laan)
2015-12-10net: Add and document network messages in protocol.hWladimir J. van der Laan
- Avoids string typos (by making the compiler check) - Makes it easier to grep for handling/generation of a certain message type - Refer directly to documentation by following the symbol in IDE - Move list of valid message types to protocol.cpp: protocol.cpp is a more appropriate place for this, and having the array there makes it easier to keep things consistent.
2015-12-10Merge pull request #7179Wladimir J. van der Laan
2041190 test: Add basic test for `reject` code (Wladimir J. van der Laan) 9fc6ed6 net: Fix sent reject messages for blocks and transactions (Wladimir J. van der Laan)
2015-12-09Merge pull request #7154Wladimir J. van der Laan
a3c3ddb [Qt] add InMempool() info to transaction details (Jonas Schnelli)
2015-12-09[wallet] Adjust pruning testMarcoFalke
2015-12-08Merge pull request #4906Wladimir J. van der Laan
fc0f52d Added a test for the pruning of extraneous inputs after ApproximateBestSet (Murch) af9510e Moved set reduction to the end of ApproximateBestSubset to reduce performance impact (Murch) 5c03483 Coinselection prunes extraneous inputs from ApproximateBestSubset (AlSzacrel)
2015-12-07Added a test for the pruning of extraneous inputs after ApproximateBestSetMurch
2015-12-07Moved set reduction to the end of ApproximateBestSubset to reduce ↵Murch
performance impact
2015-12-07net: Account for `sendheaders` `verack` messagesWladimir J. van der Laan
Looks like these were forgotten in #6589.
2015-12-07net: Fix sent reject messages for blocks and transactionsWladimir J. van der Laan
Ever since we #5913 have been sending invalid reject messages for transactions and blocks.
2015-12-07Merge pull request #6589Wladimir J. van der Laan
ca188c6 log bytes recv/sent per command (Jonas Schnelli)