diff --git a/mempool/f84e5527c5cb8226d3f31894b406b6a8a5b9be769f1b5ec988286bfe2819f7e8.json b/mempool/f84e5527c5cb8226d3f31894b406b6a8a5b9be769f1b5ec988286bfe2819f7e8.json index f2a3744..89a69ca 100644 --- a/mempool/f84e5527c5cb8226d3f31894b406b6a8a5b9be769f1b5ec988286bfe2819f7e8.json +++ b/mempool/f84e5527c5cb8226d3f31894b406b6a8a5b9be769f1b5ec988286bfe2819f7e8.json @@ -3,7 +3,7 @@ "locktime": 0, "vin": [ { - "txid": "a7ed2af034a3904fffeb9ea98f0fed90c683c323e066e6c8e3d0494bbbb5b18c", + "txid": "", "vout": 0, "prevout": { "scriptpubkey": "76a91459769a1a9528da6cfd3893b9392290f1f600e67188ac", diff --git a/mine b/mine index 24b4156..3672f11 100755 Binary files a/mine and b/mine differ diff --git a/mine.cpp b/mine.cpp index a5516c2..9359780 100644 --- a/mine.cpp +++ b/mine.cpp @@ -43,6 +43,7 @@ void from_json(const json& j, Output& p) { j.at("scriptpubkey_address").get_to(p.scriptPubKeyAddress); } j.at("value").get_to(p.amount); + p.amount*=100000000; } void from_json(const json& j, Input& p) { @@ -100,14 +101,14 @@ std::string serialise(Txn t) { //inputs int in_sz = t.vin.size(); int exp = compact_exp(in_sz); - ss<