Skip to content

Opening book details…

Can I read 01 Amount on EtoBox?

01 Amount by bytesdancer is a document available to read on EtoBox.

What is 01 Amount about?

The document explains the definition and usage of CAmount in Bitcoin Core, which is a typedef for int64_t representing amounts in satoshis. It details the constants COIN and MAX_MONEY, where COIN equals 100 million satoshis (1 BTC) and MAX_MONEY is set to 21 million BTC as a sanity check against invalid amounts. The MoneyRange function ensures that Bitcoin amounts are non-negative and do not exceed MAX_MONEY to prevent exploits.

Author
bytesdancer
Language
EN

More by bytesdancer

Browse all works by bytesdancer