[Bug] Transaction hash changed to another after some time
See original GitHub issueWhat happened?
2022-06-22 about 17:30 i sent some Chia to address: xch1uk9a4fdyhacrg9y8kqqan3rw4fwefzszyjpzruj7tmuhm32h0ksq59xwkz
Then the transaction hash was as follows: 0x22240f1ce00cef8d2f8c89e85f79c2d9657108772485fb2f9f55ce31e86a8dbc Now after a few days Chia wallet shows different hash for the same transaction: 0x9a968ba9f2a0f552e4c0d845fae4f682d1f845930a3bd016b8ac0b8b21a610c4
The transaction is still visible in the block explorer under the old hash, and there is no information about the new one. So why has the hash changed over time? How can we uniquely identify a given transaction if the transaction hash is not reliable?
Version
latest
What platform are you using?
Linux
What ui mode are you using?
CLI
Relevant log output
$ chia wallet get_transactions
(...)
Transaction 9a968ba9f2a0f552e4c0d845fae4f682d1f845930a3bd016b8ac0b8b21a610c4
Status: Confirmed
Amount received: 0.22887 XCH
To address: xch1uk9a4fdyhacrg9y8kqqan3rw4fwefzszyjpzruj7tmuhm32h0ksq59xwkz
Created at: 2022-06-22 17:21:14
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
go ethereum - Chain Reorganization (TX HASH Change)
If the chain is reorganised then any transactions contained within blocks in the 'old' chain will not exist.
Read more >How to Fix a Pending / Stuck Transaction on Ethereum
UPDATE: I forgot to show how to enable Customize Nonce in the video. Go to Settings - Advanced - Customize Nonce and turn...
Read more >What the 'Bitcoin Bug' Means: A Guide to Transaction ...
It's an attack that lets someone change the unique ID of a bitcoin transaction before it is confirmed on the bitcoin network.
Read more >Canceling or Replacing a Transaction After it's Been Sent
Head to Etherscan.io, Ethplorer.io, or EthVM. Step 2. Paste your transaction hash. If it says pending, you can still try to cancel it....
Read more >"transaction_id" value is changed … | Apple Developer Forums
After some investigation it turns out that after the next request to Apple's verification server some transactions in "latest_receipt_info" changed their ids! ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Did you resync the wallet DB in the meantime?
Chia doesn’t have transactions per se - it has coins. For record-keeping, the notion of a transaction is solely a local wallet construct and represents the hash of the entire spendbundle submitted to the chain. The chain itself (and the various explorers) do not allow viewing this spendbundle hash as a transaction. You cannot view this transaction on chain, you can only view coins
However, if you do
chia wallet send...
that transaction id (and spendbundle) is stored in the wallet DB and shouldn’t change - however, this spendbundle as submitted to the chain is ONLY stored in the wallet db . It should remain there and allow you to query it based on the ID, as long as you do not resync the wallet. Once you resync the wallet however, you lose all the information about these spendbundles and the transaction id will no longer be available.This issue was automatically closed because it has been flagged as stale, and subsequently passed 7 days with no further activity from the submitter or watchers.