Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Cold Staking outputs invisible to /v2/utxo/ API #8

Closed
JSKitty opened this issue Oct 19, 2022 · 1 comment · Fixed by #14
Closed

bug: Cold Staking outputs invisible to /v2/utxo/ API #8

JSKitty opened this issue Oct 19, 2022 · 1 comment · Fixed by #14

Comments

@JSKitty
Copy link

JSKitty commented Oct 19, 2022

Cold Staking outputs are often impossible to see via the /api/v2/utxo/ endpoint, which is a critical component for My PIVX Wallet to collect and compute Cold Staking information.

A real-world example:
The PIVX Labs address (/api/v2/address/<addr>)
A Cold Staking UTXO from it (/api/v2/tx-specific/<txout>)

As seen, a 400+ PIV delegation is entirely 'missing' from the UTXO API and is not correlated with the PIVX Labs address, this makes it incredibly difficult to figure out one's Cold Staking UTXOs.

To verify this UTXO is unspent, you can run this in a synced PIVX Core, if it returns data, then the output is proven unspent:

Debug Console:
gettxout 34da1189d5f1e8467ce9db46fc4ce06d689c9b870bc858b92a4ded5b89c7bbab 1

OR via CLI:
./pivx-cli gettxout 34da1189d5f1e8467ce9db46fc4ce06d689c9b870bc858b92a4ded5b89c7bbab 1

💰 A bounty of 250 PIV is attached to this issue by Labs

@JSKitty
Copy link
Author

JSKitty commented Nov 27, 2022

🪙 250 PIV bounty fulfilled and sent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant