You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This is correct for V4 transactions, but not for V5, but in this test
// environment, it's harmless (the incorrect txid calculation can't be
// detected). This will be fixed when lightwalletd calculates txids correctly .
Zingo, and I believe some other lightwallets (although I haven't investigated this), when it sends a transaction, it calculates the transaction ID of the transaction it's submitting, and is then confused when the on-chain txid doesn't match what it deterministically should be.
The text was updated successfully, but these errors were encountered:
Hi @LarryRuane are you aware of this issue where there's a discrepancy between the TxID that's produced for Version 5 transactions, and the one that's specified in the protocol?
Hi @zancas, yes, I'm aware of this problem, see #392. As I said in the comment quoted above, I didn't think it matters in darkside mode (and we have a workaround for regular (production) mode). But if it does matter (that is, if it's a problem for some wallet testing), we should bump up the priority of getting this fixed.
Can someone give me a sense for the urgency to fix this?
I did look into fixing it recently, but the official blake2b Golang package support "personalization" which is required. See #392 (comment)
What is the bug?
Darkside txids are incorrect
Additional context
In a production server, the txid issue is bypassed according to this comment:
lightwalletd/common/common.go
Lines 262 to 267 in 8003d7f
This doesn't help on darkside, though
lightwalletd/common/darkside.go
Lines 99 to 103 in 8003d7f
Zingo, and I believe some other lightwallets (although I haven't investigated this), when it sends a transaction, it calculates the transaction ID of the transaction it's submitting, and is then confused when the on-chain txid doesn't match what it deterministically should be.
The text was updated successfully, but these errors were encountered: