Commit Graph

280 Commits

Author SHA1 Message Date
Cassandra Heart
e26c40a6d9
experiment: reject bad peer info messages 2025-12-20 07:44:40 -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
Cassandra Heart
819bb26dd6
v2.0.6 2025-01-09 02:29:18 -06:00
Cassandra Heart
e32e71bb0c
Merge branch 'develop' into develop-2.1 2024-12-18 01:21:07 -06:00
petricadaipegsp
5ad9bdc468
Change default GOGC to 10 (#409)
* Set default GOGC to 10

* Do not skip frame prover trie mutex
2024-12-10 19:11:09 -06:00
petricadaipegsp
b728d8d76f
Centralize configuration defaults and upgrade message limits (#410)
* Apply config defaults early

* Apply engine config defaults early

* Apply P2P config defaults early

* Remove default duplicates

* Fix casing

* Add sync message size configuration
2024-12-10 19:10:49 -06:00
Cassandra Heart
b49ba62d9a
Merge branch 'develop' into develop-2.1 2024-12-09 05:44:53 -06:00
Cassandra Heart
4f742abd77
support state tree 2024-12-09 05:44:43 -06:00
petricadaipegsp
a329bdab3a
Limit sync candidates (#407) 2024-12-07 21:21:03 -06:00
petricadaipegsp
b9f1f0a6af
Frame pruning fixes (#405)
* Consistently close iterators

* Prune frames in batches

* Add compact on start flag
2024-12-07 21:19:04 -06:00
petricadaipegsp
89c85422be
Stop gRPC and HTTP servers on shutdown (#408)
* Stop gRPC and HTTP servers on shutdown

* Wait for executor to register
2024-12-07 21:12:26 -06:00
petricadaipegsp
8a7aae3557
Frame processing optimisations (#404)
* Make frame processing hashing parallel

* Do not build address for new style proofs

* Validate mint requests in parallel

* Do not recompute byte form of address in mint

* Remove unused output

* Use single append

* Cache verify challenge proof results
2024-12-04 22:57:59 -06:00
petricadaipegsp
d1e65c1c92
Support frame fragmentation and dissemination (#396)
* Add clock frame fragment message

* Add clock frame fragment validation

* Add clock frame fragmentation utilities

* Add clock frame fragmentation message handling

* Report publication errors

* Publish info list after frame

* Add frame publish configuration

* Publish clock frame fragments

* Update BlossomSub dashboard

* Publish clock frame fragments in parallel
2024-12-02 16:25:10 -06:00
petricadaipegsp
f5f7eb243b
Change message size limits (#394)
* Increase message size limits

* Lower soft max message size to 1MiB
2024-12-02 15:00:43 -06:00