Bitcoins are represented as integers. A whole Bitcoin is 100MM satoshis.
Typedef int64_t CAmount;
Static const CAmount COIN = 100000000;
Static const CAmount MAX_MONEY = 21000000 * COIN;
Typedef int64_t CAmount;
Static const CAmount COIN = 100000000;
Static const CAmount MAX_MONEY = 21000000 * COIN;
No comments yet.