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

Coin Selection: Public Specification #21

Closed
jonathanknowles opened this issue Mar 13, 2020 · 2 comments
Closed

Coin Selection: Public Specification #21

jonathanknowles opened this issue Mar 13, 2020 · 2 comments
Assignees

Comments

@jonathanknowles
Copy link
Contributor

Motivation

As a developer or researcher, I'd like to be able to understand Cardano's coin selection and fee balancing algorithms without having to read through and understand source code.

Task

Produce a human-readable specification of the coin selection and fee balancing algorithms used by cardano-wallet.

Acceptance Criteria

  • The specification must provide human-readable explanations of the following coin selection algorithms:
    • Largest-First;
    • Random-Improve;
    • Migration.
  • The specification must provide a human-readable explanation of the following fee balancing algorithm:
    • Sender Pays Fee.
  • The specification should specify test vectors for each of the included algorithms.
  • The specification should specify the properties that we expect each of the included algorithms to obey.
  • The specification should have an obvious format in the sense that we don't need a meta-specification to explain how the specification is structured.
@jonathanknowles
Copy link
Contributor Author

This is currently viewable as a PR here.

@jonathanknowles
Copy link
Contributor Author

This eventually became CIP-2.

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