Re-exportsยง
pub use fedimint_mintv2_common as common;
Modulesยง
Structsยง
- ECash
- Mint
Client Context - Mint
Client Init - Mint
Client Module - Peer
Pool ๐ - Hands out guardians so that only one slice request is outstanding to each.
- Receive
Payment Event - Event emitted when a receive (reissuance) operation is initiated.
- Receive
Payment Update Event - Event emitted when a receive (reissuance) operation reaches a final state.
- Send
Payment Event - Event emitted when e-cash is sent out-of-band. This is a final event - once e-cash is sent, the operation is complete.
- Spendable
Note
Enumsยง
- Final
Receive Operation State - Mint
Client State Machines - Mint
Operation Meta - ReceiveE
Cash Error - Receive
Payment Status - Status of a receive (reissuance) operation.
- SendE
Cash Error
Constantsยง
- MAX_
SLICE_ ๐TIMEOUT - Upper bound for the per-retry growth of
SLICE_TIMEOUT; the flat timeout used before the growth was introduced. - PARALLEL_
HASH_ ๐REQUESTS - PARALLEL_
SLICE_ ๐REQUESTS - PEER_
READMISSION ๐ - How long a guardian sits out after failing to answer a slice request.
- SLICE_
SIZE ๐ - SLICE_
TIMEOUT ๐ - How long a single peer is given to answer a slice request.
- TARGET_
PER_ ๐DENOMINATION
Functionsยง
- download_
slice ๐ - Download a slice, asking one guardian at a time and holding it for the duration of the request.
- represent_
amount ๐ - represent_
amount_ ๐with_ fees - round_
to_ ๐multiple