We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
nakamoto_attempt_time
1 parent 6dd0150 commit c6f3471Copy full SHA for c6f3471
testnet/stacks-node/src/tests/nakamoto_integrations.rs
@@ -6012,6 +6012,10 @@ fn nakamoto_attempt_time() {
6012
break account;
6013
};
6014
6015
+ // Stall the miner to make sure it waits until all transactions are
6016
+ // submitted before it mines a block
6017
+ TEST_MINE_STALL.set(true);
6018
+
6019
let mut sender_nonce = account.nonce;
6020
for _ in 0..txs_per_block {
6021
let transfer_tx = make_stacks_transfer(
@@ -6026,6 +6030,8 @@ fn nakamoto_attempt_time() {
6026
6030
submit_tx(&http_origin, &transfer_tx);
6027
6031
}
6028
6032
6033
+ TEST_MINE_STALL.set(false);
6034
6029
6035
// Miner should have made a new block by now
6036
let wait_start = Instant::now();
6037
loop {
0 commit comments