Commit Graph

241 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
f2a3bd2d8e
don't try to make workers run if they aren't in ready state 2024-11-22 01:52:36 -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
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
4d3ac60e2b
Increase default sync timeout to 4 seconds (#369) 2024-11-20 16:59:24 -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
91e8a16124
don't apply pruning until after seniority cutoff 2024-11-18 02:17:42 -06:00
Cassandra Heart
61179c13a0
node info should show worker counts 2024-11-18 02:03:37 -06:00
Cassandra Heart
4b69a40e56
more adjustment to validators 2024-11-17 16:22:32 -06:00
Cassandra Heart
5d1b572035
switch validators to sync 2024-11-17 16:00:51 -06:00
Cassandra Heart
063102eab2
adjust validators 2024-11-17 15:58:26 -06:00
Cassandra Heart
29a129d543
allow choice of indexed or non-indexed batches 2024-11-17 07:58:15 -06:00
Cassandra Heart
f511149b36
frame pruning 2024-11-17 04:37:55 -06:00
petricadaipegsp
0b499c649c
Move time triggered synchronization to dedicated goroutine (#359) 2024-11-17 02:18:55 -06:00
Cassandra Heart
a798347ccf
re-add #358 2024-11-16 23:20:09 -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
d97a093c18
remove logging in validators due to locking, allow 2.0.3 minversion 2024-11-16 23:11:19 -06:00
Cassandra Heart
706ec2997d
adjust runonce 2024-11-16 18:29:41 -06:00
Cassandra Heart
d63f587d40
reduce bandwidth on workers 2024-11-16 17:58:57 -06:00