Commit Graph

292 Commits

Author SHA1 Message Date
Cassandra Heart
706e28c1da
fix: panic on shutdown, libp2p discovery picking inaccessible peers, coverage event check not in shutdown logic, amend app shard worker behavior to mirror global for prover root reconciliation 2026-02-20 18:53:24 -06:00
Cassandra Heart
5733047c3b
fix: expired prover join frames, starting port ranges, proposer getting stuck, and seniority on joins 2026-02-19 22:27:11 -06:00
Cassandra Heart
87f2872cc8
fix: resolve rare SIGFPE, fix orphan expired joins blocking workers from reallocating 2026-02-18 20:43:39 -06:00
Cassandra Heart
db4efe35cd
resolve non-fallthrough condition that should be fallthrough 2026-02-18 19:53:36 -06:00
Cassandra Heart
b700621773
add full sanity check on join before submitting to identify bug 2026-02-18 16:52:00 -06:00
Cassandra Heart
6087025035
fix stale worker proposal edge 2026-02-18 02:52:47 -06:00
Cassandra Heart
3a5365874a
reload prover registry 2026-02-18 02:01:35 -06:00
Cassandra Heart
9b35520575
fix: resolve abandoned prover joins 2026-02-17 21:47:56 -06:00
Cassandra Heart
af6f2576c8
fix: one-shot sync message size, app shard TC signature size, collector/hotstuff race condition, expired joins blocking new joins due to pruning disable 2026-02-17 04:20:51 -06:00
Cassandra Heart
22c5d18a1c
resolve signature failure 2026-02-15 18:47:14 -06:00
Cassandra Heart
e09d6a6997
enhanced error logging, fix seniority marker join blocker, fix sync message size limit defaults 2026-02-15 13:35:07 -06:00
Cassandra Heart
7eeb91a9a2
v2.1.0.19 2026-02-14 22:20:02 -06:00
Cassandra Heart
12996487c3
v2.1.0.18 (#508)
* experiment: reject bad peer info messages

* v2.1.0.18 preview

* add tagged sync

* Add missing hypergraph changes

* small tweaks to sync

* allow local sync, use it for provers with workers

* missing file

* resolve build error

* resolve sync issue, remove raw sync

* resolve deletion promotion bug

* resolve sync abstraction leak from tree deletion changes

* rearrange prover sync

* remove pruning from sync

* restore removed sync flag

* fix: sync, event stream deadlock, heuristic scoring of better shards

* resolve hanging shutdown + pubsub proxy issue

* further bugfixes: sync (restore old leaf sync), pubsub shutdown, merge events

* fix: clean up rust ffi, background coverage events, and sync tweaks

* fix: linking issue for channel, connectivity test aggression, sync regression, join tests

* fix: disjoint sync, improper application of filter

* resolve sync/reel/validation deadlock

* adjust sync to handle no leaf edge cases, multi-path segment traversal

* use simpler sync

* faster, simpler sync with some debug extras

* migration to recalculate

* don't use batch

* square up the roots

* fix nil pointer

* fix: seniority calculation, sync race condition, migration

* make sync dumber

* fix: tree deletion issue

* fix: missing seniority merge request canonical serialization

* address issues from previous commit test

* stale workers should be cleared

* remove missing gap check

* rearrange collect, reduce sync logging noise

* fix: the disjoint leaf/branch sync case

* nuclear option on sync failures

* v2.1.0.18, finalized
2026-02-08 23:51:51 -06:00
Cassandra Heart
7a4484b05b
v2.1.0.17 (#499)
* v2.1.0.17

* add release notes
2025-12-19 12:29:23 -06:00
Cassandra Heart
ab99f105f7
v2.1.0.16 (#492) 2025-12-15 16:45:31 -06:00
Cassandra Heart
0425b38fa2
v2.1.0.15 (#485)
* v2.1.0.15

* add release notes
2025-12-09 21:55:18 -06:00
Cassandra Heart
8dc7e0d526
v2.1.0.14 (#484)
* v2.1.0.14

* release notes
2025-12-03 23:56:34 -06:00
Cassandra Heart
3f516b04fd
v2.1.0.13 (#483)
* v2.1.0.13

* add release notes
2025-11-29 19:59:26 -06:00
Cassandra Heart
7b923b91c4
v2.1.0.12 (#482) 2025-11-26 03:22:48 -06:00
Cassandra Heart
aac841e6e6
v2.1.0.11 (#477)
* v2.1.0.11

* v2.1.0.11, the later half
2025-11-21 04:41:02 -06:00
Black Swan
29a49fa282
Print patch number in node-info (#479)
* print patch number in node-info

* rename patchVersion to patchNumber for better differentiation between node version and patch number
2025-11-21 04:31:32 -06:00
Cassandra Heart
81f2767ab8
v2.1.0.11 (#476) 2025-11-19 17:13:34 -06:00
Cassandra Heart
21b735f841
fix: cutoff frames should use constants 2025-11-19 02:07:56 -06:00
Cassandra Heart
0a2e2fee03
v2.1.0.10 (#475) 2025-11-19 00:19:04 -06:00
Cassandra Heart
215dd2ec99
v2.1.0.9 (#471)
* v2.1.0.9

* resolved: sync skipping, time reel disconnect for consensus nodes, proxy pubsub bugs, worker management bugs
2025-11-16 20:14:14 -06:00
Cassandra Heart
d871f2ea51
incl missed staging method call 2025-11-15 01:48:44 -06:00
Cassandra Heart
f62a98211c
v2.1.0.8 (#468) 2025-11-15 01:39:26 -06:00
Cassandra Heart
1ba9f52ad6
v2.1.0.7 (#466) 2025-11-13 23:38:04 -06:00
Cassandra Heart
f2fa7bf57f
v2.1.0.6 (#465) 2025-11-13 04:57:52 -06:00
Cassandra Heart
c797d482f9
v2.1.0.5 (#457)
* wip: conversion of hotstuff from flow into Q-oriented model

* bulk of tests

* remaining non-integration tests

* add integration test, adjust log interface, small tweaks

* further adjustments, restore full pacemaker shape

* add component lifecycle management+supervisor

* further refinements

* resolve timeout hanging

* mostly finalized state for consensus

* bulk of engine swap out

* lifecycle-ify most types

* wiring nearly complete, missing needed hooks for proposals

* plugged in, vetting message validation paths

* global consensus, plugged in and verified

* app shard now wired in too

* do not decode empty keys.yml (#456)

* remove obsolete engine.maxFrames config parameter (#454)

* default to Info log level unless debug is enabled (#453)

* respect config's  "logging" section params, remove obsolete single-file logging (#452)

* Trivial code cleanup aiming to reduce Go compiler warnings (#451)

* simplify range traversal

* simplify channel read for single select case

* delete rand.Seed() deprecated in Go 1.20 and no-op as of Go 1.24

* simplify range traversal

* simplify channel read for single select case

* remove redundant type from array

* simplify range traversal

* simplify channel read for single select case

* RC slate

* finalize 2.1.0.5

* Update comments in StrictMonotonicCounter

Fix comment formatting and clarify description.

---------

Co-authored-by: Black Swan <3999712+blacks1ne@users.noreply.github.com>
2025-11-11 05:00:17 -06:00
Cassandra Heart
19ca2cc553
v2.1.0.4 (#450) 2025-10-25 02:55:12 -05:00
Cassandra Heart
0053dcb5e0
amend: fix-up for prover set 2025-10-24 00:28:47 -05:00
Cassandra Heart
eb0b54241d
v2.1.0.3 (#449) 2025-10-23 22:43:17 -05:00
Cassandra Heart
53f7c2b5c9
v2.1.0.2 (#442)
* v2.1.0.2

* restore tweaks to simlibp2p

* fix: nil ref on size calc

* fix: panic should induce shutdown from event_distributor

* fix: friendlier initialization that requires less manual kickstarting for test/devnets

* fix: fewer available shards than provers should choose shard length

* fix: update stored worker registry, improve logging for debug mode

* fix: shut the fuck up, peer log

* qol: log value should be snake cased

* fix:non-archive snap sync issues

* fix: separate X448/Decaf448 signed keys, add onion key to registry

* fix: overflow arithmetic on frame number comparison

* fix: worker registration should be idempotent if inputs are same, otherwise permit updated records

* fix: remove global prover state from size calculation

* fix: divide by zero case

* fix: eager prover

* fix: broadcast listener default

* qol: diagnostic data for peer authenticator

* fix: master/worker connectivity issue in sparse networks

tight coupling of peer and workers can sometimes interfere if mesh is sparse, so give workers a pseudoidentity but publish messages with the proper peer key

* fix: reorder steps of join creation

* fix: join verify frame source + ensure domain is properly padded (unnecessary but good for consistency)

* fix: add delegate to protobuf <-> reified join conversion

* fix: preempt prover from planning with no workers

* fix: use the unallocated workers to generate a proof

* qol: underflow causes join fail in first ten frames on test/devnets

* qol: small logging tweaks for easier log correlation in debug mode

* qol: use fisher-yates shuffle to ensure prover allocations are evenly distributed when scores are equal

* qol: separate decisional logic on post-enrollment confirmation into consensus engine, proposer, and worker manager where relevant, refactor out scoring

* reuse shard descriptors for both join planning and confirm/reject decisions

* fix: add missing interface method and amend test blossomsub to use new peer id basis

* fix: only check allocations if they exist

* fix: pomw mint proof data needs to be hierarchically under global intrinsic domain

* staging temporary state under diagnostics

* fix: first phase of distributed lock refactoring

* fix: compute intrinsic locking

* fix: hypergraph intrinsic locking

* fix: token intrinsic locking

* fix: update execution engines to support new locking model

* fix: adjust tests with new execution shape

* fix: weave in lock/unlock semantics to liveness provider

* fix lock fallthrough, add missing allocation update

* qol: additional logging for diagnostics, also testnet/devnet handling for confirmations

* fix: establish grace period on halt scenario to permit recovery

* fix: support test/devnet defaults for coverage scenarios

* fix: nil ref on consensus halts for non-archive nodes

* fix: remove unnecessary prefix from prover ref

* add test coverage for fork choice behaviors and replay – once passing, blocker (2) is resolved

* fix: no fork replay on repeat for non-archive nodes, snap now behaves correctly

* rollup of pre-liveness check lock interactions

* ahead of tests, get the protobuf/metrics-related changes out so teams can prepare

* add test coverage for distributed lock behaviors – once passing, blocker (3) is resolved

* fix: blocker (3)

* Dev docs improvements (#445)

* Make install deps script more robust

* Improve testing instructions

* Worker node should stop upon OS SIGINT/SIGTERM signal (#447)

* move pebble close to Stop()

* move deferred Stop() to Start()

* add core id to worker stop log message

* create done os signal channel and stop worker upon message to it

---------

Co-authored-by: Cassandra Heart <7929478+CassOnMars@users.noreply.github.com>

---------

Co-authored-by: Daz <daz_the_corgi@proton.me>
Co-authored-by: Black Swan <3999712+blacks1ne@users.noreply.github.com>
2025-10-23 01:03:06 -05:00
Cassandra Heart
cec73cd940
v2.1.0.1 (#441)
wire issue for proxy worker init - h/t dogeanger
moved injection from implicit to explicit for hypergraph operations
bundle address resolution for multi-tx token interactions
genesis shard init bug
message subscriber for app -> global flow bug
shard store save bug
2025-09-30 15:42:34 -05:00
Cassandra Heart
dbd95bd9e9
v2.1.0 (#439)
* v2.1.0 [omit consensus and adjacent] - this commit will be amended with the full release after the file copy is complete

* 2.1.0 main node rollup
2025-09-30 02:48:15 -05:00
Cassandra Heart
4696d5292c
restore verenc into hypergraph loop, thread hypergraph through token application for backcompat 2025-02-06 06:34:22 -06:00
Cassandra Heart
7f8137df67
reset cutoffs 2025-01-30 03:20:52 -06:00
Cassandra Heart
772edd31be
handle forked genesis 2025-01-30 02:20:01 -06:00
Cassandra Heart
5ed5f4ca6a
resolve state tree issue, ensure message validation is consistent with mint 2025-01-28 08:35:48 -06:00
Cassandra Heart
a0107caabc
tree rebuild at fork 2025-01-27 04:23:56 -06:00
Cassandra Heart
08305d6024
Merge branch 'v2.0.6-p2' into develop-2.1-pre-milestone3 2025-01-16 00:48:45 -06:00
Cassandra Heart
3722901956
add cache to processing 2025-01-16 00:48:16 -06:00
Cassandra Heart
bd08966076
Merge branch 'v2.0.6-p2' into develop-2.1-pre-milestone3 2025-01-15 19:03:35 -06:00
Cassandra Heart
6dab41ca49
v2.0.6-p2 2025-01-15 19:02:38 -06:00
Cassandra Heart
04452e28ff
handle worker failure condition by allowing tree production to continue 2025-01-10 12:15:56 -06:00
Cassandra Heart
f1f9067988
Merge branch 'v2.0.6' into develop-2.1-pre-milestone3 2025-01-09 06:12:14 -06:00
Cassandra Heart
41ab1161b7
Merge branch 'v2.0.6' into develop-2.1-pre-milestone3 2025-01-09 02:37:18 -06:00
petricadaipegsp
0b831deec1
Wait frame processing on sync end (#412) 2025-01-09 02:32:49 -06:00
Tyler Sturos
b14a57b25a
speed up data worker connection speeds (#414)
Co-authored-by: Tyler Sturos <tyler.john@qcommander.sh>
2025-01-09 02:31:13 -06:00