Skip to content

Commit 1946af2

Browse files
authored
Add comment to COIN constant.
The COIN constant is critical in understanding Bitcoin's supply, but what it represents isn't clear from the name of the constant. Adding a comment clarifies the meaning of the constant for future readers.
1 parent feedb9c commit 1946af2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/consensus/amount.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
/** Amount in satoshis (Can be negative) */
1212
typedef int64_t CAmount;
1313

14+
/** The amount of satoshis in one BTC. */
1415
static constexpr CAmount COIN = 100000000;
1516

1617
/** No amount larger than this (in satoshi) is valid.

0 commit comments

Comments
 (0)