stacks-network / stacks-network/stacks-core

Make reward set calculation an event observer event and have signers subscribe to it

Open
#4,397 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.0 3.0-Signer 3.1 nakamoto stale
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.