Module ln_types::amount[][src]

Expand description

Bitcoin amount with millisatoshi precision.

This module provides the Amount type and the related error types.

Structs

Number of millisatoshis.

Error returned when a conversion to satoshis fails due to the value not being round.

Error returned when a conversion exceeds Bitcoin supply cap.

Error returned when parsing text representation fails.