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

[api] v2alpha1: Malfeasance API #6150

Open
kacpersaw opened this issue Jul 17, 2024 · 1 comment
Open

[api] v2alpha1: Malfeasance API #6150

kacpersaw opened this issue Jul 17, 2024 · 1 comment

Comments

@kacpersaw
Copy link
Contributor

Description

Currently, API for malfeasance is only present in V1. The ask is to create v2alpha1 malfeasance service for list and stream.

message MalfeasanceProof {
    SmesherId smesher_id = 1;
    LayerNumber layer = 2;
    enum MalfeasanceType {
        MALFEASANCE_UNSPECIFIED = 0;
        MALFEASANCE_ATX = 1;
        MALFEASANCE_BALLOT = 2;
        MALFEASANCE_HARE = 3;
    }
    MalfeasanceType kind = 3;
    string debug_info = 4;
    bytes proof = 5;
}
@fasmat
Copy link
Member

fasmat commented Jul 23, 2024

I don't think this makes sense to implement independelty of the actual logic behind malfeasance handler and publisher and should be integrated into the bigger story here:

spacemeshos/pm#331

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

2 participants