-
Notifications
You must be signed in to change notification settings - Fork 215
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: Publisher and Handler #6143
Labels
Comments
4 tasks
4 tasks
spacemesh-bors bot
pushed a commit
that referenced
this issue
Nov 28, 2024
## Motivation Part of #6143 This PR adds a dedicated service for publishing V1 malfeasance proofs.
spacemesh-bors bot
pushed a commit
that referenced
this issue
Nov 28, 2024
## Motivation Part of #6143 This PR adds a dedicated service for publishing V1 malfeasance proofs.
spacemesh-bors bot
pushed a commit
that referenced
this issue
Nov 28, 2024
## Motivation Part of #6143 This PR adds a dedicated service for publishing V1 malfeasance proofs.
spacemesh-bors bot
pushed a commit
that referenced
this issue
Nov 28, 2024
## Motivation Part of #6143 This PR adds a dedicated service for publishing V1 malfeasance proofs.
spacemesh-bors bot
pushed a commit
that referenced
this issue
Nov 28, 2024
## Motivation Part of #6143 This PR adds a dedicated service for publishing V1 malfeasance proofs.
spacemesh-bors bot
pushed a commit
that referenced
this issue
Nov 28, 2024
## Motivation Part of #6143 This PR adds a dedicated service for publishing V1 malfeasance proofs.
spacemesh-bors bot
pushed a commit
that referenced
this issue
Nov 28, 2024
## Motivation Part of #6143 This PR adds a dedicated service for publishing V1 malfeasance proofs.
spacemesh-bors bot
pushed a commit
that referenced
this issue
Nov 29, 2024
## Motivation Part of #6143 This PR adds a dedicated service for publishing V1 malfeasance proofs.
spacemesh-bors bot
pushed a commit
that referenced
this issue
Nov 29, 2024
## Motivation Part of #6143 This PR adds a dedicated service for publishing V1 malfeasance proofs.
spacemesh-bors bot
pushed a commit
that referenced
this issue
Nov 29, 2024
## Motivation Part of #6143 This PR adds a dedicated service for publishing V1 malfeasance proofs.
spacemesh-bors bot
pushed a commit
that referenced
this issue
Nov 29, 2024
## Motivation Part of #6143 This PR adds a dedicated service for publishing V1 malfeasance proofs.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
For spacemeshos/pm#331 a new publisher and handler for malfeasance proofs needs to be implemented. Compared to V1 handling and publishing malfeasance proofs needs to be more generic and less tightly coupled to the individual domains that we create malfeasance proofs for.
Malfeasance publisher
The new malfeasance publisher needs to be implemented with an additional layer of abstraction. Each domain that can produce malfeasance proofs needs to have its own publisher and handler. Here is the general structure as an example for the ATX domain:
For this every type of malfeasance proof has helper functions in the
activation/wire
package to create and validate the associated proof.[]byte
with the associated type of proof (e.g. Double Publish) in a generic type like this:Implementation hints
Malfeasance handler
MalfeasanceProofV2
type above.Proof
bytes.NodeID
of the identity proven to be malfeasant.NodeID
is already known to be malfeasantThe text was updated successfully, but these errors were encountered: