Ripple XRP Ledger - 无法验证交易(测试网)
Ripple XRP Ledger - Cant get transaction validated (Testnet)
我正在使用测试网验证我的交易,交易:
{"transaction":"ECAB482EB34177FA1B1E6C724F038C42308004B1F307A169FAEA88C825E11642","command":"tx","id":0}
回复:
{id=0, status='success', errorMessage='null', result=TxResult{validated=false}}
我正在使用 websocket,方法 'tx' 进行检查。找出问题的最佳行动方案是什么,是否有办法查看未在某些测试网验证器上验证的原因?
我连接到 wss://s.altnet.rippletest.net:51233,我使用的地址是 rKHDh61BpcojAoiATgJgDaVwdSJ64fGNwF。有人可以帮忙吗?
费用为 1 000 000 滴。这是事务 blob 1200002200000000240000000061D4838D7EA4C680000000000000000000000000005553440000000000C882FD6AB9862C4F90E57E1BA15C248CABAD5BF96840000000000F42407321033BF063167F21FF6C01045B4E2F03F519879B552D2611F0E885E01F08C88D15247446304402202E90609AAFBF4C105408CFF2377D48085879BEE3C7DE57AF125F73926284362A022002D7A487F5929F9A3E1050FC2B5D6AE1DD5384647AD1ABF6D322765F0ABE0A498114C882FD6AB9862C4F90E57E1BA15C248CABAD5BF983148DC6B336C7D3BE007297DB086B1D3483DEA24C2A
我的交易有误吗?那为什么正确提交到网络呢?看起来它是有效的,但是为什么它没有经过验证并因此在分类帐中最终确定?
Note : responses use my internal model to represent some
properties, hence thats why names might be slightly different and some properties ommited.
'submit' 调用的结果:
Result :SubmitResult{engineResult='tefPAST_SEQ', engineResultCode=-190, engineResultMessage='This sequence number has already passed.', txBlob='1200002200000000240000000061D4838D7EA4C680000000000000000000000000005553440000000000C882FD6AB9862C4F90E57E1BA15C248CABAD5BF96840000000000F42407321033BF063167F21FF6C01045B4E2F03F519879B552D2611F0E885E01F08C88D15247446304402202E90609AAFBF4C105408CFF2377D48085879BEE3C7DE57AF125F73926284362A022002D7A487F5929F9A3E1050FC2B5D6AE1DD5384647AD1ABF6D322765F0ABE0A498114C882FD6AB9862C4F90E57E1BA15C248CABAD5BF983148DC6B336C7D3BE007297DB086B1D3483DEA24C2A', txJson=TxJson{transactionType='Payment', account='rKHDh61BpcojAoiATgJgDaVwdSJ64fGNwF', destination='rDveJyEotoUp9jCD1Ghi2ktEBnhHiA6RBB', amount=Amount{currency='USD', value=1, issuer='rKHDh61BpcojAoiATgJgDaVwdSJ64fGNwF'}, fee='1000000', flags=0, sequence=0, signingPubKey='033BF063167F21FF6C01045B4E2F03F519879B552D2611F0E885E01F08C88D1524', txnSignature='304402202E90609AAFBF4C105408CFF2377D48085879BEE3C7DE57AF125F73926284362A022002D7A487F5929F9A3E1050FC2B5D6AE1DD5384647AD1ABF6D322765F0ABE0A49', hash='ECAB482EB34177FA1B1E6C724F038C42308004B1F307A169FAEA88C825E11642'}}
我提交了几次,所以 'tefPAST_SEQ' 出现了。
看起来您的 transaction
对象中有 sequence
字段。
根据 THIS 你的 sequence
可以自动填充。它可以手动设置,以防您希望通过手动递增一次提交多个 transactions
。
这使您可以控制 transactions
以特定顺序执行的顺序。
如果这无关紧要,您可以不设置 sequence
。
在您的情况下,您的帐户如下所示(使用 account_info):
{
"result": {
"account_data": {
"Account": "rKHDh61BpcojAoiATgJgDaVwdSJ64fGNwF",
"Balance": "10000000000",
"Flags": 0,
"LedgerEntryType": "AccountRoot",
"OwnerCount": 0,
"PreviousTxnID": "12CA4E5AAF4198155FF3F16E53D35353B051F4AB5E01749833202339B48D187A",
"PreviousTxnLgrSeq": 11450559,
"Sequence": 1,
"index": "169B6BA91A54B2EC86EFB618995A59E76F07853BB88AF231776118339FFD7268"
},
"ledger_hash": "449E3420C6B1C6959FA794066264432EF4E98543B0C6582B00D6CD28DE33B8F8",
"ledger_index": 11523855,
"status": "success",
"validated": true
}
看到 result.account_data.Sequence
是 1
?
您看到 This sequence number has already passed
的原因是您在 transaction
中设置了 sequence=0
。 (由 Result from 'submit' call :
提供)
附带说明一下,我看到您设置了 currency='USD'
,这意味着您必须先打开 trust line
。您的帐户目前有 0
account_lines
无论如何,祝你使用瑞波币好运 ;)
我正在使用测试网验证我的交易,交易:
{"transaction":"ECAB482EB34177FA1B1E6C724F038C42308004B1F307A169FAEA88C825E11642","command":"tx","id":0}
回复:
{id=0, status='success', errorMessage='null', result=TxResult{validated=false}}
我正在使用 websocket,方法 'tx' 进行检查。找出问题的最佳行动方案是什么,是否有办法查看未在某些测试网验证器上验证的原因?
我连接到 wss://s.altnet.rippletest.net:51233,我使用的地址是 rKHDh61BpcojAoiATgJgDaVwdSJ64fGNwF。有人可以帮忙吗?
费用为 1 000 000 滴。这是事务 blob 1200002200000000240000000061D4838D7EA4C680000000000000000000000000005553440000000000C882FD6AB9862C4F90E57E1BA15C248CABAD5BF96840000000000F42407321033BF063167F21FF6C01045B4E2F03F519879B552D2611F0E885E01F08C88D15247446304402202E90609AAFBF4C105408CFF2377D48085879BEE3C7DE57AF125F73926284362A022002D7A487F5929F9A3E1050FC2B5D6AE1DD5384647AD1ABF6D322765F0ABE0A498114C882FD6AB9862C4F90E57E1BA15C248CABAD5BF983148DC6B336C7D3BE007297DB086B1D3483DEA24C2A
我的交易有误吗?那为什么正确提交到网络呢?看起来它是有效的,但是为什么它没有经过验证并因此在分类帐中最终确定?
Note : responses use my internal model to represent some properties, hence thats why names might be slightly different and some properties ommited.
'submit' 调用的结果:
Result :SubmitResult{engineResult='tefPAST_SEQ', engineResultCode=-190, engineResultMessage='This sequence number has already passed.', txBlob='1200002200000000240000000061D4838D7EA4C680000000000000000000000000005553440000000000C882FD6AB9862C4F90E57E1BA15C248CABAD5BF96840000000000F42407321033BF063167F21FF6C01045B4E2F03F519879B552D2611F0E885E01F08C88D15247446304402202E90609AAFBF4C105408CFF2377D48085879BEE3C7DE57AF125F73926284362A022002D7A487F5929F9A3E1050FC2B5D6AE1DD5384647AD1ABF6D322765F0ABE0A498114C882FD6AB9862C4F90E57E1BA15C248CABAD5BF983148DC6B336C7D3BE007297DB086B1D3483DEA24C2A', txJson=TxJson{transactionType='Payment', account='rKHDh61BpcojAoiATgJgDaVwdSJ64fGNwF', destination='rDveJyEotoUp9jCD1Ghi2ktEBnhHiA6RBB', amount=Amount{currency='USD', value=1, issuer='rKHDh61BpcojAoiATgJgDaVwdSJ64fGNwF'}, fee='1000000', flags=0, sequence=0, signingPubKey='033BF063167F21FF6C01045B4E2F03F519879B552D2611F0E885E01F08C88D1524', txnSignature='304402202E90609AAFBF4C105408CFF2377D48085879BEE3C7DE57AF125F73926284362A022002D7A487F5929F9A3E1050FC2B5D6AE1DD5384647AD1ABF6D322765F0ABE0A49', hash='ECAB482EB34177FA1B1E6C724F038C42308004B1F307A169FAEA88C825E11642'}}
我提交了几次,所以 'tefPAST_SEQ' 出现了。
看起来您的 transaction
对象中有 sequence
字段。
根据 THIS 你的 sequence
可以自动填充。它可以手动设置,以防您希望通过手动递增一次提交多个 transactions
。
这使您可以控制 transactions
以特定顺序执行的顺序。
如果这无关紧要,您可以不设置 sequence
。
在您的情况下,您的帐户如下所示(使用 account_info):
{
"result": {
"account_data": {
"Account": "rKHDh61BpcojAoiATgJgDaVwdSJ64fGNwF",
"Balance": "10000000000",
"Flags": 0,
"LedgerEntryType": "AccountRoot",
"OwnerCount": 0,
"PreviousTxnID": "12CA4E5AAF4198155FF3F16E53D35353B051F4AB5E01749833202339B48D187A",
"PreviousTxnLgrSeq": 11450559,
"Sequence": 1,
"index": "169B6BA91A54B2EC86EFB618995A59E76F07853BB88AF231776118339FFD7268"
},
"ledger_hash": "449E3420C6B1C6959FA794066264432EF4E98543B0C6582B00D6CD28DE33B8F8",
"ledger_index": 11523855,
"status": "success",
"validated": true
}
看到 result.account_data.Sequence
是 1
?
您看到 This sequence number has already passed
的原因是您在 transaction
中设置了 sequence=0
。 (由 Result from 'submit' call :
提供)
附带说明一下,我看到您设置了 currency='USD'
,这意味着您必须先打开 trust line
。您的帐户目前有 0
account_lines
无论如何,祝你使用瑞波币好运 ;)