Repository navigation
[INDEX] Index cold staking UTXOs by spending address - #731
Conversation
|
A new build of c5d657f has completed succesfully! |
|
Changes make sense, will test once I get to my PC |
mxaddict
left a comment
There was a problem hiding this comment.
Test scenario seems to be working, but I think it also works on master branch. Can someone else test master branch to make sure I'm still sane? Haha.
|
@sakdeniz can you confirm this fixes your issue? |
I could not see a problem in my tests. |
|
I am getting "unknown address type" for cold-staking v2. Is the RPC command compatible with cold-staking v2? |
|
I guess this command is for normal addresses, but I don't see a difference in command output compared to current master. What's the expected change from this PR? |
|
@sakdeniz reported this issue originally, so probably he can describe what happened better.. From what I remember, without this patch, coins sent to a cold staking address were accounted for the staking address instead of the spending address in the spending index. The spending index tracks the UTXO set. With this pr's path applied, outputs sent to a cold staking address should not show in the output of |
chasingkirkjufell
left a comment
There was a problem hiding this comment.
Tested gitian build on Windows 10
This PR changes the behaviour of the spending index, indexing utxos by the spending address in case of cold staking outputs.
Test in devnet: