Let testnet setup reflect mainnet

Our test values should reflect what we test on mainnet more closely to avoid bugs that are only observed when using mainnet settings.
This commit is contained in:
Daniel Karzel 2021-05-17 18:39:33 +10:00
parent 4dd696ebe1
commit f2e43ea565
No known key found for this signature in database
GPG Key ID: 30C3FC2E438ADB6E

View File

@ -60,13 +60,13 @@ impl GetConfig for Testnet {
fn get_config() -> Config {
Config {
bitcoin_lock_confirmed_timeout: 12.hours(),
bitcoin_finality_confirmations: 1,
bitcoin_avg_block_time: 5.minutes(),
bitcoin_finality_confirmations: 3,
bitcoin_avg_block_time: 10.minutes(),
bitcoin_cancel_timelock: CancelTimelock::new(12),
bitcoin_punish_timelock: PunishTimelock::new(6),
bitcoin_network: bitcoin::Network::Testnet,
monero_avg_block_time: 2.minutes(),
monero_finality_confirmations: 10,
monero_finality_confirmations: 15,
monero_network: monero::Network::Stagenet,
}
}