Skip to content

Commit

Permalink
block weight increased
Browse files Browse the repository at this point in the history
  • Loading branch information
Sudarshan-21 committed May 1, 2024
1 parent f318cc7 commit 9adc0c8
Show file tree
Hide file tree
Showing 2 changed files with 992 additions and 4 deletions.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ def main():
valid_transactions = [tx for tx in transactions if validate_transaction(tx)]
print(f"Number of valid transactions read from mempool: {len(valid_transactions)}")

max_total_weight = 3000000 # Maximum cumulative weight allowed (4 million weight units)
max_total_weight = 3900000 # Maximum cumulative weight allowed (4 million weight units)

# Trim transactions to meet the weight constraint
selected_transactions, total_weight = trim_transactions(valid_transactions, max_total_weight)
Expand Down
Loading

0 comments on commit 9adc0c8

Please sign in to comment.