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.
1 parent d2df2d8 commit e8c7880Copy full SHA for e8c7880
src/filler.rs
@@ -165,8 +165,12 @@ where
165
let latest_ru_block_number = self.ru_provider.get_block_number().await?;
166
167
// send the Bundle to the transaction cache
168
- self.send_bundle(txs.clone(), host_txs.clone(), latest_ru_block_number + 1)
169
- .await?;
+ // targeting the next 10 blocks to increase chances of mining
+ // NOTE: this is a naive approach; production Fillers should implement more robust bundle resubmission logic
170
+ for i in 1..11 {
171
+ self.send_bundle(txs.clone(), host_txs.clone(), latest_ru_block_number + i)
172
+ .await?;
173
+ }
174
175
Ok(())
176
}
0 commit comments