From 6d12f0bed4bc9a24049664e959a4338ea95a5e15 Mon Sep 17 00:00:00 2001 From: Sudarshan-21 Date: Wed, 1 May 2024 08:57:51 +0530 Subject: [PATCH] block weight increased --- main.py | 2 +- output.txt | 179 +---------------------------------------------------- 2 files changed, 4 insertions(+), 177 deletions(-) diff --git a/main.py b/main.py index 4d1345e5..b61ffcdd 100644 --- a/main.py +++ b/main.py @@ -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 = 3900000 # Maximum cumulative weight allowed (4 million weight units) + max_total_weight = 3700000 # 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) diff --git a/output.txt b/output.txt index 22ef27d7..3cdb9d8f 100644 --- a/output.txt +++ b/output.txt @@ -1,6 +1,6 @@ -00000004000000000000000000000000000000000000000000000000000000000000000059f916563a60fa0950bc75d829ad57769dc27c30dacc69d8cb1629a0b6b1e15d3db63166ffff001f7bfe0000 -010000000001010000000000000000000000000000000000000000000000000000000000000000ffffffff2503233708184d696e656420627920416e74506f6f6c373946205b8160a4256c0000946e0100ffffffff02f595814a000000001976a914edf10a7fac6b32e24daa5305c723f3de58db1bc888ac0000000000000000266a24aa21a9ed3208203c4b39dcd5bf2bbf0ccaa7513374b022d9731a2401073760f45432ce0b0120000000000000000000000000000000000000000000000000000000000000000000000000 -cc112d97e1a3de5b4ad76ecbe31622013cfcb40a1d43bfe8aaf5dc27d5b612da +000000040000000000000000000000000000000000000000000000000000000000000000ca8cfdfa2790ea20841fd062bccdd2d82e156a2ddc1e1dc2e1db0aab7e86ce8faeb63166ffff001f216a0000 +010000000001010000000000000000000000000000000000000000000000000000000000000000ffffffff2503233708184d696e656420627920416e74506f6f6c373946205b8160a4256c0000946e0100ffffffff02f595814a000000001976a914edf10a7fac6b32e24daa5305c723f3de58db1bc888ac0000000000000000266a24aa21a9edfbcbcc3566d233135e49072a000680db5631c7e90b48321cbb86035b539f1fc30120000000000000000000000000000000000000000000000000000000000000000000000000 +b24e938319b285d2492e16c9ba82b3cc7bff725890bec5e90aeb0fe43528fdde 25ce6b8d39d02471c43a804569a72015e81f3400170c1b8f5418e6938cd60b74 34845a0f5eca756d7768ee2f03186ec4d73d86f9ebeaaf96abddf8bb733641b6 93bba324688af65b727f0c9c08f0fb45e2a2389b269939b1414f4818b071c598 @@ -6257,176 +6257,3 @@ dbd0d055e7ee5b3d209f9f9b45e0732a897125e27589e3ccd315684a8b9a7b50 7eb403d3e797b816fe7c0d1f79f1c0d20281720c5333ef58547a3cea1dbe8559 db2f75a85f998bac1232f10db58486d22ec9dca7eb74ec701d0c3109420db333 d00dcaabb6665ffe310c7715d47c253d4c1363548865e13ccab1e8731961e43d -0cec7d226aed1c3870e0de46578db89cb7b52f485689b180e13eebc1b0c72813 -827d08ebda90e1c613b0ecd9e75fa046792cc459695852bb0c28b8771455f6ae -c9245a992a5dbb470c0df0a2aecb46e0aaf90c80ce3aa0b67f615985ce0d704e -000069f5fe057c3a15780b7f5816835ee67da2f6b19d1c809823e8f0d7b199b9 -00e2ad0165ccd45fac719469ee67e6e112520cbc3b60002b630eeb2042a649dd -8888888f9abebfc5c91827e4a2b74134d3ca4afc5dfe5c39bb1bc86688705e81 -3177a9c12c5b6c5fb8d8fd0a5e180afb28f40c107381fca2f9cfa85aa9d09875 -8888888cbdc0354cf161a0667703a689e80b52134f6dbf35df2bc9c0f46f9430 -12a6bff9d294949afd4e5d8188531666e9df4ac951527ff4faa161a35c03b8d9 -8888888b4084dbce3865a4a66115712b632611c76c21e8e5fc990fb03426213c -fffe2b35f54fc10993124ebf3e88349f4f2489c43f2c80557ce3ba79fb198e3f -b4191f640c3af896e2200194ab0b818c9c372e23778ca79fef9820cfbf860ad7 -f79855e919a6544776db70cb78b112b69779ac5610796545aab268f3c4ef6139 -f01ad807f854a6930c0300298648b2912b524ca6b7ddff12f8b8a16c6dc7f133 -dff75bcf43b8b0962e1e21838cc6e2d00a6ef02d95a9c6ea785c37a40bd56413 -94052cdb1f806c294db40dab2127ef4b77feca60e159264bdfbec5aa16a7cba6 -a17ae3aec0614d3d926113f9b0b8d4ebaa223ab0cb40fb6bd03cb1c78938bac1 -830b8ea98a57dbeab4366df7ed2a5ba68d0f475564874434647777ef4b521092 -f5c9838df3b8999b87fb1a59c7b65292cdbf4adca57dabd365121b17faf5d814 -084b469a565a8db2db7db3f367df813a0fe251a313ecf9a20363b7bcdea13a6b -3ec4396863837402f0637ed078eab5edd7f2d837912110d096bb491f30495284 -6ef750f503d3cb43bee4aef0ed8b8140873a1f71c6a95e2e7e583b2e2aa41a2d -bffd60d9b05c57c55eeb9247d07980b46b29363ecce91ec21819a75c3b1f276e -f916591fdced3e6f86599662e46965250d7db1fe3a6bfcae64b23ea1afc10991 -6651596e9d5122ba68661c3566750ced7fb018776b84b595b65daac168f14780 -d65d1f550b9a5ce05cc9b84ca23b35896337761f47c76c9124bd58cd0c0369cf -269e84d6dfa82637c0f00564c3dd3ae1184b5c9b470de45a4c2ad5d58a2b781e -5273f51ca9d8193d91172ab050fb1f21cefc2691d35973cc04231456e1ddd418 -12400a09921cb9614f78f65f27d0aeb0857847bab0455360aa1eb67afeb26781 -b2561c42301a454fb19496d17c2720be1175c3f71f56d0941b7df8b40e372a95 -d63e5aa48b96bcc0d1a5d9296fc77c637d20bf1de5b4fb102c8bb0bfda46774e -12401b089262bdb9f05d136a884a456a75e2601db732c5f79f37520b52e6d02b -8ea7e3f69f12b63e0a86f5a1cc3098afc16add4a6fa456b50e24afb406b7438f -6b4095b2acac170547138b28c988d0477b0e6d94d2e5335921d28aca26e9986c -36a7ce5b8f6434eb4e68612408b7d6062fc985ee562830cabec961edcfb6da08 -8f2bea76e84bbd50f2653dde51904cd9ec30fb30a3cf7ce63c8117e66cb1e42e -cce0fa6785ec4c856c00c699fffb1cbb12bc2a971ec0dbf6f43c643f775c6184 -651115ddd2f7493147ce19f013a632eab30c5dd40ecb31e886663b2470f0ee5c -a0358a77ed6b05eec6b337f5b71e11d1f7bbac5b40898260794b6cc224310d91 -89e720539f7e9781d38d9980addfe983a137a69e00a7d9aba911de779d70779b -903ad787eb000ebda9b7cf38c3895051e48f4ef2994dbb653ba6b5d33f339c38 -095e2fd1f5631c484bf398d7e00357b7bd94de95e4f887a92623972e08a98f7a -70d05630fe5c0cebada73d1d8438805fe2c74c137ad357b0ac6c7727d416b5c3 -43bc81c17a29e9b7b68da8c63c1e40274f0b97ea040d2375293032df0c608b3e -60c6152d23992b6a624b064e0255d998f97ce19d855e6e79733ab04d64f01816 -1f809b1be8eb29e52176a40d6fbc23b0050443e919e00a0a4e27945b683ca2e1 -0df37a82c00ca6816c1b9831495919b07b3b50fc6faaaa40927d21a900eee47b -a3c009dcf80fd5ab2116acc2a403459b777c2d4ba7e98cc92fc5d4c8afa7066a -8af23c9636af900f3a7e0f66fd227919b1075c9989132588928d3219a84d4547 -6ac634e681e2db6f603e45e1296da486d7e98f4ba8f0b4ef3a6e7680b79bbb57 -00000964b698b728022e6d180add7b2c060676e522ab2907f06198af7b2d0b99 -bae8c033dcfddedab92dbc836025296391f739eb9844db8660bcc04824d11e14 -95db7484473c415b6f6a1d204bb5c34fe290996d1d3825fd9189ffaf79253d7d -288e69bace0c84bfa9150c95b2f75d797e2ca716b1b08e6a989838fc6a56d194 -52315209f35f31f2be2aaca425f314a11709dc1e63d0796b9fc2b0aa60d36cca -ebae7fd743805f3d838d84ee13243bec5348d0f43d74cdc54c7440ecacd9e4c7 -1a516bec4ff0b77e462dbb992276c2ba4e659c0d2a79602ea5bb76a5a4d65454 -80bf6b9feaeba53ac4bcdb7f7f1d7ae501575d333700eedf1b9d6e4d291d0ac9 -c053392fa38e65299d35f2a785ae75b0c178d11ef8596bd1496f9860d9e56666 -c4e992af01a6531d713170bb54545ffe5255bafbb4f665fca959610617385f5a -1b7ac75e5bf95d216dadc1d480531bfc940ef64ed90d61ac91ee31241071a78b -acb8205b697427c87aadef83574b5abce930faf83b6bf499784ba3e396059bca -fe4d72e05e76c5314204f83a4cc7d3e3f6f790ba6be60a0c5299d51957001393 -86b602dae84b49526f5ba1ed6f85bd4bb2e51cab2c85f7c457a6a94ccbebe3f0 -9e13fc11f5af497bb5cfe0421ae6d53931349448c33ae556b028da9f8d2ad3e9 -bb1a4386e25f7ce880cc74ead709b09d5c59a5a5dc0264ffb9c75bdcf5aa76a9 -b9555893a89c1d1afe281ef5b86f8d5e99256c35bb0103cdc6fb8c5a703a0d76 -cdd158c0a0d82bdff5b9f301264c7d2e79e47570651f67f0836cfb3ad949b214 -f1b994fc964f19fe34bc07b9be1a0f5a9fd93bbe41264b643a63b1186f1850bf -aa38fc0507ca3ce3ed337906c6664c65f1974a2c900d7780cbe2db5bd7082d65 -09bb5719d8be69ce54d400083ffbb9a19bdec1c176e4a47873886d800d557864 -b992bf15e21b2b19c096254cf769831af79647f15b76624f9f9e137e1a68242a -31da124d841a44a0b84ca12cc05a2651588cda0b92534d75c9bc12d3b79ce3ad -4222afc57e02b67576c5fa6e010f64760614f9c6a8ab280e2a2ce51611cbdcb0 -7ca0200f96e830ffb47c0edd493b72ae92157eaf9eaed1502ab379e7d53c753f -808c759f58afcc8cd45273a76329dd5af35bc3338f0d43f57c6291096500db32 -5529b79da55654025f9cfc29b3602222ebe626ba4ec6921d20b4bffc65b92b12 -1aa08b068d7ff1837b867dc9a73f4dfa2d4b3cca25469f81e1b75ba8574adbd1 -9ecba077ff031b53218ceae09277c165404a22c67ceefa7c1afa31d2b945eb45 -6d6fa8fa6a2d20c046ffb2cbd5d046885f1e9d199b630a672f4a5a6b0ed0eadd -f3f8b6d2a2b56bd5cd2a6bd1a49ae88b49fd7bc3c7c54b6913847eeaf3968d53 -cf0e274c70ebaee91a66d6811fed32e503710ba405f32966cea37de5053463c1 -ad2cc93708ce804a7524b9f0a1d633a27188fc6f5133f455f0b517572b69981b -9828454f217cb6808a10723946e745053d79f21ab32a3c63d844d1c14981415a -851a10c20be1bf696009b7452283a1c1801ae3f628340a366511f972cb27e709 -027353de3e541828ba02911bb28648cd5b1d2a22fdb32aad88155356a71e07c2 -db63d9e2e47a293ad7c0cbcccf38db5efd651c29573ad26c39e863b71bb228c9 -7e316d5231638b3bc0fc590d171ea52935f2ed0226dad161cffba84203420146 -22de4ee65ad0bc338d55ce11dee17d4f421ba72a6c9c0523009a8ba61f5237f1 -0697aefb8dbfeac95fd51c3e0ed814d8cf6779c144b853bf36dc3839b4fffd1a -29fd68962c30655aa6ef9b192d19649b133468999480b2d1fd4ab8fc0b535a30 -d0060cc3b53efed24564faa7a69ed3e862d5c206751db52ea6471adf7fd110a4 -4c0b76b28dea3f61e38e4e177a2a12353c92eab2fb1afb463ea29e512ab7ffae -33a9884f1cba9523839cd763b71377bcacafd9eba5860437691fdaac3962187d -8f9750b86c285722a1eddebea0ba0a086a477d144fc6e5ed0d04fb46ca9c6558 -8b8b6e6ef79ee377cb877ec25de30e975444ea26d97aa5fd6a5728897491b59d -b71aab2ad564cf6c9e222aa6ac387f85f77480d2902bf7797fa03e1e8007c3e3 -b7a53f9f0dfdafce5343552ecd953e5bc025d89e9d960a74a477745798beee83 -ec89ce698fbdbd8d16b906ee2c41cd73a7a615b3675fe8fd7cb176ccbe202b14 -900ec60f825fb759438b76088b34a45d4760ece68878a1589e743747ae4cadbd -7720c1db850568c67822c3c95d3121241c54c1ad6bc95a14427eb36a98d4f4dd -bc9e2ac144171f145f4c537054e91cb2d8dfa3e39bdc34a541ea971c393e53ac -62fe449d1d5f8e12178d10b53ee448060096bd5f3d8d26c71705eb7913d68176 -a07e1e086f9d0e93ac6e98a5923d88d57414438481b9671cbfeade4dd1ebb531 -0a3fa2941f316cbf05d7a708f180a4f7cd8034f33ccfea77091252354da41e61 -7797f3a58d73c3ab36bb88215437846dc662b64120f977fa544b72ea8d321030 -21140d69e8ed63c485e036e3ba4003d4377984069f00a4c9d4678e5643418791 -64ffbf80f80d993e26580470f2304e49933baaaa1e482f9ccda78e2e993e5e62 -89340f47d618eeadebce54ac293b9e0c360b27fdfcb1fc1ecdb3528fee8404c2 -74a38ffbb3138c92f5a2797cbfa829b78e94e8f426b8f79d4a46802e39dc56dc -20c2c39b963dec9798cb967a4f1f299b8e432f8efcec017d65d53659e7adcd7f -26f80bf0a0ed9784cd84a8332a0c609864fc69d982b0f86b9bdec605107c50da -90be57e7b35ae0d4a53a56e52170562d756962dd09b8dd94fe9c5a41fffc4894 -ea79c2ae945c08f5c45c526928d9ae05b297b272121a590e465a36c3039690ca -19b15029b708cccfcd81d68cf1196e6577c010e7b72b270f3e4b2dc3067985f9 -e52984bb6962c7885407710b5850f2adca1c803830a8c9ea1c44e412be9696b3 -54c6bb6ee874eebd44fdea66ea5fd8a5e71339ab453f6874ec78250426aa8ab0 -13a46ba2972b11231cd044e20d13b4bf34c3271225b25185189217dcc717107b -5966efbaa71d6d6edf5e87f67855854b8d71cd0503d1aed2f8c01aa3c94568a4 -51767f184ad3e3e96c7eea385e948372e9ff8f084ca0ea42aee6aa294a40d65a -1799a808a2a721cdab00a7bb5fc052bfc601d5350d436298816af8d500a7925e -d036ea10494c005cb7951d49d6d3467043bdad638731cbfd460a8cfc65f380e1 -acb1e7146622a4aee93dbf47a8d969ea84d0f47e098d82e6e975afdcc3eaf47a -5499bcc9db4bf8020d6a3b02fd042587cb48ea4c47ea693d707b77b80f21a1b0 -c80ef2b6af0e59b5bd72ef6e1ab2e2989e90c9e0a0dcec450ab4c68187db83ca -b9f225e49edfab33ec836f2f67e8cf8fe62be882b5db7d70e3ac7f128f13634c -a4c76d472dba14970f9845be99e5f87c250f0296c307e5b3b80c1f1c3f677ab8 -4c275235574283f7e254c6aaead2585919b306f7ea02ba657e92284b41ff166c -3cc865c7a44cf2b8f869fac5505ede66aaa618bb532ca698912971ea8ca91736 -89207ea8dce53ae6c135327149228e42ae1ad6c4ab3738833c98a1489b86b924 -4c512f1b316fe78347d90484cdff2a262255d69d4527163b47bf63fb857d7090 -cdafcca089590bf2f114448a20560127cad8a038fc9dc4db56592c3c8ddad976 -eed646436901ac04c641fec1deac91ad066a598c5439aca005b8b56f70dd6a2f -9f3c861dcb2ccbe23cf03c9d32f1e17186b42bc48c34471c0c6cd6b3c0a1109d -d773020f9d2824a4cce3b50d8de0699498d9363f9d60297d0ea4cd7567e1ad9a -022ccbf697879b8abfa031a5ed7b93a67031c3b3770fea0e7d0d70a0a3d7b40c -df5a0a51a3c6a83e7a497da2ba7bb15ac6cc285973cc2f0f1d0fab091c14944a -f04ddc613ccae8b6a9e7bdbb881eced724558d16afb8033d149d4aa1a1dbdffb -cc9f421202086446002d6abdb57d7163666f98233995d6ad6d69e0c75ba704f0 -1ffef8d3834dd4af2db7f378940e96d850a50dc857b8456515da08ea59b42f76 -2e8ec197d28e2e290e77067caad46e6ab6b66e13ce14b06d6885b444573335bf -60d1f65b7c56509489e319ef01f230d989aed738b9d00e9cc081314c3f87bdba -95cfe227d908b2d4dbb9639713305c82ebfbf2dace04a58674c630eb3a05cbbc -d46dcb999054ec2c83bbf25ae43df367039bd19876649758cbf71fd5b11fb231 -195671e6f4a1d6e07c54c31f45ef210642fe05b3ab06011a8d9ab722bdceb0a0 -159f308bedeaa90a53c901834aab7627c3d97dece38cdc859e3996dab81aa554 -7bd5004a318336ad0970a8377ea362d3456deff57a341754c5e98ff1456fb6e6 -20794f00c313260de3350ac0529b69deea7f69c4849834dc4c28339e2b9d89fb -5de644c2ee046ac427826427d4f6adf9d68af70a45698308c70ae367b264834f -045e7f4ba9f87e2735eac593f73c5a26bf5428ff2781072fb4919d33a70ca17c -5dc788a912b206aad5f17c0f7208ff4c147fd456b0956c835cc66a90453a1339 -ec379d256b8492c14ba9156bc64a31826f3f4c680f4d9dcf1b14b590fd272abe -a1336bbd99a29ea2f67ebe76fe412ab5ddaedda6ab558b691f3d4a70e4163dc3 -cfa9e00f6f298bd911857ea037d09e2fb42b0a5145452ade9b2d9b8464ebb6f8 -d374baf28591560f2bd5305b64f37e8629d4ebe5ca125811142ada697fd81f51 -0e5e00559933b5929a632ae4f9d86fcaa6b26d6adcd06438ee1594300931a574 -d49bd7700a985e30c04001a792b558609fc28b41bd6f1921869c8c45fbe7a7bb -665e701e426304253cb6c6c0e18a892857b2889daf06067ebbdbf6ecc367cf48 -ee6adb001486f606e9a194c99a62cf8cf822a557d99808136f278d01538f57e5 -dbe7adda97cddf73eb63e8f8e08325d86d086c5986a674a26dd7fe72b64a826d -52728973666a8b29d75923e5d38ca49a7aea947a5e445aee98c44d68966a0d5d -1248ea75ce4301c6c7e3a0958afadbcaed1b68f3c2ee3910c8b8f30dedcecd56 -33f0fdf01081fcacd1a1d78204b1086c50d9d8798e7b216c6835c0bd8114db54 -6e073224626983fd621175b5c129f072ce5337239a7abf2fb23f40f30389df84 -7c984fbf2f922cd11ddaebd62e14206306993bf5d89fa28ac073645d0d6b5bd0 -b866d800240625b5c598208e6f401f62e7a7eb6f76060490b8e432afb4d80d08 -de4b8ca529bbc4174315df77d5c5b7c4aed351cba404b04ac4f48145ffbd0e74 -2beebb1b6de5a861d9e9f86585dfe42f8a9218d714dad446f3e638c567d175b8 -64964edc9baf9425b08b211ff7ddcaf6453e39ce17877bf9cd8c6bf9463e53ad -9133fe13ef45607c92a68d3c2a9ea8a5a2a9ce95c603a51e60bd03b1de7d9a30 -2834f7559dab12bc93227ed3c027b3386186b310a77d8f24098a272dd5c874e3 -bf1f5733c9ea086f29b9084d4d2d3ce9c6206255e69cef40d6f1f80232b7f744 -8d6a071535c5f2f1654530d2a637b206f49da89589201ea8f0c7116d8539d32f