Crate bitcoin_amount

Source
Expand description

§Bitcoin Amount

Structs§

Amount
A bitcoin amount integer type.
ParseAmountError
An error during Amount parsing.

Constants§

MAX
Maximum value in an Amount.
MIN
Minimum value in an Amount.
SAT_PER_BTC
The amount of satoshis in a BTC.
SAT_PER_BTC_FP
The amount of satoshis in a BTC (floating point).

Traits§

IntoBtc
Trait to mark types as convertable into Amounts.