aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-26Merge pull request #6813Wladimir J. van der Laan
d80e3cb Support gathering of code coverage data for RPC tests (dexX7) e3b5e6c Run extended BitcoinJ tests for coverage based on config (dexX7) 45d4ff0 Add config option to enable extended RPC tests for code coverage (dexX7) 8e3a27b Require Python for RPC tests, when using lcov (dexX7) d425877 Remove coverage and test related files, when cleaning up (dexX7) 4d2a926 Ignore coverage data related and temporary test files (dexX7)
2015-10-26Merge pull request #6878Wladimir J. van der Laan
dca7bd3 doc: Add developer notes about gitignore (Wladimir J. van der Laan)
2015-10-26Merge pull request #6879Wladimir J. van der Laan
ceb2a9c doc: mention BIP65 softfork in bips.md (Wladimir J. van der Laan)
2015-10-26doc: mention BIP65 softfork in bips.mdWladimir J. van der Laan
2015-10-23Support gathering of code coverage data for RPC testsdexX7
The RPC tests (via `qa/pull-tester/rpc-tests.py`) are now executed, when gathering code coverage data, for example with `make cov`. Generating coverage data requires `lcov`, which can installed with: sudo apt-get install lcov To also use the BitcoinJ tests, get the test tool: TOOL_URL=https://github.com/theuni/bitcoind-comparisontool/raw/master/pull-tests-8c6666f.jar TOOL_HASH=a865332b3827abcde684ab79f5f43c083b0b6a4c97ff5508c79f29fee24f11cd wget $TOOL_URL -O ./share/BitcoindComparisonTool.jar echo "$TOOL_HASH ./share/BitcoindComparisonTool.jar" | shasum --algorithm 256 --check The coverage data can be generated with: ./autogen.sh ./configure --enable-lcov --with-comparison-tool=./share/BitcoindComparisonTool.jar make make cov Optionally the options `--enable-extended-rpc-tests` and `--enable-comparison-tool-reorg-tests` may be used to enable more time consuming tests. It then runs the tests and generates two HTML reports: - test_bitcoin.coverage/index.html - total.coverage/index.html
2015-10-23Run extended BitcoinJ tests for coverage based on configdexX7
The configuration option `--enable-comparison-tool-reorg-tests` may be used to enable extended tests via BitcoinJ also for coverage testing.
2015-10-23Add config option to enable extended RPC tests for code coveragedexX7
When using lcov to gather code coverage data, the configuration option `--enable-extended-rpc-tests` may be used to enable extended RPC tests.
2015-10-23Require Python for RPC tests, when using lcovdexX7
Because Python is (going to be) used to run the RPC tests, when gathering coverage data with lcov, it is explicitly checked, whether Python is really available.
2015-10-23Remove coverage and test related files, when cleaning updexX7
Until now there were quite a few leftovers, and only the coverage related files in `src/` were cleaned, while the ones in the other dirs remained. `qa/tmp/` is related to the BitcoinJ tests, and `cache/` is related to RPC tests.
2015-10-23Ignore coverage data related and temporary test filesdexX7
2015-10-23Merge pull request #6873Jeff Garzik
2015-10-23Merge pull request #6856Wladimir J. van der Laan
d3b09f6 Do not allow blockfile pruning during reindex. (Alex Morcos)
2015-10-23doc: Add developer notes about gitignoreWladimir J. van der Laan
- Add developer notes about `.gitignore.` - Remove qt creator specific files from gitignore, to be consistent.
2015-10-23Merge pull request #6351Wladimir J. van der Laan
65ef372 Add BIP65 to getblockchaininfo softforks list (Peter Todd) cde7ab2 Add RPC tests for the CHECKLOCKTIMEVERIFY (BIP65) soft-fork (Peter Todd) 287f54f Add CHECKLOCKTIMEVERIFY (BIP65) soft-fork logic (Peter Todd)
2015-10-23Merge pull request #5936Wladimir J. van der Laan
212bcca Add optional locktime to createrawtransaction (Tom Harding)
2015-10-23Merge pull request #6818Wladimir J. van der Laan
b48da5c script: Remove magic numbers (David Hill)
2015-10-23Merge pull request #6790Wladimir J. van der Laan
8c15f33 [trivial] Update contrib/devtools/README.md (MarcoFalke) 338f62f [devtools] add clang-format.py (MarcoFalke)
2015-10-23Merge pull request #6867Wladimir J. van der Laan
a4e28b3 Set TCP_NODELAY on P2P sockets. (Gregory Maxwell)
2015-10-22leveldbwrapper file rename to dbwrapper.*Jeff Garzik
2015-10-22leveldbwrapper symbol rename: Remove "Level" from class, etc. namesJeff Garzik
2015-10-22leveldbwrapper: Remove unused .Prev(), .SeekToLast() methodsJeff Garzik
Also, trim trailing whitespace.
2015-10-22Set TCP_NODELAY on P2P sockets.Gregory Maxwell
Nagle appears to be a significant contributor to latency now that the static sleeps are gone. Most of our messages are relatively large compared to IP + TCP so I do not expect this to create enormous overhead. This may also reduce traffic burstyness somewhat.
2015-10-22Merge pull request #6848Wladimir J. van der Laan
c6824f8 Add DERSIG transaction test cases (J Ross Nicoll)
2015-10-22Merge pull request #6846Wladimir J. van der Laan
3cb56f3 *: alias -h for --help (Daniel Cousens)
2015-10-22Merge pull request #6854Wladimir J. van der Laan
579b863 devtools: Add security-check.py (Wladimir J. van der Laan)
2015-10-22devtools: Add security-check.pyWladimir J. van der Laan
Perform the following ELF security checks: - PIE: Check for position independent executable (PIE), allowing for address space randomization - NX: Check that no sections are writable and executable (including the stack) - RELRO: Check for read-only relocations, binding at startup - Canary: Check for use of stack canary Also add a check to symbol-check.py that checks that only the subset of allowed libraries is imported (to avoid incompatibilities).
2015-10-22*: alias -h for --helpDaniel Cousens
2015-10-21Merge pull request #6859Wladimir J. van der Laan
41db8c4 http: Restrict maximum size of request line + headers (Wladimir J. van der Laan)
2015-10-21Merge pull request #6722Wladimir J. van der Laan
58254aa Fix stale comment in CTxMemPool::TrimToSize. (Matt Corallo) 2bc5018 Fix comment formatting tabs (Matt Corallo) 8abe0f5 Undo GetMinFee-requires-extra-call-to-hit-0 (Matt Corallo) 9e93640 Drop minRelayTxFee to 1000 (Matt Corallo) 074cb15 Add reasonable test case for mempool trimming (Matt Corallo) d355cf4 Only call TrimToSize once per reorg/blocks disconnect (Matt Corallo) 794a8ce Implement on-the-fly mempool size limitation. (Matt Corallo) e6c7b36 Print mempool size in KB when adding txn (Matt Corallo) 241d607 Add CFeeRate += operator (Matt Corallo) e8bcdce Track (and define) ::minRelayTxFee in CTxMemPool (Matt Corallo) 9c9b66f Fix calling mempool directly, instead of pool, in ATMP (Matt Corallo) 49b6fd5 Add Mempool Expire function to remove old transactions (Pieter Wuille) 78b82f4 Reverse the sort on the mempool's feerate index (Suhas Daftuar)
2015-10-20Merge pull request #6796Wladimir J. van der Laan
c7b36cc Change URLs to https in debian/control (Matt Corallo) e253e83 Update debian/changelog and slight tweak to debian/control (Matt Corallo)
2015-10-20Merge pull request #6235Wladimir J. van der Laan
55a8975 Chainparams: Translations: DRY: options and error strings (Jorge Timón) f3525e2 Chainparams: Replace CBaseChainParams::Network enum with string constants (suggested by Wladimir) (Jorge Timón)
2015-10-20http: Restrict maximum size of request line + headersWladimir J. van der Laan
Prevent memory exhaustion by sending lots of data. Also add a test to `httpbasics.py`. Closes #6425
2015-10-20Chainparams: Translations: DRY: options and error stringsJorge Timón
Also remove SelectBaseParamsFromCommandLine and SelectParamsFromCommandLine
2015-10-20Chainparams: Replace CBaseChainParams::Network enum with string constants ↵Jorge Timón
(suggested by Wladimir)
2015-10-20Merge pull request #6841Wladimir J. van der Laan
b6d5e32 Make fee aware of min relay in pruning.py RPC test (Alex Morcos)
2015-10-20Merge pull request #6801Wladimir J. van der Laan
e76d9e4 [depends] Latest config.guess and config.sub (fanquake)
2015-10-20Merge pull request #6827Wladimir J. van der Laan
bd4c22e [rpc-tests] Check return code (MarcoFalke) 0d8b175 [rpc-tests] fundrawtransaction: Update fee after minRelayTxFee increase (MarcoFalke)
2015-10-20Merge pull request #6853Wladimir J. van der Laan
7801f43 Added fPowNoRetargeting field to Consensus::Params that disables nBits recalculation. (Eric Lombrozo)
2015-10-20Merge pull request #6829Wladimir J. van der Laan
53b86d0 doc: add comment explaining initial header request (Daniel Kraft)
2015-10-20[rpc-tests] Check return codeMarcoFalke
2015-10-20[rpc-tests] fundrawtransaction: Update fee after minRelayTxFee increaseMarcoFalke
2015-10-19Do not allow blockfile pruning during reindex.Alex Morcos
Also clarify startup message.
2015-10-19Added fPowNoRetargeting field to Consensus::Params that disables nBits ↵Eric Lombrozo
recalculation.
2015-10-19Merge pull request #6852Wladimir J. van der Laan
bfcdc21 build: make sure OpenSSL heeds noexecstack (Wladimir J. van der Laan)
2015-10-19Merge pull request #6837Wladimir J. van der Laan
0658d0b temporarily comment out rpcbind.py (Alex Morcos)
2015-10-19build: make sure OpenSSL heeds noexecstackWladimir J. van der Laan
This passes `-Wa,--noexecstack` to the assembler when building platform-specific assembly files, to signal that a non-executable stack can be used. This is the same approach as used by Debian (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=430583)
2015-10-19Merge pull request #6843Wladimir J. van der Laan
99963b9 Correct spelling mistakes in doc folder (Mitchell Cash)
2015-10-19Fix stale comment in CTxMemPool::TrimToSize.Matt Corallo
2015-10-19Merge pull request #6849Wladimir J. van der Laan
d2e3fbc Mention PHP bindings to libbitcoinconsensus (Thomas Kerin)
2015-10-18Mention PHP bindings to libbitcoinconsensusThomas Kerin