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

separate transaction/certificate self-validation/ledger-validation #7

Open
vincenthz opened this issue Apr 30, 2019 · 0 comments
Open

Comments

@vincenthz
Copy link
Member

Separate the ledger checks for transaction (w or w/ certificate) that have to do with self-validation (making sure the format is ok, and that basic property is enforced correctly), and the context based validation.

e.g.:

X.valid_self() -> Result<(), Error>
X.apply_ledger(ledger: &Ledger) -> Result<Ledger, Error>

this is useful when wanting to make simple verification on transaction without having the Ledger available.

@vincenthz vincenthz changed the title transaction/certificate separate transaction/certificate self-validation/ledger-validation Apr 30, 2019
@vincenthz vincenthz transferred this issue from input-output-hk/rust-byron-cardano Jun 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant