Modules§
Structs§
- Excessive
Relative FeeError - A module’s configured relative fee is above what the module accepts.
- Federation
Wallet - Output
Info - Pending
Output - An output passing the probabilistic receive filter that a guardian can see, but which is not yet deep enough to have entered the federation’s consensus output log.
- Pending
Outputs - A guardian’s local, advisory view of the receive outputs it can see but the federation has not recorded yet, together with the block count that view was derived from.
- TxInfo
- Unknown
Wallet Input Variant Error - Unknown
Wallet Output Variant Error - Wallet
Common Init - Wallet
Input V0 - Wallet
Module Types - Wallet
Output Outcome - Wallet
Output V0
Enums§
- Mempool
Visibility - How much of a mempool was inspected for unmined peg-ins.
- Standard
Script - Wallet
Consensus Item - Wallet
Input - Wallet
Input Error - Wallet
Output - Wallet
Output Error
Constants§
- BLOCK_
COUNT_ VOTE_ DELAY - How many blocks a peer’s block count vote trails its bitcoin backend: the finality delay, plus one block of slack. Processing a new consensus block count waits for the local backend to report the consensus count plus the finality delay, and without the slack that is exactly the block the voter saw, so a backend a little behind, or a backend status that is stale (it is polled once a minute), stalled item processing on every new block.
- CONFIRMATION_
FINALITY_ DELAY - Number of confirmations required for a transaction to be considered as final by the federation. The block that mines the transaction does not count towards the number of confirmations.
- KIND
- MODULE_
CONSENSUS_ VERSION
Functions§
- descriptor
- is_
potential_ receive - Returns true if the script pubkey potentially belongs to the federation. This uses a probabilistic filter - only ~1/65536 of P2WSH scripts pass.
- sleep_
duration - Returns a sleep duration of 1 second in test environments or 60 seconds in production. Used for polling intervals where faster feedback is needed during testing.
- tweak_
public_ key