[FEAT] - use Bitcoin Core's chain params for archival node size
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- shell
- Domain
- blockchain, infrastructure
Research direction
Start by locating the archival-node size calculation in the repository, then compare its values with assumed_blockchain_size and assumed_chain_state_size in Bitcoin Core's src/kernel/chainparams.cpp. Verify that the requested parameters are sourced from Bitcoin Core and that the resulting archival node size is reported correctly.
Written by the indexing model from the issue text.
Description
Describe the Problem
Using empirical data from my own archival node
Describe the Solution
Use the hard-coded parameters in Bitcoin Core's source code:
curl -fsSL https://github.com/bitcoin/bitcoin/raw/master/src/kernel/chainparams.cpp | grep -A 100 CMainParams > /tmp/testfile
BITCOIN_CORE_BLOCKCHAIN_SIZE_IN_GIB="$(grep assumed_blockchain_size /tmp/testfile | cut -d= -f2 | tr -d ' ;')"
BITCOIN_CORE_CHAINSTATE_SIZE_IN_GIB="$(grep assumed_chain_state_size /tmp/testfile | cut -d= -f2 | tr -d ' ;')"
Optional Additional Details
No response
- Dominant language
- Shell
- Stars
- 7
- Forks
- 0
- Avg merge
- 2h 38m
- Merged PRs (30d)
- 30
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 bitcoin-tools/nodebuilder
-
feature
Difficulty 3/5 1-2 days Newbie friendliness 20/100
bitcoin-tools/nodebuilder#2588 ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 25/100
bitcoin-tools/nodebuilder#2587 ·
-
feature
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
bitcoin-tools/nodebuilder#2580 ·
-
feature
Difficulty 4/5 3-5 days Newbie friendliness 15/100
bitcoin-tools/nodebuilder#2578 ·
-
feature
Difficulty 4/5 3-5 days Newbie friendliness 45/100
bitcoin-tools/nodebuilder#2552 ·
All issues in bitcoin-tools/nodebuilder
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
astral-sh/python-build-standalone#1293 ·
-
package-update
Difficulty 1/5 Under an hour Newbie friendliness 90/100
oSoWoSo/vOid_Community_repOsitory#185 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
carbon-language/carbon-lang#7821 ·