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

Add height to the auction records in the walletdb. #878

Closed
nodech opened this issue Dec 1, 2023 · 1 comment
Closed

Add height to the auction records in the walletdb. #878

nodech opened this issue Dec 1, 2023 · 1 comment

Comments

@nodech
Copy link
Contributor

nodech commented Dec 1, 2023

Auctions per name can occur many times if it ever expires or the auction fails and reopens. This can lead to bad UX when viewing auction, bid, reveal information from the wallet.
Modification should be applied to:

  • txdb.A[name-hash] -> txdb.A[name-hash][height]
  • txdb.i[name-hash][tx-hash][index] -> txdb.i[name-hash][height][tx-hash][index]
  • txdb.B[name-hash][tx-hash][index] -> txdb.B[name-hash][height][tx-hash][index]

It may also be necessary to leave existing indexes for certain actions. Needs review.

This is also related to #877
And #867

@nodech
Copy link
Contributor Author

nodech commented May 23, 2024

More involved solution to solving multiple problems related to this: #892

@nodech nodech closed this as completed May 23, 2024
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

No branches or pull requests

1 participant