aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2015-07-01add CReserveScript to allow modular script keeping/returningJonas Schnelli
- use one CReserveScript per mining thread
2015-06-30fix GetScriptForMining() CReserveKey::keepKey() issueJonas Schnelli
2015-06-30detach wallet from minerJonas Schnelli
2015-06-30Merge pull request #6354Wladimir J. van der Laan
6e849b8 Ideal release process for Windows detached signing (Micha) a3ba9a5 gitian: make the windows signing process match OSX (Cory Fields)
2015-06-30Ideal release process for Windows detached signingMicha
This is an ideal version of what the release process should look like, making it more consistent with the OS X process. Some of the changes described here would need to be made in the descriptors, which is somewhat beyond what I would feel comfortable doing, not really understanding the signature process in depth. [skip ci]
2015-06-30gitian: make the windows signing process match OSXCory Fields
2015-06-30add tests for the decodescript rpc. add mention of the rpc regression tests ↵mruddy
to the testing seciton of the main readme.
2015-06-29Merge pull request #6337Wladimir J. van der Laan
6a4b97e Testing infrastructure: mocktime fixes (Gavin Andresen)
2015-06-26Policy: MOVEONLY: 3 functions to policy.o:Luke Dashjr
- [script/standard.o] IsStandard - [main.o] IsStandardTx - [main.o] AreInputsStandard Also, don't use namespace std in policy.cpp
2015-06-26Policy: MOVEONLY: Create policy/policy.h with some constantsJorge Timón
2015-06-26Merge pull request #6299Wladimir J. van der Laan
4f40716 test: Move reindex test to standard tests (Wladimir J. van der Laan) 36c97b4 Bugfix: Don't check the genesis block header before accepting it (Jorge Timón)
2015-06-26Merge pull request #6124Wladimir J. van der Laan
ffd75ad Enable CHECKLOCKTIMEVERIFY as a standard script verify flag (Peter Todd) bc60b2b Replace NOP2 with CHECKLOCKTIMEVERIFY (BIP65) (Peter Todd) 48e9c57 Move LOCKTIME_THRESHOLD to src/script/script.h (Peter Todd) 99088d6 Make CScriptNum() take nMaxNumSize as an argument (Peter Todd)
2015-06-25Merge pull request #6333Wladimir J. van der Laan
b932953 Hardcoded seeds update June 2015 (Wladimir J. van der Laan) 884454a contrib: Add port parsing to makeseeds.py (Wladimir J. van der Laan) ccd4369 contrib: Improvements to hardcoded seeds scripts (Wladimir J. van der Laan)
2015-06-25Merge pull request #6233Wladimir J. van der Laan
3e91433 Advance pindexLastCommonBlock for blocks in chainActive (Suhas Daftuar)
2015-06-25Merge pull request #6339Wladimir J. van der Laan
77aeb7c UniValue: don't escape solidus, keep espacing of reverse solidus (Jonas Schnelli)
2015-06-25UniValue: don't escape solidus, keep espacing of reverse solidusJonas Schnelli
2015-06-25Hardcoded seeds update June 2015Wladimir J. van der Laan
2015-06-25contrib: Add port parsing to makeseeds.pyWladimir J. van der Laan
Allow for non-8333 nodes to appear in the internal seeds. This will allow bitcoind to bypas a filter on 8333. This also makes it possible to use the same tool for e.g. testnet. As hosts with multiple nodes per IP are likely abusive, add a filter to remove these (the ASN check will take care of them for IPv4, but not IPv6 or onion).
2015-06-25contrib: Improvements to hardcoded seeds scriptsWladimir J. van der Laan
- Moved all seed related scripts to contrib/seeds for consistency - Updated `makeseeds.py` to handle IPv6 and onions, fix regular expression for recent Bitcoin Core versions - Fixed a bug in `generate-seeds.py` with regard to IPv6 parsing
2015-06-24Testing infrastructure: mocktime fixesGavin Andresen
New, undocumented-on-purpose -mocktime=timestamp command-line argument to startup with mocktime set. Needed because time-related blockchain sanity checks are done on startup, before a test has a chance to make a setmocktime RPC call. And changed the setmocktime RPC call so calling it will not result in currently connected peers being disconnected due to inactivity timeouts.
2015-06-23Merge pull request #6088Wladimir J. van der Laan
2085895 fundrawtransaction tests (Jonas Schnelli) 21bbd92 Add fundrawtransaction RPC method (Matt Corallo) 1e0d1a2 Add FundTransaction method to wallet (Matt Corallo) 2d84e22 Small tweaks to CCoinControl for fundrawtransaction (Matt Corallo) 9b4e7d9 Add DummySignatureCreator which just creates zeroed sigs (Pieter Wuille)
2015-06-23Fix various warningsLuke Dashjr
Found while building on Debian 7
2015-06-22Merge pull request #6303Wladimir J. van der Laan
d08cfc2 gitian: add a gitian-win-signer descriptor (Cory Fields)
2015-06-22Merge pull request #6319Wladimir J. van der Laan
88d8525 doc: update mailing list address (Wladimir J. van der Laan)
2015-06-22Merge pull request #6318Wladimir J. van der Laan
7c2c270 build: comparison tool NPE fix (Cory Fields)
2015-06-22Merge pull request #6316Wladimir J. van der Laan
b666820 build: Remove -DBOOST_SPIRIT_THREADSAFE (Wladimir J. van der Laan)
2015-06-22doc: update mailing list addressWladimir J. van der Laan
Move from sourceforge to linux foundation. Also get rid of some other stale mentions of sourceforge.
2015-06-22Enable CHECKLOCKTIMEVERIFY as a standard script verify flagPeter Todd
Transactions that fail CLTV verification will be rejected from the mempool, making it easy to test the feature. However blocks containing "invalid" CLTV-using transactions will still be accepted; this is *not* the soft-fork required to actually enable CLTV for production use.
2015-06-21Replace NOP2 with CHECKLOCKTIMEVERIFY (BIP65)Peter Todd
<nLockTime> CHECKLOCKTIMEVERIFY -> <nLockTime> Fails if tx.nLockTime < nLockTime, allowing the funds in a txout to be locked until some block height or block time in the future is reached. Only the logic and unittests are implemented; this commit does not have any actual soft-fork logic in it. Thanks to Pieter Wuille for rebase. Credit goes to Gregory Maxwell for the suggestion of comparing the argument against the transaction nLockTime rather than the current time/blockheight directly.
2015-06-21build: comparison tool NPE fixCory Fields
This should fix the spurious comparison tool failures. See discussion here: https://github.com/bitcoin/bitcoin/pull/6305 The race fix was cherry-picked on top of the version we're currently using, so it should be functionally identical otherwise.
2015-06-21build: Remove -DBOOST_SPIRIT_THREADSAFEWladimir J. van der Laan
Now that boost spirit is no longer used, `-DBOOST_SPIRIT_THREADSAFE` doesn't need to be passed to the compiler anymore.
2015-06-21test: Move reindex test to standard testsWladimir J. van der Laan
This test finishes very quickly, so it should be part of the default set of tests in rpc-tests.
2015-06-21Bugfix: Don't check the genesis block header before accepting itJorge Timón
This fixes an error triggered when running with -reindex after #5975
2015-06-19Merge pull request #6262Wladimir J. van der Laan
506bae3 Return all available information via validateaddress (dexX7)
2015-06-19Merge pull request #6290Wladimir J. van der Laan
57092ed rpc: make `gettxoutsettinfo` run lock-free (Wladimir J. van der Laan)
2015-06-19Merge pull request #6307Wladimir J. van der Laan
1c043d5 fix lock issue for QT node diconnect and RPC disconnectnode (Jonas Schnelli) 932687b setban: add IPv6 tests (Jonas Schnelli) 62909f6 fix missing lock in CNode::ClearBanned() (Jonas Schnelli)
2015-06-19fix lock issue for QT node diconnect and RPC disconnectnodeJonas Schnelli
2015-06-19Merge pull request #6301Wladimir J. van der Laan
82e6487 Adding pgp public key for cdecker as requested by @jonasschnelli in bitcoin/gitian.sigs#182 (Christian Decker)