From f4426ba8d3474c73931118404611a66c5b70e268 Mon Sep 17 00:00:00 2001 From: Pavitra Agarwal Date: Tue, 30 Apr 2024 00:11:04 +0530 Subject: [PATCH] merkle --- main.py | 1 + output.txt | 8 -------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/main.py b/main.py index a8f7d80..c3fa703 100644 --- a/main.py +++ b/main.py @@ -191,6 +191,7 @@ def initializeTxn(txex , segwitness) : Coinbase_txn_serialize = ctx.serialize().hex() Coinbase_txn_id = ctx.id() +block_header = block.serialize().hex() txcount = "FD"+int_to_little_endian(len(txids)+1,2).hex() script_directory = os.path.dirname(os.path.abspath(__file__)) output_file_path = os.path.join(script_directory, "output.txt") diff --git a/output.txt b/output.txt index bd056a6..e69de29 100644 --- a/output.txt +++ b/output.txt @@ -1,8 +0,0 @@ -020000200000000000000000000000000000000000000000000000000000000000000000e016e1851957a9a69e138c34bf5c67fdf83581514903d012886f1c3d9d0c54aad9e52f66ffff001f0b047995 -010000000001010000000000000000000000000000000000000000000000000000000000000000ffffffff6a47304402201f6e9296e322013f90f89433926509a9ff686ce91452679c82c921cf18257c95022027497b1354b4dce14b3e15d2372c69d6323ecfad9cbc0c8bb20d8d8d088fc22001210224c6633127ca04e9b678ae7d106a9828ba2aed9a402eefae69f52fbe7a065699ffffffff02f595814a000000001976a914edf10a7fac6b32e24daa5305c723f3de58db1bc888ac0000000000000000266a24aa21a9ed0743cafb2ad89219798f1b2651467d2f6256998e493800f2560784f5f1bcd4670120000000000000000000000000000000000000000000000000000000000000000000000000 -FD0600 -49a6af777488f947e2b6e2e0ab87f56f44cbfe8280c4dfd9c7c5d9c1b1291f10 -11b26c7d7881bae8dfd0378c0a6144f6a9480f68eca67c9e9c1347a5baef105f -7caf72c076992de5bb24db15004c97da0c135910eb85986ea106de9b9a750b05 -1bead20256df5fbe932c987cc8b2fbc90c74ebc945f8951a1793172b8dea40dc -fbcca1ef33984eaad190fb0f481ac0f8c9d2f0baf7718794ef596f74abef2837