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

Provide a better validation for typed transaction #409

Closed
ghost opened this issue Jun 27, 2022 · 1 comment · Fixed by #736
Closed

Provide a better validation for typed transaction #409

ghost opened this issue Jun 27, 2022 · 1 comment · Fixed by #736
Assignees
Labels
feature New feature request mining Involve transaction validation and mining transaction Involve transactions

Comments

@ghost
Copy link

ghost commented Jun 27, 2022

Is your feature request related to a problem?

Today we have several types of transactions for user:

  • transfer
  • hosting
  • token
  • ...

Even if the types are just a functional meaning and have some relation to the replication scheme and validation context, we should enforce some transaction data structure requirements.

Describe the solution you'd like

So you can add some minimal criteria for a given type to be respected.
For instance:

  • transfer's transaction should contain at least one UCO or Token transfer
  • hosting should match the Archethic web deployment format.

But we should probably define another type of transaction for user, when someone doesn't know in which predefined type the transaction should belong for example: smart contract, authorization and encrypted data, etc…

Additional context

Epic: #306

@ghost ghost added feature New feature request mining Involve transaction validation and mining transaction Involve transactions labels Jun 27, 2022
@ghost ghost mentioned this issue Jun 27, 2022
@ghost
Copy link
Author

ghost commented Jul 1, 2022

Hey team! Please add your planning poker estimate with ZenHub @apoorv-2204 @imnik11 @Neylix @prix-uniris

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request mining Involve transaction validation and mining transaction Involve transactions
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant