EnumsΒ§
- Final
Send πState
FunctionsΒ§
- await_
client_ πbalance - Legacy fallback for
fedimint-cli<= 0.11: polls the client balance until it reaches at leastmin_balancesats. - await_
consensus_ πblock_ count - await_
deposits π - Waits for
receivesdeposits to be claimed (starting from event logposition) and then asserts the client balance reached at leastmin_balancesats. - await_
no_ πpending_ txs - await_
receive π - Waits for the next receive recorded at or after
positionto be claimed, returning the event log position to use for the following wait. - ensure_
client_ πbalance - Asserts the client balance has reached at least
min_balancesats. - ensure_
federation_ πtotal_ value - ensure_
tx_ πchain_ length - get_
deposit_ πaddress - main π
- module_
is_ πpresent - spawn_
block_ πminer - Spawns a background task that mines a block every 100ms, simulating continuous block production. This prevents deadlocks where the federationβs pending bitcoin transactions block further progress because no blocks are being mined to confirm them.