diff options
| author | Ross Nicoll <[email protected]> | 2021-08-08 21:41:35 +0100 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2021-08-08 21:41:35 +0100 |
| commit | c42b38ea5110008f2d74abb02ee363ea9bb64188 (patch) | |
| tree | 4a7f5a91d3eb670b7c8fc19fcdd12969fa0f0ed6 /src/policy/policy.h | |
| parent | Use CAmount for amounts (diff) | |
| download | discoin-c42b38ea5110008f2d74abb02ee363ea9bb64188.tar.xz discoin-c42b38ea5110008f2d74abb02ee363ea9bb64188.zip | |
Use CAmount for constant amounts too
Diffstat (limited to 'src/policy/policy.h')
| -rw-r--r-- | src/policy/policy.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/policy/policy.h b/src/policy/policy.h index a41d2fe5f..2540f373c 100644 --- a/src/policy/policy.h +++ b/src/policy/policy.h @@ -31,7 +31,7 @@ static const unsigned int MAX_STANDARD_TX_SIGOPS_COST = MAX_BLOCK_SIGOPS_COST/5; /** Default for -maxmempool, maximum megabytes of mempool memory usage */ static const unsigned int DEFAULT_MAX_MEMPOOL_SIZE = 300; /** Default for -incrementalrelayfee, which sets the minimum feerate increase for mempool limiting or BIP 125 replacement **/ -static const unsigned int DEFAULT_INCREMENTAL_RELAY_FEE = 1000; +static const CAmount DEFAULT_INCREMENTAL_RELAY_FEE = 1000; /** Default for -bytespersigop */ static const unsigned int DEFAULT_BYTES_PER_SIGOP = 20; /** The maximum number of witness stack items in a standard P2WSH script */ @@ -45,13 +45,13 @@ static const unsigned int MAX_STANDARD_P2WSH_SCRIPT_SIZE = 3600; * standard and should be done with care and ideally rarely. It makes sense to * only increase the dust limit after prior releases were already not creating * outputs below the new threshold */ -static const unsigned int DUST_RELAY_TX_FEE = COIN / 100000; +static const CAmount DUST_RELAY_TX_FEE = COIN / 100000; /** * Dogecoin: Default dust limit that is evaluated when considering whether a * transaction output is required to pay additional fee for relay and inclusion * in blocks. Overridden by -dustlimit */ -static const unsigned int DEFAULT_DUST_LIMIT = COIN / 1; +static const CAmount DEFAULT_DUST_LIMIT = COIN / 1; /** * Standard script verification flags that standard transactions will comply |