aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5936Wladimir J. van der Laan2015-10-232-4/+17
|\ | | | | | | 212bcca Add optional locktime to createrawtransaction (Tom Harding)
| * Add optional locktime to createrawtransactionTom Harding2015-08-102-4/+17
| | | | | | | | | | A non-zero locktime also causes input sequences to be set to non-max, activating the locktime.
* | Merge pull request #6818Wladimir J. van der Laan2015-10-233-5/+12
|\ \ | | | | | | | | | b48da5c script: Remove magic numbers (David Hill)
| * | script: Remove magic numbersDavid Hill2015-10-153-5/+12
| | | | | | | | | | | | | | | This adds two new constants, MAX_OPS_PER_SCRIPT and MAX_PUBKEYS_PER_MULTISIG.
* | | Merge pull request #6790Wladimir J. van der Laan2015-10-232-6/+82
|\ \ \ | | | | | | | | | | | | | | | | 8c15f33 [trivial] Update contrib/devtools/README.md (MarcoFalke) 338f62f [devtools] add clang-format.py (MarcoFalke)
| * | | [trivial] Update contrib/devtools/README.mdMarcoFalke2015-10-151-6/+20
| | | |
| * | | [devtools] add clang-format.pyMarcoFalke2015-10-151-0/+62
| | | |
* | | | Merge pull request #6867Wladimir J. van der Laan2015-10-233-1/+21
|\ \ \ \ | | | | | | | | | | | | | | | a4e28b3 Set TCP_NODELAY on P2P sockets. (Gregory Maxwell)
| * | | | Set TCP_NODELAY on P2P sockets.Gregory Maxwell2015-10-223-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Merge pull request #6848Wladimir J. van der Laan2015-10-222-0/+8
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | c6824f8 Add DERSIG transaction test cases (J Ross Nicoll)
| * | | | | Add DERSIG transaction test casesJ Ross Nicoll2015-10-182-0/+8
| | |_|/ / | |/| | | | | | | | | | | | | Add test cases for DERSIG flag enforcement against transactions.
* | | | | Merge pull request #6846Wladimir J. van der Laan2015-10-224-4/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 3cb56f3 *: alias -h for --help (Daniel Cousens)
| * | | | | *: alias -h for --helpDaniel Cousens2015-10-224-4/+4
| |/ / / /
* | | | | Merge pull request #6854Wladimir J. van der Laan2015-10-223-3/+268
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | 579b863 devtools: Add security-check.py (Wladimir J. van der Laan)
| * | | | devtools: Add security-check.pyWladimir J. van der Laan2015-10-223-3/+268
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | | | | Merge pull request #6859Wladimir J. van der Laan2015-10-212-0/+18
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 41db8c4 http: Restrict maximum size of request line + headers (Wladimir J. van der Laan)
| * | | | | http: Restrict maximum size of request line + headersWladimir J. van der Laan2015-10-202-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevent memory exhaustion by sending lots of data. Also add a test to `httpbasics.py`. Closes #6425
* | | | | | Merge pull request #6722Wladimir J. van der Laan2015-10-2110-57/+361
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | | | | Fix stale comment in CTxMemPool::TrimToSize.Matt Corallo2015-10-191-4/+4
| | | | | | |
| * | | | | | Fix comment formatting tabsMatt Corallo2015-10-141-5/+5
| | | | | | |
| * | | | | | Undo GetMinFee-requires-extra-call-to-hit-0Matt Corallo2015-10-142-2/+3
| | | | | | |
| * | | | | | Drop minRelayTxFee to 1000Matt Corallo2015-10-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no exact science to setting this parameter, but 5000 (just over 1 US cent at the time of writing) is higher than the cost to relay a transaction around the network (the new benchmark due to mempool limiting).
| * | | | | | Add reasonable test case for mempool trimmingMatt Corallo2015-10-132-1/+157
| | | | | | |
| * | | | | | Only call TrimToSize once per reorg/blocks disconnectMatt Corallo2015-10-135-13/+22
| | | | | | |
| * | | | | | Implement on-the-fly mempool size limitation.Matt Corallo2015-10-135-2/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After each transaction which is added to mempool, we first call Expire() to remove old transactions, then throwing away the lowest-feerate transactions. After throwing away transactions by feerate, we set the minimum relay fee to the maximum fee transaction-and-dependant-set we removed, plus the default minimum relay fee. After the next block is received, the minimum relay fee is allowed to decrease exponentially. Its halflife defaults to 12 hours, but is decreased to 6 hours if the mempool is smaller than half its maximum size, and 3 hours if the mempool is smaller than a quarter its maximum size. The minimum -maxmempool size is 40*-limitdescendantsize, as it is easy for an attacker to play games with the cheapest -limitdescendantsize transactions. -maxmempool defaults to 300MB. This disables high-priority transaction relay when the min relay fee adjustment is >0 (ie when the mempool is full). When the relay fee adjustment drops below the default minimum relay fee / 2 it is set to 0 (re-enabling priority-based free relay).
| * | | | | | Print mempool size in KB when adding txnMatt Corallo2015-10-131-2/+2
| | | | | | |
| * | | | | | Add CFeeRate += operatorMatt Corallo2015-10-131-0/+1
| | | | | | |
| * | | | | | Track (and define) ::minRelayTxFee in CTxMemPoolMatt Corallo2015-10-132-3/+11
| | | | | | |
| * | | | | | Fix calling mempool directly, instead of pool, in ATMPMatt Corallo2015-10-133-16/+13
| | | | | | |
| * | | | | | Add Mempool Expire function to remove old transactionsPieter Wuille2015-10-134-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (note the 9x multiplier on (void*)'s for CTxMemPool::DynamicMemoryUsage was accidentally introduced in 5add7a7 but should have waited for this commit which adds the extra index)
| * | | | | | Reverse the sort on the mempool's feerate indexSuhas Daftuar2015-10-132-25/+25
| | | | | | |
* | | | | | | Merge pull request #6796Wladimir J. van der Laan2015-10-202-3/+34
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c7b36cc Change URLs to https in debian/control (Matt Corallo) e253e83 Update debian/changelog and slight tweak to debian/control (Matt Corallo)
| * | | | | | | Change URLs to https in debian/controlMatt Corallo2015-10-091-2/+2
| | | | | | | |
| * | | | | | | Update debian/changelog and slight tweak to debian/controlMatt Corallo2015-10-092-1/+32
| | | | | | | |
* | | | | | | | Merge pull request #6235Wladimir J. van der Laan2015-10-2011-90/+79
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | | | | | | Chainparams: Translations: DRY: options and error stringsJorge Timón2015-10-209-51/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also remove SelectBaseParamsFromCommandLine and SelectParamsFromCommandLine
| * | | | | | | | Chainparams: Replace CBaseChainParams::Network enum with string constants ↵Jorge Timón2015-10-206-45/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (suggested by Wladimir)
* | | | | | | | | Merge pull request #6841Wladimir J. van der Laan2015-10-201-1/+4
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b6d5e32 Make fee aware of min relay in pruning.py RPC test (Alex Morcos)
| * | | | | | | | | Make fee aware of min relay in pruning.py RPC testAlex Morcos2015-10-171-1/+4
| | |_|_|_|_|/ / / | |/| | | | | | |
* | | | | | | | | Merge pull request #6801Wladimir J. van der Laan2015-10-202-8/+17
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e76d9e4 [depends] Latest config.guess and config.sub (fanquake)
| * | | | | | | | | [depends] Latest config.guess and config.subfanquake2015-10-112-8/+17
| | | | | | | | | |
* | | | | | | | | | Merge pull request #6827Wladimir J. van der Laan2015-10-202-3/+11
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bd4c22e [rpc-tests] Check return code (MarcoFalke) 0d8b175 [rpc-tests] fundrawtransaction: Update fee after minRelayTxFee increase (MarcoFalke)
| * | | | | | | | | | [rpc-tests] Check return codeMarcoFalke2015-10-201-2/+2
| | | | | | | | | | |
| * | | | | | | | | | [rpc-tests] fundrawtransaction: Update fee after minRelayTxFee increaseMarcoFalke2015-10-201-1/+9
| | |_|_|_|_|_|/ / / | |/| | | | | | | |
* | | | | | | | | | Merge pull request #6853Wladimir J. van der Laan2015-10-203-0/+7
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7801f43 Added fPowNoRetargeting field to Consensus::Params that disables nBits recalculation. (Eric Lombrozo)
| * | | | | | | | | | Added fPowNoRetargeting field to Consensus::Params that disables nBits ↵Eric Lombrozo2015-10-193-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | recalculation.
* | | | | | | | | | | Merge pull request #6829Wladimir J. van der Laan2015-10-201-1/+10
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | 53b86d0 doc: add comment explaining initial header request (Daniel Kraft)
| * | | | | | | | | | doc: add comment explaining initial header requestDaniel Kraft2015-10-141-1/+10
| | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a comment that explains why the initial "getheader" requests are made starting from the block preceding the currently best one. Thanks to sdaftuar for the explanation!
* | | | | | | | | | Merge pull request #6852Wladimir J. van der Laan2015-10-191-1/+1
|\ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | bfcdc21 build: make sure OpenSSL heeds noexecstack (Wladimir J. van der Laan)
| * | | | | | | | | build: make sure OpenSSL heeds noexecstackWladimir J. van der Laan2015-10-191-1/+1
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)