add proper "update" methods to the various *Frame
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Refactor
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- distributed-systems
Research direction
Start by locating the various *Frame ledger object implementations and every direct update of numSubEntries, especially around trustline additions and removals. Trace how ledger objects are changed today, then determine the update-method boundaries and invariants that must be enforced. Done means relevant changes go through those methods and numSubEntries stays correct.
Written by the indexing model from the issue text.
Description
Updates to ledger objects should go through "update" methods that can enforce invariants:
for example, right now "numSubEntries" is updated directly, instead, it should be updated automatically when adding/removing objects (like trustlines).
- Dominant language
- C++
- Stars
- 3.3k
- Forks
- 1.1k
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 14
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.
More from stellar/stellar-core
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
stellar/stellar-core#5451 · 1 comment ·
-
enhancement
stellar/stellar-core#5441 · 1 assignee ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 68/100
stellar/stellar-core#5437 · 1 comment ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
stellar/stellar-core#5431 ·
-
stellar/stellar-core#5430 · 1 assignee ·
All issues in stellar/stellar-core
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Sensor initialization takes very long when `--initial-sim-time` is set to current UNIX timestamp Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gazebosim/gz-sensors#662 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
LadybirdBrowser/ladybird#12123 ·