aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-07-13doc: add documentation for shared library libbitcoinconsensusBraydon Fuller
2015-07-11Merge pull request #6410Wladimir J. van der Laan
5098c47 Implement accurate memory accounting for mempool (Pieter Wuille)
2015-07-10Merge pull request #6414Wladimir J. van der Laan
8a0b933 Fix intermittent test failure, reduce test time (Tom Harding)
2015-07-10Merge pull request #6370Wladimir J. van der Laan
6ebac07 Remove ChainParams::DefaultMinerThreads (Wladimir J. van der Laan)
2015-07-10Merge pull request #6379Wladimir J. van der Laan
9cc9152 rpc: Accept scientific notation for monetary amounts in JSON (Wladimir J. van der Laan)
2015-07-10Implement accurate memory accounting for mempoolPieter Wuille
2015-07-10rpc: Accept scientific notation for monetary amounts in JSONWladimir J. van der Laan
Add a function `ParseFixedPoint` that parses numbers according to the JSON number specification and returns a 64-bit integer. Then this in `AmountFromValue`, rather than `ParseMoney`. Also add lots of tests (thanks to @jonasschnelli for some of them). Fixes issue #6297.
2015-07-10Merge pull request #5486Wladimir J. van der Laan
c45c7ea [REST] add JSON support for /rest/headers/ (Jonas Schnelli)
2015-07-10Merge pull request #5288Wladimir J. van der Laan
e3cae52 Added -whiteconnections=<n> option (Josh Lehan)
2015-07-10Merge pull request #6384Wladimir J. van der Laan
15e26a6 qt: Force TLS1.0+ for SSL connections (Wladimir J. van der Laan)
2015-07-10Merge pull request #6401Wladimir J. van der Laan
8c44e63 Add BITCOIND_SIGTERM_TIMEOUT to OpenRC init scripts (Florian Schmaus)
2015-07-09Fix intermittent test failure, reduce test timeTom Harding
In txn_clone.py, non-essential test transaction tx2 was asserted to be unconfirmed, but would occasionally confirm depending on network behavior. Fix by explicitly sharing with miner and checking for 1 confirmation. Reduce required conflict tests from 4 to 2, by moving one invocation each of txn_clone.py and txn_doublespend.py to the extented test section. This saves about 15 seconds per test run for me.
2015-07-09Merge pull request #6368Wladimir J. van der Laan
cb54d17 CLTV: Add more tests to improve coverage (Esteban Ordano)
2015-07-09Merge pull request #6378Wladimir J. van der Laan
5e058e7 [Qt] constify foreach uses where possible (Philip Kaufmann)
2015-07-08Add BITCOIND_SIGTERM_TIMEOUT to OpenRC init scriptsFlorian Schmaus
This allows users to specify, e.g. raise, the default timeout of 60 seconds. Some bitcoind instances, especially long running ones on slow hardware, require a higher timeout for a clean shut down. Also add a comment to bitcoind.openrc's 'retry=', since it is not obvious from the variable name what it does.
2015-07-08Merge pull request #6387Wladimir J. van der Laan
65ce021 [bitcoin-cli] improve error output (Jonas Schnelli)
2015-07-08Merge pull request #6390Wladimir J. van der Laan
133601f tests: Fix bitcoin-tx signing testcase (Wladimir J. van der Laan)
2015-07-07tests: Fix bitcoin-tx signing testcaseWladimir J. van der Laan
Fixes wrong scriptPubkey problem, which caused the transaction to not actually be signed.
2015-07-07[bitcoin-cli] improve error outputJonas Schnelli
2015-07-07[Qt] constify foreach uses where possiblePhilip Kaufmann
- this doesn't replace BOOST_FOREACH, it just makes used arguments const where possible
2015-07-06CLTV: Add more tests to improve coverageEsteban Ordano
Four cases included: * The CLTV operand type mismatches the tx locktime. In the script it is 1 (interpreted as block height), but in the tx is 500000000 (interpreted as date) * The stack is empty when executing OP_CLTV * The tx is final by having only one input with MAX_INT sequence number * The operand for CLTV is negative (after OP_0 OP_1 OP_SUB)
2015-07-06qt: Force TLS1.0+ for SSL connectionsWladimir J. van der Laan
2015-07-06Merge pull request #6365Wladimir J. van der Laan
5a7304b Move recently introduced CTransAction::IsEquivalentTo to CWalletTx (Wladimir J. van der Laan)
2015-07-06Merge pull request #6335Wladimir J. van der Laan
9238ecb Policy: MOVEONLY: 3 functions to policy.o: (Luke Dashjr) 627b9de Policy: MOVEONLY: Create policy/policy.h with some constants (Jorge Timón)
2015-07-05[REST] add JSON support for /rest/headers/Jonas Schnelli
2015-07-03Remove ChainParams::DefaultMinerThreadsWladimir J. van der Laan
No longer relevant after #5957. This hack existed because of another hack where the numthreads parameter, on regtest, doubled as how many blocks to generate.
2015-07-03Merge pull request #6329Wladimir J. van der Laan
0c37634 acceptnonstdtxn option to skip (most) "non-standard transaction" checks, for testnet/regtest only (Luke Dashjr)
2015-07-03acceptnonstdtxn option to skip (most) "non-standard transaction" checks, for ↵Luke Dashjr
testnet/regtest only
2015-07-03Merge pull request #6369Wladimir J. van der Laan
dae0a89 assets-attribution: Update typicons to MIT license (Luke Dashjr)
2015-07-03assets-attribution: Update typicons to MIT licenseLuke Dashjr
stephenhutchings commented 3 Jul 2015, 6:35 GMT: > Hi Luke, happy for these to be distributed under the terms of the MIT licence. > Let me know if you need anything further from me.
2015-07-02tests: fix txn_clone.py (retry)Wladimir J. van der Laan
There was a stale .pyc file around from before the move. This should catch all missing modules and finally fix the travis build.
2015-07-02Merge pull request #6310Wladimir J. van der Laan
177a0e4 Adding CSubNet constructor over a single CNetAddr (Jonas Schnelli) 409bccf use CBanEntry as object container for banned nodes (Jonas Schnelli) dfa174c CAddrDB/CBanDB: change filesize variables from int to uint64_t (Jonas Schnelli) f581d3d banlist.dat: store banlist on disk (Jonas Schnelli)
2015-07-02Move recently introduced CTransAction::IsEquivalentTo to CWalletTxWladimir J. van der Laan
CTransAction::IsEquivalentTo was introduced in #5881. This functionality is only useful to the wallet, and should never have been added to the primitive transaction type.
2015-07-02Adding CSubNet constructor over a single CNetAddrJonas Schnelli
2015-07-02tests: fix txn_clone.pyWladimir J. van der Laan
Solve merge conflict of test added in #5881 with #6097.
2015-07-02use CBanEntry as object container for banned nodesJonas Schnelli
- added a reason enum for a ban - added creation time for a ban Using CBanEntry as container will keep banlist.dat extenable.
2015-07-02CAddrDB/CBanDB: change filesize variables from int to uint64_tJonas Schnelli
2015-07-02banlist.dat: store banlist on diskJonas Schnelli
2015-07-02Merge pull request #6362Wladimir J. van der Laan
72b9452 When processing RPC commands during warmup phase, parse the request object before returning an error so that id value can be used in the response. (Forrest Voight)
2015-07-02Merge pull request #6361Wladimir J. van der Laan
4716267 Use real number of cores for default -par, ignore virtual cores (Wladimir J. van der Laan)
2015-07-02Merge pull request #5881Wladimir J. van der Laan
5d34e16 Add txn_clone.py test (Tom Harding) defd2d5 Better txn_doublespend.py test (Tom Harding) b2b3619 Implement CTransaction::IsEquivalentTo(...) (Tom Harding)
2015-07-02Merge pull request #6133Wladimir J. van der Laan
e617fe2 Fix various warnings (Luke Dashjr)
2015-07-02Merge pull request #6247Wladimir J. van der Laan
076badb Add getblockheader RPC call (Peter Todd)
2015-07-02Merge pull request #6350Wladimir J. van der Laan
70ae43e add tests for the decodescript rpc. add mention of the rpc regression tests to the testing seciton of the main readme. (mruddy)
2015-07-01When processing RPC commands during warmup phase, parse theForrest Voight
request object before returning an error so that id value can be used in the response. Prior to this commit, RPC commands sent during Bitcoin's warmup/startup phase were responded to with a JSON-RPC error with an id of null, which violated the JSON-RPC 2.0 spec: id: This member is REQUIRED. It MUST be the same as the value of the id member in the Request Object. If there was an error in detecting the id in the Request object (e.g. Parse error/Invalid Request), it MUST be Null.
2015-07-01Merge pull request #6353Wladimir J. van der Laan
5ed1079 Show softfork status in getblockchaininfo (Wladimir J. van der Laan)
2015-07-01Show softfork status in getblockchaininfoWladimir J. van der Laan
2015-07-01Merge pull request #5994Wladimir J. van der Laan
a7b9623 miner: rename UpdateRequestCount signal to ResetRequestCount (Jonas Schnelli) 5496253 add CReserveScript to allow modular script keeping/returning (Jonas Schnelli) 087e65d fix GetScriptForMining() CReserveKey::keepKey() issue (Jonas Schnelli) d0fc10a detach wallet from miner (Jonas Schnelli)
2015-07-01Use real number of cores for default -par, ignore virtual coresWladimir J. van der Laan
To determine the default for `-par`, the number of script verification threads, use [boost::thread::physical_concurrency()](http://www.boost.org/doc/libs/1_58_0/doc/html/thread/thread_management.html#thread.thread_management.thread.physical_concurrency) which counts only physical cores, not virtual cores. Virtual cores are roughly a set of cached registers to avoid context switches while threading, they cannot actually perform work, so spawning a verification thread for them could even reduce efficiency and will put undue load on the system. Should fix issue #6358, as well as some other reported system overload issues, especially on Intel processors. The function was only introduced in boost 1.56, so provide a utility function `GetNumCores` to fall back for older Boost versions.
2015-07-01miner: rename UpdateRequestCount signal to ResetRequestCountJonas Schnelli