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

Update create_wallet to support Core v0.23.0 #230

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

evanlinjin
Copy link

@evanlinjin evanlinjin commented Jun 20, 2022

If everything goes to plan, this Fixes #225

@dpc
Copy link
Collaborator

dpc commented Jun 24, 2022

Just had a quick look and looks reasonable. 👍

@evanlinjin
Copy link
Author

Just had a quick look and looks reasonable. 👍

Thank you for your review! It is not ready yet as tests are failing and not sure if changes are backwards compatible.

@dpc
Copy link
Collaborator

dpc commented Jun 24, 2022

I don't know how is our mult-version support look like. In case there are any APIs that are slightly different:

  • should we detect version automatically on start, or on first call that require it (and memoize), or have different API functions for different versions and let the user worry about calling the one that works?
  • Do we construct enums for parts that are different, or just have different structs (that works with different functions)?

@dpc
Copy link
Collaborator

dpc commented Jun 24, 2022

Do we need to extend the regtest suite to run with custom versions and then use docker-compose to run against each supported major version?

@evanlinjin
Copy link
Author

I don't know how is our mult-version support look like. In case there are any APIs that are slightly different:

  • should we detect version automatically on start, or on first call that require it (and memoize), or have different API functions for different versions and let the user worry about calling the one that works?
  • Do we construct enums for parts that are different, or just have different structs (that works with different functions)?

These are some good points. I'll think over them.

@0xB10C
Copy link
Contributor

0xB10C commented Sep 1, 2023

Are you still working on this?

@stevenroose
Copy link
Collaborator

stevenroose commented Sep 7, 2023

@everyone :) There is a merge request doing a total refactor of this crate that supports sync and async. I'm personally kinda hesitant to spend a lot of work reviewing changes before that gets in because it adds a rebase/maintenance burden on that big MR

#294

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 this pull request may close these issues.

RpcApi::create_wallet() not working with Core v0.23.0
5 participants