Commit Graph

150 Commits

Author SHA1 Message Date
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
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
7afe704a2f
if testnet don't run migration, further parallelization 2025-02-07 16:31:43 -06:00
Cassandra Heart
b59e5b1565
don't rebuild hypergraph if unnecessary 2025-02-07 00:05:05 -06:00
Cassandra Heart
e5954a90a1
add smart caching for recurring payloads in verenc 2025-02-06 17:01:12 -06:00
Cassandra Heart
d61b78567b
catch nil case 2025-02-06 15:07:22 -06: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
6df30fb455
resolve tree reinit bug 2025-01-31 01:53:32 -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
bd08966076
Merge branch 'v2.0.6-p2' into develop-2.1-pre-milestone3 2025-01-15 19:03:35 -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
adb9a4d124
final parameters 2025-01-09 22:31:54 -06:00
Cassandra Heart
cf9444eea5
scale for testnet 2025-01-09 03:00:44 -06:00
Cassandra Heart
41ab1161b7
Merge branch 'v2.0.6' into develop-2.1-pre-milestone3 2025-01-09 02:37:18 -06:00
Cassandra Heart
819bb26dd6
v2.0.6 2025-01-09 02:29:18 -06:00
Cassandra Heart
4f742abd77
support state tree 2024-12-09 05:44:43 -06:00
Cassandra Heart
bdc7649c7d
Merge branch 'develop' into v2.0.5 2024-12-04 22:58:43 -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
Cassandra Heart
99bc683145
Merge branch 'develop' into v2.0.5 2024-12-03 18:59:41 -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
e0993a94ea
Avoid further copies of the tries (#393)
* Revert logging change

* Avoid further copies of tries

* Avoid sync on beacon

* Avoid recreating the address for each transaction
2024-12-01 15:24:38 -06:00
petricadaipegsp
dd030560bc
Do not clone full tries (#392) 2024-11-28 06:21:04 -06:00
Cassandra Heart
796f42e834
Merge branch 'develop' into v2.0.4-p2 2024-11-27 20:40:13 -06:00
petricadaipegsp
8b61918d43
Add transaction request validation (#390) 2024-11-27 18:13:57 -06:00
petricadaipegsp
ec37cb34d7
Add structured stop procedure (#379) 2024-11-24 17:07:15 -06:00
Cassandra Heart
35d4b7a728
Merge branch 'develop' into v2.0.4-p1 2024-11-22 19:58:04 -06:00
Black Swan
849feddf84
enhance testnet frame pruning (#377)
* reduce testnet frame pruning delay to 1 minute

* set seniority repair cutoff frame for testnet to 25745

* add log message to confirm frame pruning is enabled
2024-11-22 10:29:48 -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
5c94f5bc5e
Merge branch 'develop' into v2.0.4-p1 2024-11-19 16:55:57 -06:00
petricadaipegsp
bc05a4d7b9
Adaptive reserved cores (#363)
* Add adaptive data worker count

* Use runtime worker count for validation workers

* Reserve cores for networking during transition application

* Automatically set GOGC and GOMEMLIMIT
2024-11-19 16:51:14 -06:00
Cassandra Heart
0b54808fe8
Merge branch 'develop' into v2.0.4 2024-11-19 00:06:01 -06:00
Cassandra Heart
61179c13a0
node info should show worker counts 2024-11-18 02:03:37 -06:00
Cassandra Heart
c9be69ba28
seniority map repair 2024-11-18 01:45:50 -06:00
Cassandra Heart
29a129d543
allow choice of indexed or non-indexed batches 2024-11-17 07:58:15 -06:00
petricadaipegsp
14f7e3c40d
Throttle mint applications (#360) 2024-11-17 03:06:18 -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
Cassandra Heart
fe34032b0d
unwind these 2024-11-16 18:40:43 -06:00
Cassandra Heart
08e7dad8c9
parallelism of mints + don't overwrite map until commit time 2024-11-16 18:09:52 -06:00
Cassandra Heart
eda3729752
revert this 2024-11-16 17:58:56 -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
petricadaipegsp
d57d76e627
Add transaction timestamps (#354) 2024-11-16 17:52:27 -06:00
Cassandra Heart
4aa0a84a8b
Merge branch 'develop' into v2.0.3-p4 2024-11-13 11:59:17 -06:00
petricadaipegsp
37761ebd83
Log frame age (#351) 2024-11-13 11:36:49 -06:00