Commit Graph

41 Commits

Author SHA1 Message Date
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
6dab41ca49
v2.0.6-p2 2025-01-15 19:02:38 -06:00
petricadaipegsp
0b831deec1
Wait frame processing on sync end (#412) 2025-01-09 02:32:49 -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
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
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
Cassandra Heart
28e8331ca1
refined to work across the board 2024-11-26 23:24:05 -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
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
petricadaipegsp
4d3ac60e2b
Increase default sync timeout to 4 seconds (#369) 2024-11-20 16:59:24 -06:00
Cassandra Heart
a798347ccf
re-add #358 2024-11-16 23:20:09 -06:00
petricadaipegsp
da5b7a6126
Add sync timeout and make it async (#356)
* Add sync timeout

* Make sync async
2024-11-16 17:50:25 -06:00
petricadaipegsp
37761ebd83
Log frame age (#351) 2024-11-13 11:36:49 -06:00
petricadaipegsp
5333b4a8cc
Sample peers which are ahead during sync (#337) 2024-11-13 10:43:28 -06:00
Cassandra Heart
cf89b1c4ee
v2.0.3-p0 2024-11-10 01:15:15 -06:00
Cassandra Heart
67d454acb9
add light prover support 2024-11-09 14:46:53 -06:00
Cassandra Heart
812939a97a
v2.0.3-b7 2024-11-08 20:29:30 -06:00
Cassandra Heart
3a84cc65c8
ctrl-c = stop, damn it 2024-11-08 00:48:26 -06:00
Cassandra Heart
7ac7fc2b67
v2.0.3-b4 2024-11-07 18:03:50 -06:00
Cassandra Heart
5c924eab68
add simple reapplication logic 2024-11-07 13:14:12 -06:00
Cassandra Heart
84279f2b5c
handle mints with more failure proofing 2024-11-06 20:34:08 -06:00
Cassandra Heart
f3e502a2d1
v2.0.3-b2 2024-11-06 03:51:30 -06:00
Cassandra Heart
6578040774
also 2024-11-05 17:41:42 -06:00
Cassandra Heart
cdc1618964
get tries in sequence of events 2024-11-05 02:31:14 -06:00
Cassandra Heart
730e0b9f68
reintroduce sync 2024-10-26 23:54:23 -05:00
Cassandra Heart
1e590ad159
qol: sync by rebroadcast 2024-10-24 21:54:51 -05:00
Cassandra Heart
b0218f3721
fix: mint loop + re-migrate 2024-10-22 00:28:25 -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
ea0de6e55e
adjust return data of fast sync so it doesn't return the earliest frame 2024-10-20 21:52:33 -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