mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -03:00
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.
This commit is contained in:
parent
feedb9c84e
commit
1946af2c45
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
/** Amount in satoshis (Can be negative) */
|
||||
typedef int64_t CAmount;
|
||||
|
||||
/** The amount of satoshis in one BTC. */
|
||||
static constexpr CAmount COIN = 100000000;
|
||||
|
||||
/** No amount larger than this (in satoshi) is valid.
|
||||
|
|
Loading…
Add table
Reference in a new issue