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

Make SQLStore implement SingleAddressStore #922

Merged
merged 6 commits into from Feb 14, 2024

Conversation

peterjan
Copy link
Member

This PR has the SQLStore implement the SingleAddressStore. This will allow us to get rid of the SingleAddressWallet in favour of the one in coreutils in a next step.

There's a couple of small quirks here but all in all I think it's fine, the SiacoinElement and Transaction type differ very slightly from the ones in coreutils but I wrote a little convert method for each to ensure the output of the bus API remains the same. I don't think this is absolutely necessary since we'll have to break it at some point, but it's nice that we don't have to for the time being.

Another one is the before and since hack where we fetch all transactions if either of those is given and paginate manually. The UI doesn't use these parameters so again I don't think it's that big of a deal. I guess we should mark them as deprecated in postman. I'll do that.

@peterjan peterjan self-assigned this Jan 31, 2024
@peterjan
Copy link
Member Author

peterjan commented Feb 5, 2024

@ChrisSchinnerl this test won't pass for a short while until we move over the consensus subscription code fully

@ChrisSchinnerl ChrisSchinnerl merged commit cf6a80b into its-happening Feb 14, 2024
3 checks passed
@ChrisSchinnerl ChrisSchinnerl deleted the pj/single-address-store branch February 14, 2024 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Released
Development

Successfully merging this pull request may close these issues.

None yet

2 participants