Skip to main content

Crate integration_tests_sv2

Crate integration_tests_sv2 

Source

Modules§

interceptor
message_aggregator
mining_device
mock_roles
prometheus_metrics_assertions
Helpers for querying and asserting on Prometheus metrics and JSON API endpoints exposed by SV2 components during integration tests.
sniffer
sniffer_error
sv1_minerd
sv1_sniffer
template_provider
types
utils

Macros§

assert_common_message
assert_jd_message
assert_message
assert_mining_message
assert_tp_message
shutdown_all
Concurrently shuts down multiple services.

Constants§

POOL_COINBASE_REWARD_ADDRESS

Functions§

ipc_config
Helper to create BitcoinCoreIpc config with default thresholds and latest IPC version.
start_bitcoin_core
start_bitcoin_core_latest
start_jdc
start_jdc_with_user_identities
start_minerd
start_mining_device_sv2
start_pool
start_pool_with_jds
start_sniffer
start_sv1_sniffer
start_sv2_translator
start_sv2_translator_with_user_identities
start_sv2_translator_with_user_identity
start_template_provider
start_tracing
Each test function should call start_tracing() to enable logging.
sv2_tp_config
Helper to create Sv2Tp config for Pool/JDC with default public key.