Commit 1c7e35e
cold-join: fix sync throughput + unify height/sync oracle to one source
- block_pipeline: sync-aware apply horizon (DEFERRED_MAX while syncing,
GOSSIP_HORIZON live) — closes the dispatch(2000)/drop(200) mismatch that
throttled cold-join catch-up to a rolling-200 crawl
- node: drop residual frontier+180 sync-target ceiling (keep frontier floor)
- collapse sync_blockchain_height to get_max_peer_height (drop TTL/median
staleness oracle that could collapse to local height)
- remove dead NODE_IS_SYNCHRONIZED atomic + is_node_synchronized/SYNC_SLACK;
the coordinator FSM is the sole synced authority
- self_synced peer-eviction heuristic -> coordinator_is_synchronized
- remove redundant legacy desync monitor (SyncManager.check_desync covers it)
- identity: fail-closed BIP39 word-count guard (derivation bytes unchanged)
- install-super-node.sh: plumb optional QNET_BURN_TX_HASH
185/185 lib tests, bins build.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 9a5be50 commit 1c7e35e
6 files changed
Lines changed: 110 additions & 420 deletions
File tree
- development/qnet-integration/src
- crypto
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1518 | 1518 | | |
1519 | 1519 | | |
1520 | 1520 | | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
1521 | 1527 | | |
1522 | 1528 | | |
1523 | 1529 | | |
| |||
1536 | 1542 | | |
1537 | 1543 | | |
1538 | 1544 | | |
| 1545 | + | |
1539 | 1546 | | |
1540 | 1547 | | |
1541 | 1548 | | |
1542 | 1549 | | |
1543 | | - | |
1544 | | - | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
1545 | 1556 | | |
1546 | 1557 | | |
1547 | 1558 | | |
1548 | | - | |
1549 | | - | |
| 1559 | + | |
| 1560 | + | |
1550 | 1561 | | |
1551 | 1562 | | |
1552 | 1563 | | |
| |||
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
136 | 150 | | |
137 | 151 | | |
138 | 152 | | |
| |||
0 commit comments