Commit Graph

531 Commits

Author SHA1 Message Date
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
b5fd0775bf
prepare new genesis for next stage of tests 2025-01-30 00:24:45 -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
c04760e0e8
Merge branch 'v2.0.6-p3' into develop-2.1-pre-milestone3 2025-01-27 03:39:05 -06:00
Cassandra Heart
cbfb3ede87
bump version 2025-01-26 02:14:51 -06:00
Cassandra Heart
dcd81024b5
remove library includes on mpfr/gmp 2025-01-26 02:05:47 -06:00
Cassandra Heart
ccf1990a81
manually build flint as static library, use pkgconfig link 2025-01-21 00:34:03 -06:00
Cassandra Heart
d3f6b471c2
static builds working 2025-01-20 07:31:41 -06:00
Cassandra Heart
59a924aa1b
updated vdf.cpp to fix memory issue 2025-01-19 23:47:36 -06:00
Cassandra Heart
59d3eeba7d
update build flags 2025-01-18 17:59:11 -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
91262ec3ac
Add release signatory #17 2025-01-10 12:32:01 -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
b764b46ac0
remove patch number 2025-01-09 22:35:38 -06:00
Cassandra Heart
adb9a4d124
final parameters 2025-01-09 22:31:54 -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
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
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
Cassandra Heart
6ecaf023ab
bump version 2024-12-10 19:46:28 -06:00
Cassandra Heart
9b4248e573
Merge branch 'develop' into v2.0.5-p1 2024-12-10 19:12:00 -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
04ebb57fdd
gob export 2024-12-09 05:53:20 -06:00
Cassandra Heart
3891468562
bump version 2024-12-09 05:45:23 -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
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
667b2aa2bc
Increase gossip history and length (#401)
* Increase gossip history and length

* Increase peer outbound queue size
2024-12-03 05:00:48 -06:00
petricadaipegsp
63394edc9d
Increase subscription buffer size (#400) 2024-12-03 04:26:19 -06:00
Cassandra Heart
378d104691
handle other half deletion cases 2024-12-03 01:33:13 -06:00
Cassandra Heart
f6f87ce80b
bump version 2024-12-02 17:08:12 -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
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
1b78d758f5
Prefer connected peers for sync (#395)
* Add externally reachable data peer flag

* Announce node reachability

* Go through candidates based on reachability
2024-12-01 15:07:08 -06:00
petricadaipegsp
1e441e280d
Memory management adjustments (#397)
* Do not vendor go-buffer-pool

* Do not change GOGC

* Use local buffer
2024-12-01 15:04:01 -06:00
petricadaipegsp
4be1888496
Separate dialing from retrieval (#398) 2024-12-01 15:02:07 -06:00
petricadaipegsp
dd030560bc
Do not clone full tries (#392) 2024-11-28 06:21:04 -06:00
petricadaipegsp
46e88bfc95
Deprecate zero timestamp transactions (#391) 2024-11-28 05:04:18 -06:00
Cassandra Heart
b120f1cffb
add new signers 2024-11-27 20:47:14 -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
Cassandra Heart
87f4d7014c
only ignore, and use peer id of sender, not hop 2024-11-27 00:52:55 -06:00
Cassandra Heart
4753178026
deadlock 2024-11-27 00:43:07 -06:00
Cassandra Heart
9b95541be6
resolve race condition 2024-11-27 00:37:07 -06:00
Cassandra Heart
ebc7474946
use absolute 2024-11-27 00:29:55 -06:00
Cassandra Heart
ab2484206d
have to actually run the decay 2024-11-26 23:55:45 -06:00
Cassandra Heart
0242eafa3e
add decay, make validation check a little smarter 2024-11-26 23:45:20 -06:00
Cassandra Heart
28e8331ca1
refined to work across the board 2024-11-26 23:24:05 -06:00
Cassandra Heart
8a26318e1a
remove minversion check, no need 2024-11-26 23:06:44 -06:00
Cassandra Heart
70b30ddde1
don't set within validator 2024-11-26 22:52:22 -06:00
Cassandra Heart
7b2de084fd
no, really, get out 2024-11-26 21:05:01 -06:00
Cassandra Heart
6fba1a3cd9
apply to set early 2024-11-26 21:02:08 -06:00
Cassandra Heart
75716be4fa
さよなら 2024-11-26 18:50:25 -06:00
petricadaipegsp
e836b00852
Vendor go-buffer-pool (#389)
* Vendor go-buffer-pool

* Do not use pointer pool
2024-11-26 05:22:46 -06:00
Cassandra Heart
3d58907e1c
bump patch version, support filtering on patch version 2024-11-24 18:44:14 -06:00
petricadaipegsp
7fd4d32521
Always start sync from head (#386)
* Always start sync from head

* Allow skips during sync using data time reel head
2024-11-24 18:09:17 -06:00
petricadaipegsp
ec37cb34d7
Add structured stop procedure (#379) 2024-11-24 17:07:15 -06:00
petricadaipegsp
d8321bf812
Deduplicate mint requests by public key (#381) 2024-11-24 17:06:16 -06:00
petricadaipegsp
f07d855970
blossomsub: Reintroduce GossipFactor (#383) 2024-11-24 17:04:33 -06:00
Cassandra Heart
2bd61786d6
Merge branch 'develop' into v2.0.4-p1 2024-11-23 22:20:37 -06:00
Cassandra Heart
269422b2f1
v2.0.4-p1 2024-11-23 22:20:29 -06:00
petricadaipegsp
a543a607be
IDONTWANT Support (#376)
* blossomsub: Remove unused mutex

* blossomsub: Add RPC queue

* blossomsub: Use RPC queue

* blossomsub: Add IDONTWANT control message to protos

* blossomsub: Add IDONTWANT tracing support

* blossomsub: Add pre-validation

* blossomsub: Add IDONTWANT feature flag

* blossomsub: Add IDONTWANT parameters

* blossomsub: Add IDONTWANT observability

* blossomsub: Send IDONTWANT control messages

* blossomsub: Handle IDONTWANT control messages

* blossomsub: Clear maps efficiently

* blossomsub: Increase IDONTWANT parameter defaults

* blossomsub: Do not send IDONTWANT to original sender

* blossomsub: Add IDONTWANT unit tests
2024-11-23 17:15:41 -06:00
Cassandra Heart
35d4b7a728
Merge branch 'develop' into v2.0.4-p1 2024-11-22 19:58:04 -06:00
petricadaipegsp
eaf565c15a
Fix gossip (#378)
* Observe control messages message count

* Fix copyRPC

* Fix message cache
2024-11-22 10:30:33 -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
Cassandra Heart
292383be75
don't prune what is already pruned 2024-11-22 01:59:04 -06:00
Cassandra Heart
f2a3bd2d8e
don't try to make workers run if they aren't in ready state 2024-11-22 01:52:36 -06:00
Cassandra Heart
ca5d0579ea
bump version 2024-11-21 19:38:21 -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
petricadaipegsp
db66b3f118
Optimise token request duplicate handling (#375)
* Optimise token request duplicate handling

* Do not hold lock while applying transitions
2024-11-21 18:00:29 -06:00
Cassandra Heart
5e135d36de
Merge branch 'develop' into v2.0.4-p1 2024-11-20 20:31:57 -06:00
Cassandra Heart
df77d408dc
make it wait until one after 2024-11-20 20:31:46 -06:00
petricadaipegsp
b798de5871
Trigger sync on ahead peer (#366) 2024-11-20 17:12:57 -06:00
petricadaipegsp
883f0605ae
Enable AutoNATv1 and NATPortMap (#372) 2024-11-20 17:08:19 -06:00
petricadaipegsp
803cf4b7b3
Close direct channels if the connection is fresh (#371) 2024-11-20 17:07:28 -06:00
petricadaipegsp
cbc405a3a0
Refactor peer pinging to target individual connections (#370) 2024-11-20 17:05:10 -06:00
petricadaipegsp
4d3ac60e2b
Increase default sync timeout to 4 seconds (#369) 2024-11-20 16:59:24 -06:00
petricadaipegsp
8ce9aeee4e
Disallow excessive GOMAXPROCS (#368) 2024-11-20 16:59:09 -06:00
Cassandra Heart
5c94f5bc5e
Merge branch 'develop' into v2.0.4-p1 2024-11-19 16:55:57 -06:00
Cassandra Heart
9e28693581
make it wait until one after 2024-11-19 16:55:41 -06:00