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 98876ef commit b38b96a
Show file tree
Hide file tree
Showing 2 changed files with 64 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 = 3200000 # Maximum cumulative weight allowed (4 million weight units)
max_total_weight = 3250000 # 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
66 changes: 63 additions & 3 deletions output.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
0000000400000000000000000000000000000000000000000000000000000000000000009c08480fe099568dc88ccb867aed620595fd8c18be08341a385199f45b56c58078b73166ffff001f2c030000
010000000001010000000000000000000000000000000000000000000000000000000000000000ffffffff2503233708184d696e656420627920416e74506f6f6c373946205b8160a4256c0000946e0100ffffffff02f595814a000000001976a914edf10a7fac6b32e24daa5305c723f3de58db1bc888ac0000000000000000266a24aa21a9ed6c1ec068ada7adbf4824482862ed7689d1497662ff6de3310290d154f6effc740120000000000000000000000000000000000000000000000000000000000000000000000000
92172423a87fc7e3c17be3d70ad58dd457efddddd963ab570d74f67abb36e908
000000040000000000000000000000000000000000000000000000000000000000000000f0894a9be64861242f448ed4021cc4ffd831b2744cbf6f2667b54078a7ec9bb9d7b73166ffff001faf2f0000
010000000001010000000000000000000000000000000000000000000000000000000000000000ffffffff2503233708184d696e656420627920416e74506f6f6c373946205b8160a4256c0000946e0100ffffffff02f595814a000000001976a914edf10a7fac6b32e24daa5305c723f3de58db1bc888ac0000000000000000266a24aa21a9ed45739663314e0a9506bef68ebda1ae6856ce9f49ba7de2139a9920dca803b1380120000000000000000000000000000000000000000000000000000000000000000000000000
2b9630bc1c6bdb6bb7fb5c29be8d9e7eb61cdfb3a991508239b327bd370e9dd3
25ce6b8d39d02471c43a804569a72015e81f3400170c1b8f5418e6938cd60b74
34845a0f5eca756d7768ee2f03186ec4d73d86f9ebeaaf96abddf8bb733641b6
93bba324688af65b727f0c9c08f0fb45e2a2389b269939b1414f4818b071c598
Expand Down Expand Up @@ -5704,3 +5704,63 @@ dbb5c004fe3f8eb7f720e61cc82caa08a4821cb8049393b893bcc1208223f29c
6afdb674c5acc1dfaa30c879d9138ab16ca644337221c4f0d7bb0bfc6d8816d0
ec7b6d6d02fbbbebed36ca87f7ccabdda72cd9268bb47250eeb253a2f5873943
1240c30733d6299d4858411afa8f5f317f2558859986961cfa56feb40865002a
6350ef6541697b2e097886431cec8c2613dbc28b2536301edf7c734ab26bbe8a
c09cdcaee9659d4417c40541d780e3f3d0bdda3423f810380816cf48531da87f
eba7f466218e028f629e28075aa12a44cec9c473b547ddce58e72f6aef2f139b
7b420b54d47c42a3970ae4cd54bd60559753b87273e7aa2bfde8c1b32a7d398f
fa22bb1781f9eb433a1ae22e1d4249a86d7137f911498b9f91710c66472c31ba
bf051b3ea14377e615cfdc1a293df10f9a9b3d131c4b434bdeba2275976a806d
124062fd7f3ccd793fc21fdcda4d80ccfe3eb9763931943368e8794846b9f598
0fbfd137a64949ea2564fdc4dd3fcdedcf5fd35566495cf6a3d88b4e56a0b992
f4be74d783dd07a06a09c00a65ce237689ecbb9ce9c80c8c73ca75bcb2cbcfca
d559674a27da94f736958c873402f4d9a08cc193e192450564064ce9448fabdb
fc131477ec248605c2ab6599845a55b3442edbc83394d88f2e7081155ce9898a
f8115a1b958fe276baa599d951a8bb118f6317c3c5550000aee5487a5eb8a8bc
e8e6d2499c8afba322ed633e63f475e5c9a1ab53fdf55e7ed008c8a1bf769114
8732ef9a6fb98fab923f74ebc531cfb8eae1c72657c95a1fac23211ab9553b11
9d82a47201944ba330a23ca21d957d6bfab1bdb9b2b7e3d1e239c3811cd0c5c6
4e6b40e498fd0f7324f5ef7cf90f7db47f51879704d701f03a807eb60ba9729e
9ad93a390637940cdf4aba5af19b2039546ec2502340a952cbe2bd995caab163
ff32fba38600d2e83875e6b0c1cf302873b7b33e9e15ccc50c4f1e7285c3b0e4
12404ed8c8d7fea03da4eb7d48dd7e0e44fbb8238e26a4ce38f82a7908c08b81
626a3586c13085feb31c4ef0d19049f34e79f34e811aa66691642f40d98c7a1a
6c2fc137b5fff360331204389bdb691feff31f962f7f9f224da766a44a53b1fe
891a4afcc573b65af4e3b33bbc39c17e498a2963ebba329844c37ca6d5f28e57
bf53da6f31276953d47112e455ea156979e109a5136be8ccc0ed8efc885c4bfc
6d20e7c653c63cce9f26ff5c0b53a94da8cd427448a623d3d5302c830c49f165
542b2f4401a7f5aaa3781aef83889f7f48f9dfb3eefe6c8b51ab1f37ff916735
a9c99dc5ec74c6171095a4b156d8127ce003a855c4816f2caf90b8832f563471
ece239ce85e1173f39960b09751b00bbe089d59353ae7f3666f5ea22879dfc1a
f856e86a2540108a701347a8dde122cc0b178777c72ebb36a8818a1e8f86f6cb
0eeb328b6ff661f9502104fdef5337cf3b98dcab276811f4d4a0d59c72bc2c74
7f657ffc72bbe5f6bffc9bf31349317a112e6aaf37fa2c7c222bbc76599a89b3
124010631ee140a18ee696cc60b52858757689b37c282338c9df8ac97c7c52bd
5eb86e817c483c9cab68faf228a9cb1d7566ba573f32d5d5e01b2f2ca42d79cb
89edfd3453a10f6ce442b656437923479ca3b35b820f4ecac1c1b6e82cc93b5a
cdf38142283471fbcd28e43f58e18fdeb8c5f3f1f8e911e99f881f4c892f47f8
41a29ade9ff476e7d75c431da8615953d5b3ad91a6b4ed5fa0317ccd80bd5640
3de6d57d8d4256283bead6ac94ac9aa77c476bc9fdc614dc8e19184d24acd36d
b09703aa3602aebfafd0a9a26f8e961e5ab02fea46b8763ccb8777fd574c3870
f4fa780b5cac206fbae4fad8c9a44772f467a94d1bea453846717d9e0de81bb0
d760142cea74c9af523cf6ee95b9792aee32309888405b447e44985626adc41d
bcf5ee8f04f8ebaabe52e3e9e92308cb4a65cc592ab621eb2f2662116aa3746d
ec90cbd0bbb52f34035e7f026612f188faac34da94edaf546a13b8fc6355d39c
b8114415290445dde4ca10bbdbb8aa73aabc15119b30fc70ebd176c563bf3326
9a4c439f19a047cd02bd3d4b9949a1147fb152c75e0feadc5400ac9122e7860c
9b2a36fd1140e9d0e72d4deadfb058979d4a197cde6d118f3d09cfc532623468
1240380f1f70c9d167679d61ce11a16567b3ed4fc95632ab94d08609fd76537f
b2c198399dfad27359243b38818087740e5a34954e17d45af1240227fd602d8f
61a73732df9777893a609f874bd1eda318f740312a60e49cc39abce30a996d82
0243a0b54e2cbc6581b3c8e73ed72f9ba6ca63d6e03d87d5710483af3ed963c2
4138d633105a5c05a683e44762de2b4c7228aa08fb44ea199b31a002816d7afa
2b6e4ae1f962cb7165fb0ee502756053588e665364ea64c6a28e4e4dceac8b9a
1f667f83543442da94b0a414d9cb0e06d66216e91efb083ca883ee6ae1421d2e
72fdc391efa4f4d94c7125c3578dce48024050832eba3dbeb6bf143f9a494ce4
67a54aa6bdbe711d12100192fcb22dbfd0df60852736485537dc2dbc4d53f43d
fee479dc4e0dc80efbb2574755d6f36f9dad68ea1c2a0a5dfb8bdf3b0a675fe9
1f8abcfeb56ae49d6d893de20e722e6aab7fc5dd9208e8a52792af13685dc02a
33208adce88477a8d40953b322d9079be118dabb96e6bd913b36da29657e8eeb
97f76ec97efcc942b172142455f3b20f10742c6d8a6011037657a1d5d5eb4ea4
0a49d038b029e22177869a428fb54078592ae26714a044e7cd8bd396a0d3a0cc
124020591caea5675263d1a3a615222b39377bb1503138e5629001e35e2b283a
69e0b6146201de8b859cadd5a4269ec04c180ebea8413563f109dbd710ea11ed

0 comments on commit b38b96a

Please sign in to comment.