Update `staked_amount` to include stakes inside a channel in that channels amount
Open
Nobody has claimed this yet.
area: discovery
level: 3
type: new feature
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 493
- PR merge metrics
- No merged PRs in 30d
Description
effective_amountstays as isstaked_amountis a new field that- is sum of staked lbc for a claim and all its supports
- is not affected by activation delay
- for a channel, also includes the
staked_amountof all content claims (not recursive, doesn't descend into channels signed by channels) in that channel
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 locating the existing effective_amount calculation and the claim, support, and channel representations; the issue states that effective_amount must remain unchanged. Trace how staked LBC is represented, then verify that the new staked_amount follows the listed activation-delay and channel-content rules without recursive channel traversal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- blockchain, python
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100