Skip to main content

Crate fedimint_walletv2_devimint_tests

Crate fedimint_walletv2_devimint_tests 

Source

EnumsΒ§

FinalSendState πŸ”’

FunctionsΒ§

await_client_balance πŸ”’
Legacy fallback for fedimint-cli <= 0.11: polls the client balance until it reaches at least min_balance sats.
await_consensus_block_count πŸ”’
await_deposits πŸ”’
Waits for receives deposits to be claimed (starting from event log position) and then asserts the client balance reached at least min_balance sats.
await_no_pending_txs πŸ”’
await_receive πŸ”’
Waits for the next receive recorded at or after position to 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_balance sats.
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.