diff options
| author | Ross Nicoll <[email protected]> | 2018-02-11 21:00:50 +0000 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2018-09-19 22:11:47 +0100 |
| commit | 9c3a11b2488f3e01e6763bc1217598a4d1c69bde (patch) | |
| tree | ed6b54c5b71a4543a32968dc5b1d391bfe59dfed /src/consensus | |
| parent | Insert Dogecoin testnet merkle tree root value (#1469) (diff) | |
| download | discoin-9c3a11b2488f3e01e6763bc1217598a4d1c69bde.tar.xz discoin-9c3a11b2488f3e01e6763bc1217598a4d1c69bde.zip | |
Clean up RPC tests (#1465)
* Enable full block tests
* Fix invalidblocktest
* Move watch only address funding to immediately before it's used, so node 0 doesn't spend the output before it checks it later.
* Fix `fundrawtransaction` tests and sanitize fee calculation at the same time
* Correct resolution of chain parameters when validating tx inputs, especially from previous coinbase transactions
* Set block versions on full block tests so that the generated blocks are AuxPoW compatible
Diffstat (limited to 'src/consensus')
| -rw-r--r-- | src/consensus/consensus.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/consensus/consensus.h b/src/consensus/consensus.h index b7053e869..fadb947de 100644 --- a/src/consensus/consensus.h +++ b/src/consensus/consensus.h @@ -16,8 +16,6 @@ static const unsigned int MAX_BLOCK_WEIGHT = 4000000; static const unsigned int MAX_BLOCK_BASE_SIZE = 1000000; /** The maximum allowed number of signature check operations in a block (network rule) */ static const int64_t MAX_BLOCK_SIGOPS_COST = 80000; -/** Coinbase transaction outputs can only be spent after this number of new blocks (network rule) */ -static const int COINBASE_MATURITY = 60*4; // 4 hours of blocks /** Flags for nSequence and nLockTime locks */ enum { |