aboutsummaryrefslogtreecommitdiff
path: root/src/primitives
diff options
context:
space:
mode:
authorRoss Nicoll <[email protected]>2021-08-09 22:50:31 +0100
committerGitHub <[email protected]>2021-08-09 22:50:31 +0100
commit6150f6717a23e912769f9d8232774fb8e0baee2c (patch)
tree0f30ade43d6280221a52c8db771495c4a3e5d981 /src/primitives
parentMerge pull request #2417 from patricklodder/1.14-serialize-getheaders (diff)
parentUse CAmount for constant amounts too (diff)
downloaddiscoin-6150f6717a23e912769f9d8232774fb8e0baee2c.tar.xz
discoin-6150f6717a23e912769f9d8232774fb8e0baee2c.zip
Merge pull request #2439 from rnicoll/1.14.4-dust-limit-type-alt
Use CAmount for amounts
Diffstat (limited to 'src/primitives')
-rw-r--r--src/primitives/transaction.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/primitives/transaction.h b/src/primitives/transaction.h
index 0d0ceda54..63e34697a 100644
--- a/src/primitives/transaction.h
+++ b/src/primitives/transaction.h
@@ -15,7 +15,8 @@ static const int SERIALIZE_TRANSACTION_NO_WITNESS = 0x40000000;
static const int WITNESS_SCALE_FACTOR = 4;
-extern unsigned int nDustLimit;
+/** An amount smaller than this is considered dust */
+extern CAmount nDustLimit;
/** An outpoint - a combination of a transaction hash and an index n into its vout */
class COutPoint