WietseWind / docker-rippled

Run XRP Ledger (rippled) node in a Docker container
https://hub.docker.com/r/xrpllabsofficial/xrpld
MIT License
60 stars 34 forks source link

The TX that was viewed just a moment ago cannot be viewed. #26

Closed junghyun0783 closed 7 months ago

junghyun0783 commented 7 months ago

hello! I am posting a question because I have a question while operating the node. We are currently operating a testnet through Docker. We created a TX through our node and called submit RPC. TX information was confirmed through the TX PRC function. however!! Shockingly, we searched with our TX hash on the "https://blockexplorer" site, but it did not work.... ㅡ0ㅡ And after some time, we called the TX RPC function with our node... and the TX that was queried was

{
     "result": {
         "error": "txnNotFound",
         "error_code": 29,
         "error_message": "Transaction not found.",
         "request": {
             "binary": false,
             "command": "tx",
             "transaction": "A9EAE77170075FAD7491B6795FD6BF7DFCFEB13F952B2694D5FDA14A7FAB1AB0"
         },
         "status": "error"
     }
}

It said that it couldn't be found as above... Why is TX, which was clearly viewable, suddenly not viewable? What is the reason? Developer Ko Soo, please. I am very curious about the reason. Thank you for reading this long article.

junghyun0783 commented 7 months ago

As you can see, The result will show “validated”:false. Maybe this is the problem...is there any solution to this?

{
"result": {
"Account": "rNsi7pGJtnwP9fugYfqu2L7JDS5ZBhGjKM",
"Amount": "6999000",
"DeliverMax": "6999000",
"Destination": "rJKHUURt8ctUit8j6Kd9sK3EmBZTfELhr4",
"DestinationTag": 0,
"Fee": "1000",
"Flags": 2147483648,
"Sequence": 44775005,
"SigningPubKey": "ED343A3E8E359CE3AC7983CA873EB42A7005F8514D7A2C6C9009F98E24830CD434",
"TransactionType": "Payment",
"TxnSignature": "F13900B3541368FF8FEC85889D2069BC65FE03C2EE87E031FE7AEB7B590CAEBD0D115F2D59F7B299D60EF8F329FA5DEC61663E237BCD6DFF1B5B028EC9C85103",
"hash": "2A074AD390937065EB053413719A91AF360D382C31EF5949F0ECF86C262283B6",
"status": "success",
"validated": false
}
}
WietseWind commented 7 months ago

This can mean many things.

Either your node was out on a fork, and it never got validated on the actual network, or you submitted to testnet and looked for the transaction on another network, or it was too long ago (please note that testnet is often not full history).

This is unrelated to this docker container. For more information, please see the xrpl.org docs.