You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Note that this is unrealistic as each payment send will require at least two fsync
10040
10046
// calls per node.
10041
10047
let network = bitcoin::Network::Testnet;
10048
+
let genesis_block = bitcoin::blockdata::constants::genesis_block(network);
10042
10049
10043
10050
let tx_broadcaster = test_utils::TestBroadcaster::new(network);
10044
10051
let fee_estimator = test_utils::TestFeeEstimator{sat_per_kw:Mutex::new(253)};
@@ -10055,7 +10062,7 @@ pub mod bench {
10055
10062
let node_a = ChannelManager::new(&fee_estimator,&chain_monitor_a,&tx_broadcaster,&router,&logger_a,&keys_manager_a,&keys_manager_a,&keys_manager_a, config.clone(),ChainParameters{
10056
10063
network,
10057
10064
best_block:BestBlock::from_network(network),
10058
-
});
10065
+
}, genesis_block.header.time);
10059
10066
let node_a_holder = ANodeHolder{node:&node_a };
10060
10067
10061
10068
let logger_b = test_utils::TestLogger::with_id("node a".to_owned());
@@ -10065,7 +10072,7 @@ pub mod bench {
10065
10072
let node_b = ChannelManager::new(&fee_estimator,&chain_monitor_b,&tx_broadcaster,&router,&logger_b,&keys_manager_b,&keys_manager_b,&keys_manager_b, config.clone(),ChainParameters{
0 commit comments