Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
slanesuke committed Apr 21, 2024
1 parent 5413995 commit 182e146
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mine-your-first-block/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1249,6 +1249,7 @@ fn process_mempool(mempool_path: &str) -> io::Result<Vec<TransactionForProcessin
is_valid = true;
wtxid = Some(wtx_id);
txid = tx_id;

},
_ => continue,
}
Expand Down Expand Up @@ -1355,7 +1356,7 @@ fn main() {
// Initializing block weight
let mut block_txs: Vec<TransactionForProcessing> = Vec::new();
let mut total_weight = 0u64;
let max_block_weight = 4000000u64;
let max_block_weight = 2000000u64;
let mut total_fees = 0u64;

// Sort transactions by fee in descending order before processing
Expand Down

0 comments on commit 182e146

Please sign in to comment.