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 8aadf5b commit 98876ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 123 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 = 3300000 # Maximum cumulative weight allowed (4 million weight units)
max_total_weight = 3200000 # 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
125 changes: 3 additions & 122 deletions output.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
0000000400000000000000000000000000000000000000000000000000000000000000005e4f10eca571e826adfcfb93759c978586d43a104b6dd1d205c40005d287c03e4ab73166ffff001f4cfb0100
010000000001010000000000000000000000000000000000000000000000000000000000000000ffffffff2503233708184d696e656420627920416e74506f6f6c373946205b8160a4256c0000946e0100ffffffff02f595814a000000001976a914edf10a7fac6b32e24daa5305c723f3de58db1bc888ac0000000000000000266a24aa21a9eda6057373edc0f96b05c3a054032f4b20055f19b3e6c74b269bbe78bff6c256580120000000000000000000000000000000000000000000000000000000000000000000000000
885dab5246eba35ed6365d2dc66647c6948a05119d61d4d25c02102846b2a18c
0000000400000000000000000000000000000000000000000000000000000000000000009c08480fe099568dc88ccb867aed620595fd8c18be08341a385199f45b56c58078b73166ffff001f2c030000
010000000001010000000000000000000000000000000000000000000000000000000000000000ffffffff2503233708184d696e656420627920416e74506f6f6c373946205b8160a4256c0000946e0100ffffffff02f595814a000000001976a914edf10a7fac6b32e24daa5305c723f3de58db1bc888ac0000000000000000266a24aa21a9ed6c1ec068ada7adbf4824482862ed7689d1497662ff6de3310290d154f6effc740120000000000000000000000000000000000000000000000000000000000000000000000000
92172423a87fc7e3c17be3d70ad58dd457efddddd963ab570d74f67abb36e908
25ce6b8d39d02471c43a804569a72015e81f3400170c1b8f5418e6938cd60b74
34845a0f5eca756d7768ee2f03186ec4d73d86f9ebeaaf96abddf8bb733641b6
93bba324688af65b727f0c9c08f0fb45e2a2389b269939b1414f4818b071c598
Expand Down Expand Up @@ -5704,122 +5704,3 @@ 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
12409ed45aa1720ca1aff4f3820d2b42ecd3d773f9c051a1f47765b148123cc0
eb050bfe81c9b0b8c22134fb8baff5ee3430150c91bda2752ab58e4700e8fe8a
9027d14acea41cc45fe0a51fec5a33097524a6ae73e3a846e5ccf93005235804
fa8f33da78b61a52c8ebe5a56ff66bdb8e4846957270b325469127675ba4c36c
12407e96afd7379f406ba732d80f2016d48519fdb32e8defdedf99f582dc93dd
fa966edcd3ca6c3fecd2e1e520a2e1480ac7b6f41b27a195a128846f3116760f
91488054f9ad3cb2298acb82f976ef320e14bd14c84a882f87c3e8a84923683f
f26034f06b1990dc66ec551bc4eeceb9bacac5359d774a582597eaaeab47a0a2
7f5584729c3cc91cd810bfef032900c2126d98897b03cf89d115916bb56751ba
f3e83c448489faab14a6d5b58de0feb4ab398863113e46234b8397ab8428bd39
27d930caeb6c4b854959673fce7f0722a69b12b862476577fbe21c143bf51dc2
a08e99709574d1a7351d6472aed618a7ad39033356eeadbb150a16f499e044d5
58af46b6c6ae64dc7f720ea2d51cdc72b17a7cf6853f3603d6fb4ac21b8f252e
9d82c9dbe26be42c3b9bcc81bacc2460480c12c119c783c13dd9742ff4c44056
a73fac70a1ede147b3d2b37317972e6b77ace440bb8a81610cf780936adb9924
49c723037d542808c093351ec40e5469f1644b2765c8b03e9537f72b839ab44e
216ce8b3c09534be463fb016d58832e5c4eb1bd2d0ad775007b22b7335fd24c4
5c504b123c666712553a5a8095b30f0d0bb463606e1b773652f70d1cc18b3d87
1240a01f91b25ec1a5c22741c632763dff3cfee7176d0e95fadc0b70a23e8987
80fe847f078e1348e40d784a9268cdca5db2948066a4e8dffbcd4eda65b5ba9b
419a96c8085276e9e341cf598cea6ac6e524d11bf8c63693c5e20b20a43a80f8
669c6e4d43616789ffc61e804a66028f04e5d029b0c6475decc7d4f6aa309e8f
25df661abc284c400557b489a24295cfb46cc4122b890fdf4b2d7f254e3a1777
5661fef3a650d471443d266de66ae4b8f732806d90124761a56df096c380c92c
b1fcdc8c9007a4547c39357fbaf08d3b677f0a79b9c967e627f2278515151594
2a22457b1e2830b6338a9b573b4739a3c8ed460fc71b5fdf52027f24e90cecc0
9fcae54b8ccaa3c00114513bc2448d11b1cc8ff31f3937698fd40cc221a09663
623beca6a69c5fba9d31d49200b9495e2890b57075009c0342f4bfaf5f3a47a4
14034095e038336c10d445083d6d2eff7cb91ef46c61d3fc2d2f5b2300039045
74ec1b83b132c107394cf70c4741a664345fc778dc56e689c63d8c29b91779ca
e8d4d8766642b7ed625c76f03636326cf78f9aa8aa744e49e392507de3335a53
987d76b51bd48176ab3cc630a5ee0214112fe8f48ee5fa905b325293b98e58a2
0c7ce46482a9d9f511c118ba18d1bc505fac643ab3a825ae02fa533220566592
d57b58e523930fdb7965eba7a823757ad3813e51a688a6b5d4105bfe40c870c7
0116cb33d4af228a15d3f2951370c24b3da23274e9835307707067ec7422640c
83899a6e4500677dfbf1c727fcc538bb2760c326e417e82e7b55c03065dec520
a66b76273f2e5cac09912235f5ea902c9b49634c685e215d99fab6782428e7d5
d4dd7722d73316395a5d5862f3d875f6080dd5e6f008e5a8cbef8e4bfe4371a2
322eac5bef60997a058efa75018524a38dc712a38c53820ba4b1693ef1cfc8ec
0eef5de84d6660777744672a74e8deac645ce27b8fcbaeecce7bc682ed7aeba1
50d4b5399260e4c5217c77304a0e0763c4e592225b1816e4993a57f9d7c9e35f
d9f008498a29759d86d0fff5f563102c29ce6374e2936cf6629ec9339b5dd4a4
16756221b5f74595cffb914b6b9e15da83bda270dee089caaffc4fbc21a14fac
a58f1188e808960d7495c3cc99b7016f790c671f11a399190baa644f518ce2ed
35873026dd1149bcd15cbc7fdb71c8e8b704dfacbe65cad50d834b27ea774042
81c922bc8d5a3d5f9713446db8c11c88bd9d4e8d708b5941fabf1b7310f7a4cf
d9e1b22e2f74c296b6a96c876bbd159f6a1aa1292ed84a35ce835f6657ec7669
da8410e2f20f147509140f96737252dd0b9a6edf04b1b52707222c75c1c0b69f
9b44d85a42c4ab3eed641b11a56a7c0d83515a6f62ef0b4b452a43c246327bd1
5ec4c2941133aa27750ccd0a2d6ea7176c6858ec1d7ef472b8131266aeacd6c7
505cd667f1e9cf8da3f8cff570cccae918027d5309ba6c6f01b9096d5493b591
1dd42c86a9902d4df9a5dd2dbd40998e6106a08173ceeea2113316ff0f37a1dc
e5329febeeb98b3d69aa8be4c757c6dc6f4be14f0e51bdb816a76cc95a894cb8
f72b95f11adfa86e0cc159070e4fc63f847fef043ff79930f3fec71e7d24070b
07bd8ed721506e4eae7f636032175d512b48acaf848a13795000a42a21369ca9
bcbbd606f8afc5d83d31f726dc786543184b559c7d8693e65427c2b4daa49ceb
11ddefc7dd60813830087a43d8f9cbf6314c15c97ba7ccbd60f02ca00fe8f8fe
c692455532dc6993bf554067fbd46f22f75820b4f86d25bc80f34949fc2a5ea4
9d684d06b8e273e8e801ed86be03effe1869bbd35b477e9052a75dd4923a95e6

0 comments on commit 98876ef

Please sign in to comment.