Skip to main content

Module tests

Module tests 

Source

Structs§

Stats
UpgradeClients
Clients reused for upgrade tests

Enums§

LatencyTest
TestCmd
UpgradeTest

Functions§

admin_auth_tests
Tests the admin auth command that stores admin credentials in the client database, allowing subsequent admin commands to run without –our-id and –password.
all_peer_block_count 🔒
assert_latency_stats 🔒
Check the common latency-distribution limits after collecting samples.
assert_lnv1_operation_has_no_outcome 🔒
assert_lnv1_recurring_receive_operation_logged 🔒
await_lnv1_lnurl_invoice 🔒
await_lnv1_lnurl_invoice_paid 🔒
cannot_replay_tx_test
cli_load_test_tool_test
cli_peer_tests 🔒
Check peer versions and propagation of a newly signed API announcement.
cli_tests
cli_wallet_tests 🔒
Exercise deposits, fixed withdrawals and version-gated full-balance withdrawals.
client_has_module 🔒
do_try_create_and_pay_invoice
get_lnv1_operation_from_log 🔒
guardian_backup_test
guardian_metadata_tests
gw_reboot_test
handle_command
Dispatch integration scenarios, preserving their individual setup policies.
latency_fm_pay 🔒
Measure internal payments after funding a separate sending client.
latency_ln_receive 🔒
Fund the gateway and measure incoming Lightning payment completion.
latency_ln_send 🔒
Measure outgoing Lightning payments using the existing v1 and v2 paths.
latency_reissue 🔒
Measure reissue completion, excluding the preparation of each note bundle.
latency_restore 🔒
Measure restore only when deprecated tests are enabled.
latency_tests
lightning_gw_reconnect_test
list_lnv1_lnurl_codes 🔒
ln_invoice 🔒
ln_pay 🔒
lnurl_recovery_test
lnv2_await_send 🔒
Run await-send and parse the JSON, tolerating the pre-0.12 CLI output shape so this works across the backwards-compatibility test matrix.
lnv2_receive 🔒
lnv2_send 🔒
log_binary_versions
modify_server_configs 🔒
Modify server configuration files to add a new meta module instance
modify_single_peer_config 🔒
Modify configuration files for a single peer to add a new meta module instance
pay_lnv1_lnurl 🔒
peer_block_count 🔒
reconnect_test
recoverytool_test
register_lnv1_lnurl 🔒
run_admin_auth_tests 🔒
Start admin-auth tests only when both binaries support stored credentials.
run_ln_circular_load_test
run_standard_load_test
setup_test_federation 🔒
Start a standard scenario and return its manager so it outlives the test.
stats_for
stress_test_fed 🔒
test_client_config_change_detection
Test that client can detect federation config changes when servers restart with new module configurations
test_offline_client_initialization
Test that client can init even when the federation is down
upgrade_tests
wasm_test_setup 🔒
Run the WASM faucet lifecycle, joining tasks before terminating its federation.