stacks-network / stacks-network/stacks-core
Make reward set calculation an event observer event and have signers subscribe to it
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 3.1k
- Forks
- 762
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 76
Description
Signers currently spam the node on start up to see if the reward set is calculated yet. Instead, have it only query the node once on startup. Subsequent reward set calculations should be listened to via the event observer.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the signer startup path and the event observer path described in the issue, along with how reward set calculations are exposed by the node. Confirm where the initial query occurs and how subsequent calculations can be received. Done means signers query once at startup and respond to later reward set calculations through the event observer rather than repeated polling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100