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

Introduce events about communication with PoET #382

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jellonek
Copy link

@jellonek jellonek commented Oct 9, 2024

@jellonek jellonek force-pushed the events/poet branch 2 times, most recently from 28762a7 to 2d6255b Compare October 14, 2024 07:49
spacemesh/v1/admin_types.proto Outdated Show resolved Hide resolved
@@ -131,6 +156,25 @@ message EventMalfeasance {

message EventStreamRequest {}

message EventRegisteredInPoet {
string url = 1;
bytes challenge = 2;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this doesn't need to be part of the event. It's the hash of the header of the next ATX (not the hash/ID of the ATX), so not really useful to a user. However I think this event should include a bytes smesher field to know which identity was registered in PoET.

Copy link
Author

@jellonek jellonek Oct 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That part was of requirements in the main task:

registered in poet (URL, challenge, round)

If @poszu will agree - I can quickly remove challenge.
I'll add smasher.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants