-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
parse transaction data using nlohmann-json library
- Loading branch information
1 parent
628693a
commit 43123be
Showing
8 changed files
with
187 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"files.associations": { | ||
"iostream": "cpp" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"tasks": [ | ||
{ | ||
"type": "cppbuild", | ||
"label": "C/C++: g++ build active file", | ||
"command": "/usr/bin/g++", | ||
"args": [ | ||
"-fdiagnostics-color=always", | ||
"-g", | ||
"${file}", | ||
"-o", | ||
"${fileDirname}/${fileBasenameNoExtension}" | ||
], | ||
"options": { | ||
"cwd": "${fileDirname}" | ||
}, | ||
"problemMatcher": [ | ||
"$gcc" | ||
], | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
}, | ||
"detail": "Task generated by Debugger." | ||
} | ||
], | ||
"version": "2.0.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,28 @@ | ||
{ "version": 2, "locktime": 0, "vin": [ { "txid": "79593e210f4e7c61be57dfb6c33541ab39513a3bb964737c8e8c988bd395986e", "vout": 1, "prevout": { "scriptpubkey": "5120f6dcb2b44ee298462ffc8dd9d7b969d660ddedd98ff31dd3be803b699aea9416", "scriptpubkey_asm": "OP_PUSHNUM_1 OP_PUSHBYTES_32 f6dcb2b44ee298462ffc8dd9d7b969d660ddedd98ff31dd3be803b699aea9416", "scriptpubkey_type": "v1_p2tr", "scriptpubkey_address": "bc1p7mwt9dzwu2vyvtlu3hva0wtf6esdmmwe3le3m5a7sqaknxh2jstq3vztqn", "value": 593313 }, "scriptsig": "", "scriptsig_asm": "", "witness": [ "7c6982626a43525e568d328824702b3743b112e40e75293b3162b182c41e7754d481e911839b211cb7547f266814afa911eea85676f69722c1f268410a75f864" ], "is_coinbase": false, "sequence": 4294967295 }, { "txid": "dd006a4a306b45dab04fb249be9449caae04df24269b60afd443238729260d56", "vout": 1, "prevout": { "scriptpubkey": "5120f6dcb2b44ee298462ffc8dd9d7b969d660ddedd98ff31dd3be803b699aea9416", "scriptpubkey_asm": "OP_PUSHNUM_1 OP_PUSHBYTES_32 f6dcb2b44ee298462ffc8dd9d7b969d660ddedd98ff31dd3be803b699aea9416", "scriptpubkey_type": "v1_p2tr", "scriptpubkey_address": "bc1p7mwt9dzwu2vyvtlu3hva0wtf6esdmmwe3le3m5a7sqaknxh2jstq3vztqn", "value": 10704 }, "scriptsig": "", "scriptsig_asm": "", "witness": [ "c2ed1bd63aa5e6e7d094210615d01cfcd74d87ffeb2232fb909f34dc661300e1ada70e6deda0cf3a05d390820a89b247d2115a59502eb82f1ed619ec929a2acd" ], "is_coinbase": false, "sequence": 4294967295 } ], "vout": [ { "scriptpubkey": "a914bf98ba19c45f75bb76b50afce91fb5bb7276bd7787", "scriptpubkey_asm": "OP_HASH160 OP_PUSHBYTES_20 bf98ba19c45f75bb76b50afce91fb5bb7276bd77 OP_EQUAL", "scriptpubkey_type": "p2sh", "scriptpubkey_address": "3KA5wqaDxNSkEWKdmsnx6jxJBKtQXuhM7u", "value": 600107 } ]} | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,41 @@ | ||
[ | ||
{ | ||
"version": 1, | ||
"locktime": 0, | ||
"vin": [ | ||
{ | ||
"Name": "Test", | ||
"Val": "TestVal" | ||
"txid": "3b7dc918e5671037effad7848727da3d3bf302b05f5ded9bec89449460473bbb", | ||
"vout": 16, | ||
"prevout": { | ||
"scriptpubkey": "0014f8d9f2203c6f0773983392a487d45c0c818f9573", | ||
"scriptpubkey_asm": "OP_0 OP_PUSHBYTES_20 f8d9f2203c6f0773983392a487d45c0c818f9573", | ||
"scriptpubkey_type": "v0_p2wpkh", | ||
"scriptpubkey_address": "bc1qlrvlygpudurh8xpnj2jg04zupjqcl9tnk5np40", | ||
"value": 37079526 | ||
}, | ||
"scriptsig": "", | ||
"scriptsig_asm": "", | ||
"witness": [ | ||
"30440220780ad409b4d13eb1882aaf2e7a53a206734aa302279d6859e254a7f0a7633556022011fd0cbdf5d4374513ef60f850b7059c6a093ab9e46beb002505b7cba0623cf301", | ||
"022bf8c45da789f695d59f93983c813ec205203056e19ec5d3fbefa809af67e2ec" | ||
], | ||
"is_coinbase": false, | ||
"sequence": 4294967295 | ||
} | ||
], | ||
"vout": [ | ||
{ | ||
"scriptpubkey": "76a9146085312a9c500ff9cc35b571b0a1e5efb7fb9f1688ac", | ||
"scriptpubkey_asm": "OP_DUP OP_HASH160 OP_PUSHBYTES_20 6085312a9c500ff9cc35b571b0a1e5efb7fb9f16 OP_EQUALVERIFY OP_CHECKSIG", | ||
"scriptpubkey_type": "p2pkh", | ||
"scriptpubkey_address": "19oMRmCWMYuhnP5W61ABrjjxHc6RphZh11", | ||
"value": 100000 | ||
}, | ||
{ | ||
"Name": "Test2", | ||
"Val": "TestVal2" | ||
"scriptpubkey": "0014ad4cc1cc859c57477bf90d0f944360d90a3998bf", | ||
"scriptpubkey_asm": "OP_0 OP_PUSHBYTES_20 ad4cc1cc859c57477bf90d0f944360d90a3998bf", | ||
"scriptpubkey_type": "v0_p2wpkh", | ||
"scriptpubkey_address": "bc1q44xvrny9n3t5w7lep58egsmqmy9rnx9lt6u0tc", | ||
"value": 36977942 | ||
} | ||
] | ||
] | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters