Open
Conversation
3fc613f to
954250a
Compare
added 21 commits
February 5, 2026 16:17
- Initialized from a mainnet snapshot. - No difficulty checks and no retargets for quick blocks. - Allow for several blocks at the same VDF step. - Flexible chunk picking. - Dedicated mining server that builds blocks from sampled chunks. - Seeded with 20 MiB of early weave data. - ./bin/localnet_shell
For a start, protocol.mdc only describes a caveat that recall bytes are independent from sub-chunks, which Claude Opus 4.5 struggled to understand.
added 18 commits
February 5, 2026 16:17
We also drop the fallback to reading from in-memory block cache which we do not really need so can simplify the code.
ar_packing_tests, ar_vdf_block_validation_tests, ar_vdf_server_tests are failing hitting 429 since the rate limit restructuring update.
Introduce the possibility to start and stop block gossip, add ar_test_node:with_gossip_paused/2
Increase mining_cache_size_mb and reduce hashing_threads
f8e13ba to
79c1309
Compare
bf28b5e to
7a24c4b
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
| }), | ||
| ar:start_dependencies(), | ||
| wait_until_joined(), | ||
| submit_snapshot_data(), |
There was a problem hiding this comment.
Timeout error from wait_until_joined is ignored
Medium Severity
The wait_until_joined() function returns {error, timeout} if the node fails to join within the 200-second timeout, but this return value is discarded. The code immediately proceeds to call submit_snapshot_data() regardless, which will fail or produce undefined behavior since the node hasn't finished joining. The return value of wait_until_joined() should be checked, and startup should fail gracefully if the timeout is reached.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Note
High Risk
Touches consensus-critical paths (mining, recall-range selection, difficulty/VDF validation) behind
LOCALNETplus refactors RocksDB open/paths; misconfiguration or macro misuse could affect state bootstrapping or DB usage.Overview
Adds a new
LOCALNETdevelopment mode withar_localnetutilities to start a node from a snapshot, seed data roots/tx data, and optionally create new snapshots;argainsshell_localnetentrypoints and CI now fetches Git LFS assets plus runs a headless pricing-transition notebook job.Introduces
start_from_stateconfiguration/CLI support to boot from an external state folder (validated to differ fromdata_dir) by opening snapshot RocksDBs read-only and plumbingCustomDirthroughar_storage/ar_nodereads;ar_kvis refactored to map-basedopen/1withopen_readonly/closeand updated call sites.In
LOCALNET, mining/validation logic is relaxed or overridden to enable deterministic local mining: swaps inar_localnet_mining_servervia supervisor selection, allows bypassed difficulty/retarget checks, special-cases nonce limiter step comparisons/validation, and allows precomputed recall ranges/step counts for PoA validation.Written by Cursor Bugbot for commit 7a24c4b. This will update automatically on new commits. Configure here.