Many people currently use the gRPC AdminService's EventStream for simple go-spacemesh monitoring. This PR adds an "until" field to the PoetWaitRound, PoetWaitProof and AtxPublished events to make it a bit easier to see until when the node will wait after those events (related recent discussion in Discord).
The above needs a corresponding change in go-spacemesh to actually fill in the "until" fields. I'll submit this dependent PR to go-spacemesh once the present PR is reviewed, merged and a new version tagged (if you have another process for dependent changes, just tell me and I'll be happy to follow it).
I also added a cosmetic change cleaning up indentation. If you'd prefer the cosmetic change to be a separate PR, just tell me, and I'll split things up.
@xearl4 thanks. Since the change is backwards compatible I will merge it. It might however take some time until the next release where it would be included.
Many people currently use the gRPC AdminService's EventStream for simple go-spacemesh monitoring. This PR adds an "until" field to the PoetWaitRound, PoetWaitProof and AtxPublished events to make it a bit easier to see until when the node will wait after those events (related recent discussion in Discord).
Example events after this change:
The above needs a corresponding change in go-spacemesh to actually fill in the "until" fields. I'll submit this dependent PR to go-spacemesh once the present PR is reviewed, merged and a new version tagged (if you have another process for dependent changes, just tell me and I'll be happy to follow it).
I also added a cosmetic change cleaning up indentation. If you'd prefer the cosmetic change to be a separate PR, just tell me, and I'll split things up.