Commit Graph

55 Commits

Author SHA1 Message Date
Cassandra Heart
ab99f105f7
v2.1.0.16 (#492) 2025-12-15 16:45:31 -06:00
Cassandra Heart
7b923b91c4
v2.1.0.12 (#482) 2025-11-26 03:22:48 -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
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
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
petricadaipegsp
0b831deec1
Wait frame processing on sync end (#412) 2025-01-09 02:32:49 -06:00
petricadaipegsp
ec37cb34d7
Add structured stop procedure (#379) 2024-11-24 17:07:15 -06:00
petricadaipegsp
44ccd14871
Use buffered channels when applicable (#373)
* Use buffered channels when applicable

* Do not start additional goroutines for processing

* Use context to stop ongoing loops
2024-11-21 19:32:04 -06:00
Cassandra Heart
29a129d543
allow choice of indexed or non-indexed batches 2024-11-17 07:58:15 -06:00
Cassandra Heart
6e2c7f4028
Revert "Use buffered channels in the engines (#357)"
This reverts commit d32d79f58d.
2024-11-16 23:11:25 -06:00
petricadaipegsp
d32d79f58d
Use buffered channels in the engines (#357)
* Make time data reel sending consistent

* Use buffered channels to avoid drops
2024-11-16 17:58:32 -06:00
Cassandra Heart
e58280b7e4
small adjustments 2024-11-13 10:00:37 -06:00
Cassandra Heart
b0a87b2fe4
wrapping up 2024-11-13 06:03:14 -06:00
Cassandra Heart
d4a5e30ba2
v2.0.3-p3 2024-11-12 01:45:18 -06:00
Cassandra Heart
812939a97a
v2.0.3-b7 2024-11-08 20:29:30 -06:00
Cassandra Heart
71a3e70129
log to error 2024-11-08 04:47:58 -06:00
Cassandra Heart
3a84cc65c8
ctrl-c = stop, damn it 2024-11-08 00:48:26 -06:00
Cassandra Heart
cdc1618964
get tries in sequence of events 2024-11-05 02:31:14 -06:00
Cassandra Heart
a9225b2508
2.0.3-b1 2024-11-04 18:09:35 -06:00
Cassandra Heart
c8e8d1b889
small adustments to make life better 2024-10-27 00:39:25 -05:00
Cassandra Heart
c0396f57a9
revisions for v2.0.2.1 2024-10-26 03:32:35 -05:00
Cassandra Heart
ca98e96aea
don't loop 2024-10-25 13:32:34 -05:00
Cassandra Heart
4fd6955c5a
resolve separate frames 2024-10-25 05:40:28 -05:00
Cassandra Heart
7ad50ec33b
temporarily bulk process on frame candidates 2024-10-25 04:45:46 -05:00
Cassandra Heart
eccf5ebf59
faster 2024-10-25 02:39:59 -05:00
Cassandra Heart
65c2585cc8
ok, ready for testnet 2024-10-24 23:23:10 -05:00
Cassandra Heart
1e590ad159
qol: sync by rebroadcast 2024-10-24 21:54:51 -05:00
Cassandra Heart
b7d2e17c63
final parameterization, parallelize streams 2024-10-23 14:26:01 -05:00
Cassandra Heart
058885951a
final -b4 2024-10-22 18:46:05 -05:00
Cassandra Heart
9a099009e1
-b4 2024-10-21 22:32:08 -05:00
Cassandra Heart
11a357518a
fix: announce peer based on leading frame, not initial frame; fix: looping bug 2024-10-20 23:45:16 -05:00
Cassandra Heart
7944cb6ca5
roll up v2.0.1-b2 to develop 2024-10-20 20:00:36 -05:00
Cassandra Heart
1bd670e773
v2.0.0-p8 2024-10-18 01:55:51 -05:00
Cassandra Heart
5230ceb413
v2.0.0-p5 (#303) 2024-10-16 23:51:27 -05:00
Cassandra Heart
b4051ccbc9
detangling merge of main node for v2 (#293) 2024-10-12 11:55:17 -07:00
Cassie Heart
ebb31fd792 v1.4.19 2024-06-08 11:32:45 +00:00
Cassandra Heart
52a197368e
qol: small fix-ups to make stuck frame nodes move faster (#153) 2024-03-29 02:20:23 -05:00
Cassandra Heart
5a3af70dc8
v1.4.13 (#146)
* v1.4.13

* adjust blossomsub param
2024-03-27 03:50:52 -05:00
Cassandra Heart
3001611197
v1.4.9 (#131) 2024-03-17 16:14:37 -05:00
Cassandra Heart
cc1e304119
v1.4.7 (#125)
* move to a message processor channel model for ceremony

* switch to goroutine

* readjust

* cut down volume

* keep distance data asserted

* bring it back so more bootstrap nodes can exist

* bump the version, it's go time
2024-03-14 02:18:14 -05:00
Cassandra Heart
f0c71b2d40
some various fixes ahead of 1.4.7 (#119)
* experimental: switch mutex to RW to see if it alleviates backpressure on peer info

* relax mutex req

* reject unknown messages

* open the floodgates

* adjust message handler to use goroutine, i'll probably regret this

* switch that back, it was regret

* further discovery

* log more data

* forcibly block channel when unbounded

* else

* make it configurable so bootstrap peers are the only ones putting up with this.

* ok, non-starter, let's try a different route

* further tweaking

* let the peer info flow uninhibited

* final burn off on master

* final adjustments
2024-03-12 20:28:48 -05:00
Cassandra Heart
644500bc42
v1.4.6 (#115)
* v1.4.6

* adjust connection manager for bootstrappers, go back to autoscale for resource
2024-03-12 02:45:20 -05:00
Cassandra Heart
d9d8bbe93e
v1.4.3 (#104) 2024-03-07 23:05:04 -06:00
Cassandra Heart
a523edcb2a
v1.4.1 (#94) 2024-03-03 21:20:24 -06:00
Cassandra Heart
73b87b6a41
v1.2.15 (#68) 2024-02-24 02:35:13 -06:00
Cassandra Heart
96490478ef
v1.2.14 (#67) 2024-02-22 21:23:26 -06:00
Cassandra Heart
a0a8ffc4e7
v1.2.13 (#64) 2024-02-22 00:07:17 -06:00
Cassandra Heart
643823879b
v1.2.12 (#61) 2024-02-21 02:10:23 -06:00
Cassandra Heart
9fc46fff2f
fix: memory leak accumulation in pending frame processing (#59) 2024-02-20 17:12:29 -06:00