Open tidyoux opened 5 years ago
程序版本:1.0.7 和 1.0.8
solonet 节点已开启挖矿,通过 /submit-transaction 接口发送已完成签名的交易,有一定几率出现该笔交易不被打包的情况,通过 /get-transaction 接口可一直查到这笔交易。
/submit-transaction
/get-transaction
例如昨天的一笔:
{ "status": "success", "data": { "tx_id": "6671ea0e1cf00398e85e0d5867ffc93a4892d2faf054c4afecbc648cb442c56d", "block_time": 1554721754, "block_hash": "0000000000000000000000000000000000000000000000000000000000000000", "block_height": 0, "block_index": 0, "inputs": [ { "type": "spend", "asset_id": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", "asset_alias": "BTM", "asset_definition": { "decimals": 8, "description": "Bytom Official Issue", "name": "BTM", "symbol": "BTM" }, "amount": 40950000000, "control_program": "00141fad6c90b1707169617a818e81ffc593438f67b0", "address": "sm1qr7kkey93wpckjct6sx8grl79jdpc7eashv8xcd", "spent_output_id": "a430813c2af839ace6b32afc9f50444d86ba5b56c93175e7cfc26670aa2a9abf", "account_id": "0LI5LIUK00A02", "account_alias": "testaccount", "input_id": "60e417cf150e3f4a6e49f5cac5fc77535b48a5cfac041527e34d8b17c88ecc71", "witness_arguments": [ "074e9d33fc251d0961c71cd769392005a6bb4b37e573e75ef2fe670298b51b6d29150293906283e8d0f290b7b4ce05e31ede4b4017925c0fdb330e1cfa9fcf03", "86b6143086a4e6c2f0e1a57b142e39380c48ee4bc3585454e47b0635479344c1" ] } ], "outputs": [ { "type": "control", "id": "6f96650a0247c46111c662be12f399a604dbdee77c8d340b3aa3223839f99861", "position": 0, "asset_id": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", "asset_alias": "BTM", "asset_definition": { "decimals": 8, "description": "Bytom Official Issue", "name": "BTM", "symbol": "BTM" }, "amount": 40787654322, "account_id": "0LI5LIUK00A02", "account_alias": "testaccount", "control_program": "0014a203d893fefaf0ba69964475fed687b477a47133", "address": "sm1q5gpa3yl7ltct56vkg36la458k3m6gufnjnka3r" }, { "type": "control", "id": "40a4e90ff64c462b85fdc7972f167f0b96521eda1b1c69218fcc9f473cc7083a", "position": 1, "asset_id": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", "asset_alias": "BTM", "asset_definition": { "decimals": 8, "description": "Bytom Official Issue", "name": "BTM", "symbol": "BTM" }, "amount": 112345678, "control_program": "0014b602e70972c7e3c89af21f2b3ccf18b21292ba43", "address": "sm1qkcpwwztjcl3u3xhjru4nencckgff9wjr048lgl" } ], "status_fail": false, "size": 664 } }
neither 1.0.7 or 1.0.8 is under maintanence any more.
is it still a problem when using 1.0.9?
未被打包的交易input使用的UTXO可能已经被其他交易使用掉了,可以去查一下这笔交易input的spent_output_id是否还存在于UTXO列表中
程序版本:1.0.7 和 1.0.8
solonet 节点已开启挖矿,通过
/submit-transaction
接口发送已完成签名的交易,有一定几率出现该笔交易不被打包的情况,通过/get-transaction
接口可一直查到这笔交易。例如昨天的一笔: