Skip to content

Commit

Permalink
Mining only 5 p2pkh txns
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushj05 committed Apr 7, 2024
1 parent a730e8b commit 732121f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void mine() {
reward += txn.first;
}

if (++count == 2) break;
if (++count == 5) break;
}

// Calculate TXIDs of all the transactions to be included in the block
Expand Down

0 comments on commit 732121f

Please sign in to comment.