Skip to content

Commit

Permalink
merkle
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavitra Agarwal authored and Pavitra Agarwal committed Apr 29, 2024
1 parent 21f5355 commit f4426ba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
8 changes: 0 additions & 8 deletions output.txt
Original file line number Diff line number Diff line change
@@ -1,8 +0,0 @@
020000200000000000000000000000000000000000000000000000000000000000000000e016e1851957a9a69e138c34bf5c67fdf83581514903d012886f1c3d9d0c54aad9e52f66ffff001f0b047995
010000000001010000000000000000000000000000000000000000000000000000000000000000ffffffff6a47304402201f6e9296e322013f90f89433926509a9ff686ce91452679c82c921cf18257c95022027497b1354b4dce14b3e15d2372c69d6323ecfad9cbc0c8bb20d8d8d088fc22001210224c6633127ca04e9b678ae7d106a9828ba2aed9a402eefae69f52fbe7a065699ffffffff02f595814a000000001976a914edf10a7fac6b32e24daa5305c723f3de58db1bc888ac0000000000000000266a24aa21a9ed0743cafb2ad89219798f1b2651467d2f6256998e493800f2560784f5f1bcd4670120000000000000000000000000000000000000000000000000000000000000000000000000
FD0600
49a6af777488f947e2b6e2e0ab87f56f44cbfe8280c4dfd9c7c5d9c1b1291f10
11b26c7d7881bae8dfd0378c0a6144f6a9480f68eca67c9e9c1347a5baef105f
7caf72c076992de5bb24db15004c97da0c135910eb85986ea106de9b9a750b05
1bead20256df5fbe932c987cc8b2fbc90c74ebc945f8951a1793172b8dea40dc
fbcca1ef33984eaad190fb0f481ac0f8c9d2f0baf7718794ef596f74abef2837

0 comments on commit f4426ba

Please sign in to comment.