Module util

Source

Modules§

legacy_types πŸ”’

Structs§

BitcoinCli
Bitcoind
ClnLightningCli
Command
DevimintFaucet
Electrs
Esplora
FedimintCli
FedimintdCmd
GatewayCli
GatewayLndCli
Gatewayd
Lightningd
LnCli
Lnd
LoadTestTool
ProcessHandle
Kills process when all references to ProcessHandle are dropped.
ProcessHandleInner
ProcessManager
Recoverytool

Constants§

BITCOIND_FALLBACK πŸ”’
BITCOIN_CLI_FALLBACK πŸ”’
DEFAULT_POLL_TIMEOUT πŸ”’
DEFAULT_VERSION πŸ”’
DEVIMINT_FAUCET_FALLBACK πŸ”’
ELECTRS_FALLBACK πŸ”’
ESPLORA_FALLBACK πŸ”’
FEDIMINTD_FALLBACK πŸ”’
FEDIMINT_CLI_FALLBACK πŸ”’
FEDIMINT_DBTOOL_FALLBACK πŸ”’
GATEWAYD_FALLBACK πŸ”’
GATEWAY_CLI_FALLBACK πŸ”’
LIGHTNINGD_FALLBACK πŸ”’
LIGHTNING_CLI_FALLBACK πŸ”’
LNCLI_FALLBACK πŸ”’
LND_FALLBACK πŸ”’
LOAD_TEST_TOOL_FALLBACK πŸ”’
RECOVERYTOOL_FALLBACK πŸ”’

Traits§

JsonValueExt
ToCmdExt

Functions§

get_bitcoin_cli_path
get_command_str_for_alias πŸ”’
get_fedimint_cli_path
get_fedimint_dbtool_cli_path
get_gateway_cli_path
get_lightning_cli_path
get_lncli_path
is_backwards_compatibility_test
Returns true if running backwards-compatibility tests
parse_clap_version πŸ”’
Parses a version string returned from clap ex: fedimintd 0.3.0-alpha -> 0.3.0-alpha
parse_map
poll
Retry until f succeeds or default timeout is reached
poll_simple
poll_with_timeout
Retry until f succeeds or timeout is reached
send_sigkill πŸ”’
send_signal πŸ”’
send_sigterm πŸ”’
supports_lnv2
to_command πŸ”’
use_fedimint_cli
Sets the fedimint-cli and mint client alias
use_matching_fedimint_cli_for_dkg
Sets the fedimint-cli binary to match the fedimintd’s version, which is needed for running DKG. Returns the original fedimint-cli path and mint client alias so the caller can reset the fedimint-cli version after DKG
version_hash_to_version πŸ”’
Maps a version hash to a release version