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

Api refinements #41

Merged
merged 6 commits into from
Jun 19, 2021
Merged

Api refinements #41

merged 6 commits into from
Jun 19, 2021

Conversation

ivnsch
Copy link
Contributor

@ivnsch ivnsch commented Jun 14, 2021

Starting a refinements iteration of recent work. So far:

  • Improving naming of signing functions. Using generate_sig to create signatures and sign_x to create signed objects.
  • Hiding the new api objects, so they can't be instantiated by Algonaut dependencies. algonaut_transaction doesn't seem to be the ideal place to keep them, but for now it might be fine.

Other suggestions?

@ivnsch ivnsch requested a review from manuelmauro June 14, 2021 10:57
Copy link
Owner

@manuelmauro manuelmauro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The consistent naming feels much better!

examples/wallet_backup.rs Outdated Show resolved Hide resolved
src/lib.rs Show resolved Hide resolved
ivnsch added 3 commits June 16, 2021 14:33
For now uses api objects, will decouple gradually / on demand
Consistency with other builders
Copy link
Owner

@manuelmauro manuelmauro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

algonaut_client/src/algod/v1/mod.rs Show resolved Hide resolved
algonaut_transaction/src/api_models.rs Outdated Show resolved Hide resolved
@ivnsch ivnsch requested a review from manuelmauro June 18, 2021 05:31
@manuelmauro manuelmauro merged commit b5d63a5 into main Jun 19, 2021
@ivnsch ivnsch deleted the refinements branch June 19, 2021 21:19
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.

2 participants