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

Malfeasance V2: Invalid Previous ATX #6309

Open
fasmat opened this issue Aug 29, 2024 · 0 comments · May be fixed by #6310
Open

Malfeasance V2: Invalid Previous ATX #6309

fasmat opened this issue Aug 29, 2024 · 0 comments · May be fixed by #6310

Comments

@fasmat
Copy link
Member

fasmat commented Aug 29, 2024

Description

Contextual validation includes a check that verifies that the same ATX hasn't been referenced as previous in multiple ATXs. In ATX v1 this was also known as a Invalid Previous ATX Proof and served the same purpose: not allowing the same ATX being used as previous for multiple ATXs.

Implementation hints

The malfeasance proof needs to include the following data to be valid:

  1. Both ATXs have different IDs.
  2. Both ATXs have a valid signature.
  3. Both ATXs reference the same previous ATX for the same identity.
  4. (Possibly not necessary): If at least one ATX has contains multiple posts, proof that the reused previous ATX was referenced by the same identity
  5. If one of he two ATXs that reference the same previous ATX is a v1 ATX it needs to be included in full into the proof.
    • if both ATXs are v1 malfeasance v1 will create a proof
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🏗 Doing
Development

Successfully merging a pull request may close this issue.

1 participant