Skip to content

Commit

Permalink
try different transaction id
Browse files Browse the repository at this point in the history
  • Loading branch information
prahaladbelavadi committed Mar 30, 2018
1 parent 0e7bc32 commit 165c036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion myTest/blocks/blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var assert = require('assert')
var bitcoin = require('../..')

// from 00000000000000000097669cdca131f24d40c4cc7d80eaa65967a2d09acf6ce6
let txHex = '010000000001010000000000000000000000000000000000000000000000000000000000000000ffffffff50037f9a07174d696e656420627920416e74506f6f6c685b205a2b1f7bfabe6d6d36afe1910eca9405b66f97750940a656e38e2c0312958190ff8e98fd16761d220400000000000000aa340000d49f0000ffffffff02b07fc366000000001976a9148349212dc27ce3ab4c5b29b85c4dec643d764b1788ac0000000000000000266a24aa21a9ed72d9432948505e3d3062f1307a3f027a5dea846ff85e47159680919c12bf1e400120000000000000000000000000000000000000000000000000000000000000000000000000'
let txHex = '01000000012ad2438bd80f44912b5835cc636ccf4a82b4d88a4d19295fc1e888a21ee03273120000006b483045022100b27cd88b27849f19027c6838016a70ba95d33a6eac638006cd97c6c23da17aaf02207a772c1e209d6d283f9eb29079c4d238e9a2d8bb1630f52c9d28698290f9b9b80121022c7b4de26d782dcd2734d60b66794bb8c4feb1569b984e33f7c0972576dc1c3effffffff02bca61e00000000001976a91460d81b22c243fccbb4549ffec6df00f44f8bc5be88ac1cea7100000000001976a914531ec7bce6cca075dab446f25d6d92473d9f399d88ac00000000'
console.log("Transaction Hex:",txHex,'\n');
let tx = bitcoin.Transaction.fromHex(txHex)

Expand Down

1 comment on commit 165c036

@prahaladbelavadi
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prints out details of specific block in which transaction is included

screen shot 2018-03-30 at 3 05 19 pm

Please sign in to comment.