Commit Graph

257 Commits

Author SHA1 Message Date
Cassandra Heart
6d7ecf6eec
qol: add heuristic to handle corruption scenario 2024-10-22 22:46:16 -05:00
Cassandra Heart
058885951a
final -b4 2024-10-22 18:46:05 -05:00
Cassandra Heart
b70d94f5bd
fix: handle unexpected return of nil status 2024-10-22 02:05:35 -05:00
Cassandra Heart
392dab8360
fix: mint loop, other side 2024-10-22 01:45:24 -05:00
Cassandra Heart
b0218f3721
fix: mint loop + re-migrate 2024-10-22 00:28:25 -05:00
Cassandra Heart
765fe9feda
resolve frame cache issue 2024-10-21 23:07:43 -05:00
Cassandra Heart
9a099009e1
-b4 2024-10-21 22:32:08 -05:00
Cassandra Heart
4775132cf0
fix: last batch fails due to underflow; qol: make logging chattier 2024-10-21 01:17:48 -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
2ca8491f76
b2-fixed 2024-10-20 20:46:36 -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
389ada9f28
v2.0.0-p1 + QClient (#296) 2024-10-13 18:37:19 -07:00
Cassandra Heart
b4051ccbc9
detangling merge of main node for v2 (#293) 2024-10-12 11:55:17 -07:00
Cassandra Heart
1a244f5154
v1.4.20-p1 (#251)
* v1.4.20-p1

* further refinements/tuning
2024-06-29 19:12:53 -05:00
Cassandra Heart
6c567a04c1
v1.4.20 (#244)
* v1.4.20 base

* add inmemory dev mock for hypergraph

* add simple rdf + tr

* Update config.go (#234)

2 of bootstrap nodes are going to be closed due to low performances. Will consider to replace with better specs.

* go mod tidy

* go mod tidy

* bump name in readme

---------

Co-authored-by: 0xOzgur <29779769+0xOzgur@users.noreply.github.com>
2024-06-21 12:46:36 -05:00
Cassandra Heart
35561a9e41
v1.4.19-p1 (#235)
* v1.4.19-p1

* remove integrity check from startup
2024-06-15 11:05:06 -05:00
Cassie Heart
ebb31fd792 v1.4.19 2024-06-08 11:32:45 +00:00
Cassandra Heart
58456c1057
v1.4.18-patch-2 (#230)
* feat: IPC for wesolowski

* update self peer info

* remove digests and signatures

* add new binaries and digests

* Signatory #13 added

* Signatory #4 added (#231)

* added sig.6 files (#232)

* Signatory #9 added (#233)

* Added signatories #1, #2, #3, #5, #8, #12, #14, #15, #16, #17

* remove binaries, release ready

---------

Co-authored-by: 0xOzgur <29779769+0xOzgur@users.noreply.github.com>
Co-authored-by: Demipoet <161999657+demipoet@users.noreply.github.com>
Co-authored-by: Freekers <1370857+Freekers@users.noreply.github.com>
2024-05-29 12:51:47 -05:00
Cassandra Heart
13bac91367
v1.4.18-patch-1 (#216)
* experiment: verify in channel (#215)

* Change volume mapping so .config folder is created inside node folder and not on root (#214)

* Update main.go to fix Q logo (#213)

Q logo is not appearing correctly on the terminal while running node. Added a new line character after "Signature check passed" to fix it

* switched get node info response to use masterClock frame for maxFrame field (#212)

* fix: keys file remains null (#217)

* Revert "Change volume mapping so .config folder is created inside node folder…" (#218)

This reverts commit 27f50a92c6.

* Docker split take 2 (#219)

* split runtime docker files into a docker subfolder

* split DOCKER-README.md

* updated docker instructions

* add restore command

* add image update related tasks

* add command to test if P2P port is visible

* Remove bootstrap peer (#189)

* Change bootstrap servers to DHT-only peers (#187)

* support voucher file-based claims (#183)

* Change bootstrap servers to DHT-only peers

Changing my bootstrap servers to DHT-only peers with somewhat lower
specs. One of the new ones is in the US and the other one is in
Switzerland. Both use reliable providers and have 10Gbps network
interfaces.

---------

Co-authored-by: Cassandra Heart <7929478+CassOnMars@users.noreply.github.com>

* Don't run self-test in DHT-only mode (#186)

* support voucher file-based claims (#183)

* Don't run self-test in DHT-only mode

The node tries to create a self-test when ran with the `-dht-only`
flag, but it doesn't load the KZG ceremony data in DHT-only mode
which leads to a crash.

Don't run self-test when the `-dht-only` flag is set.

I tested by starting a node locally with and without existing
self-test and with the `-dht-only` flag.

---------

Co-authored-by: Cassandra Heart <7929478+CassOnMars@users.noreply.github.com>

* Embed json files in binary (#182)

* Embed ceremony.json in binary

* Embed retroactive_peers.json in binary

* Signers build and verification tasks (#181)

* add signers specific Taskfile

* add verify tasks

* move signer task under signer folder

* create docker image specific for signers

* map current user into docker image and container

* ignore node-tmp-*

* add verify:build:internal

* prevent tasks with docker commands from being run inside a container

* rename *:internal to *:container

* add README.md

* add pem files to git

* Updating Q Guide link (#173)

* Update README.md

Updated link to Quilibrium guide to new website

* Update README.md

---------

Co-authored-by: littleblackcloud <163544315+littleblackcloud@users.noreply.github.com>
Co-authored-by: Agost Biro <5764438+agostbiro@users.noreply.github.com>
Co-authored-by: Cassandra Heart <7929478+CassOnMars@users.noreply.github.com>
Co-authored-by: Demipoet <161999657+demipoet@users.noreply.github.com>

* Signer related fixes (#220)

* add pems 16 and 17

* remove .bin extension from generated binaries

* no more json files to copy to docker image

* feat: recalibrate self-test on the fly (#221)

* fix: switch RPC for peer and node info (#222)

* replace binaries with patch build

* add digests

* Signatory #13 added

* Signatory #4 added (#223)

* Signatory #14 added

* Signatory #17 added

* Signatory #12 added

* Signatory #3 added

* Signatory #2 added

* Signatory #16 added

* Signatory #1 added

* Signatory #8 added

* remove binaries, release ready

---------

Co-authored-by: AvAcalho <158583728+AvAcalho@users.noreply.github.com>
Co-authored-by: Ravish Ahmad <ravishahmad16@gmail.com>
Co-authored-by: luk <luk@luktech.dev>
Co-authored-by: Marius Scurtescu <marius.scurtescu@gmail.com>
Co-authored-by: littleblackcloud <163544315+littleblackcloud@users.noreply.github.com>
Co-authored-by: Agost Biro <5764438+agostbiro@users.noreply.github.com>
Co-authored-by: Demipoet <161999657+demipoet@users.noreply.github.com>
Co-authored-by: 0xOzgur <29779769+0xOzgur@users.noreply.github.com>
2024-05-27 00:10:15 -05:00
Cassandra Heart
2bbd1e0690
v1.4.18 (#193)
* Remove bootstrap peer (#189)

* Change bootstrap servers to DHT-only peers (#187)

* support voucher file-based claims (#183)

* Change bootstrap servers to DHT-only peers

Changing my bootstrap servers to DHT-only peers with somewhat lower
specs. One of the new ones is in the US and the other one is in
Switzerland. Both use reliable providers and have 10Gbps network
interfaces.

---------

Co-authored-by: Cassandra Heart <7929478+CassOnMars@users.noreply.github.com>

* Don't run self-test in DHT-only mode (#186)

* support voucher file-based claims (#183)

* Don't run self-test in DHT-only mode

The node tries to create a self-test when ran with the `-dht-only`
flag, but it doesn't load the KZG ceremony data in DHT-only mode
which leads to a crash.

Don't run self-test when the `-dht-only` flag is set.

I tested by starting a node locally with and without existing
self-test and with the `-dht-only` flag.

---------

Co-authored-by: Cassandra Heart <7929478+CassOnMars@users.noreply.github.com>

* Embed json files in binary (#182)

* Embed ceremony.json in binary

* Embed retroactive_peers.json in binary

* Signers build and verification tasks (#181)

* add signers specific Taskfile

* add verify tasks

* move signer task under signer folder

* create docker image specific for signers

* map current user into docker image and container

* ignore node-tmp-*

* add verify:build:internal

* prevent tasks with docker commands from being run inside a container

* rename *:internal to *:container

* add README.md

* add pem files to git

* Updating Q Guide link (#173)

* Update README.md

Updated link to Quilibrium guide to new website

* Update README.md

* feat: network switching and namespaced announce strings/bitmasks (#190)

* feat: network switching and namespaced announce strings/bitmasks

* bump version name and logo

* feat: mini pomw proofs as part of peer manifest (#191)

* shift default config directory under current folder (#176)

* feat: signature check (#192)

* feat: signature check

* adjust docker command so it doesn't invoke sigcheck

* remove old version

* add binaries and digests

* fix bug, revert build

* shasum has weird byte at end

* proper binaries and digests

* Signatory #13 added

* Signatory #3 added

* Signer 4 (#194)

* Signatory #5 added

* Signatory #9 added (#195)

* Signatory #1 added

* added sig.6 files (#196)

* Signatories #8 and #16 added

* Signatory #12 added

* Add signature (#197)

* reset build for v1.4.18 after testnet bug

* updated build, resigned by #13

* Signatory #16 added

* added sig.6 files (#198)

* Signatory #8 added

* Signatory #17 added

* Signatory #1 added

* Signatory #7 added

* Signatory #4 added

* Signatory #14 added

* remove binaries, ready to ship

---------

Co-authored-by: littleblackcloud <163544315+littleblackcloud@users.noreply.github.com>
Co-authored-by: Agost Biro <5764438+agostbiro@users.noreply.github.com>
Co-authored-by: Marius Scurtescu <marius.scurtescu@gmail.com>
Co-authored-by: Demipoet <161999657+demipoet@users.noreply.github.com>
Co-authored-by: 0xOzgur <29779769+0xOzgur@users.noreply.github.com>
Co-authored-by: Freekers <1370857+Freekers@users.noreply.github.com>
2024-05-25 00:22:50 -05:00
Cassandra Heart
6b5ce992cf
v1.4.16 (#160) 2024-04-08 23:35:51 -05:00
Cassandra Heart
e92af02122
qol: div-by-zero fix, minor patch on sync (#155) 2024-04-02 02:13:28 -05: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
0e089d5899
fix: filter out peers that didn't pass the bandwidth/manifest test 2024-03-28 00:24:44 -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
286d38e054
small qol items 2024-03-24 03:11:00 -05:00
Cassandra Heart
5afabc401b
V1.4.12 (#142)
* v1.4.12

* small logging adjust
2024-03-23 15:26:57 -05:00
Cassandra Heart
4781e85fd6
fix: don't reference manifest directly, may be nil 2024-03-21 13:25:29 -05:00
Cassandra Heart
1c93ea9f73
v1.4.11 (#139) 2024-03-21 02:14:45 -05:00
Cassandra Heart
0803d95573
v1.4.10 (#135)
* experimental priority sync

* get more aggressive about uncooperative ranking

* v1.4.10
2024-03-19 00:57:52 -05:00
Cassandra Heart
3001611197
v1.4.9 (#131) 2024-03-17 16:14:37 -05:00
Cassandra Heart
7ccd9f9ab0
fix: nodes with long-tail syncs or not in validator trie hit OOM due to accumulation of state transition messages that do not clear 2024-03-16 19:33:57 -05:00
Cassandra Heart
128ffc020c
fix: handle total distance comparison bug, reduce log noise 2024-03-16 04:29:20 -05:00
Cassandra Heart
ea120d9c31
resolve peer info issue, reorganize so this is a bit more sane 2024-03-15 00:18:10 -05:00
Cassandra Heart
ebd7f723c6
quiet the messages 2024-03-14 23:40:52 -05:00
Cassandra Heart
1b11e07095
V1.4.8 (#127)
* verification run

* ceasefire
2024-03-14 23:28:03 -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
Marius Scurtescu
d6460bc521
extract version logic to config package (#107)
* Modify the wrong default volumes value to /root/.config (#109)

* move extract version logic to new version.go in config package

* update version extraction command

---------

Co-authored-by: talentbuilder <talentbuilder@163.com>
2024-03-12 20:29:40 -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
1fc27018b5
v1.4.5 (#113) 2024-03-09 23:45:12 -06:00
Cassandra Heart
ee1ebcce80
fix: silence in the master library 2024-03-09 20:54:00 -06:00
Cassandra Heart
24a17ceddb
v1.4.4 (#112) 2024-03-09 20:26:17 -06:00
Cassandra Heart
d1079e17f0
fix: when error is returned as first response 2024-03-07 23:12:49 -06:00
Cassandra Heart
d9d8bbe93e
v1.4.3 (#104) 2024-03-07 23:05:04 -06:00
Cassandra Heart
2c551870f9
v1.4.2 (#98) 2024-03-04 23:11:01 -06:00
Cassandra Heart
a523edcb2a
v1.4.1 (#94) 2024-03-03 21:20:24 -06:00
Cassandra Heart
7ad553fd62
v1.4.0 (#86) 2024-03-01 01:12:31 -06:00
Cassandra Heart
12d37ed072
v1.3.0 (#81) 2024-02-28 03:00:20 -06:00
Cassandra Heart
b90b88c6e3
fix: set peer info broadcasts to only self (#74) 2024-02-25 23:03:05 -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
Cassandra Heart
5405452f3e
v1.2.11 (#58) 2024-02-20 14:01:10 -06:00
Cassandra Heart
ab700df594
v1.2.10 (#57)
* v1.2.10

* v1.2.10
2024-02-20 01:59:03 -06:00
Cassandra Heart
53d4664ab7
v1.2.9 (#51) 2024-02-18 18:28:29 -06:00
Cassandra Heart
bfbd35aae0
v1.2.8 (#50) 2024-02-17 22:52:19 -06:00
Cassandra Heart
1b810d624c
v1.2.7 (#48) 2024-02-16 15:46:54 -06:00
Cassandra Heart
d499a60937
v1.2.6 (#47) 2024-02-16 03:42:37 -06:00
Cassandra Heart
ac5c393745
add new bootstrap peers, adjust some of the peering params, also peer selection for version (#45) 2024-02-15 02:08:44 -06:00
Cassandra Heart
9a7d054be5
v1.2.5 (#44) 2024-02-14 01:11:12 -06:00
Cassandra Heart
0cd6b41f5d
v1.2.4 (#43) 2024-02-13 01:04:56 -06:00
Cassandra Heart
483077e1da
qol: banish the noise 2024-01-14 21:33:25 -06:00
Cassandra Heart
196588cbe6
v1.2.3 (#36) 2024-01-13 00:21:16 -06:00
Cassandra Heart
916a1514f1
fix: infinite loop edge case 2024-01-10 22:42:11 -06:00
Cassandra Heart
f48f177a10
v1.2.2 - sneaky sync troubles (#35) 2024-01-10 00:58:38 -06:00
Cassandra Heart
673b815ce8
v1.2.1 – adjust IP colocation factor (#33) 2024-01-03 22:45:25 -06:00
Cassandra Heart
0c7dc38ac1
V1.2.0 (#32)
* v1.2.0

* one more thing – let's fix the rpc
2024-01-03 01:49:12 -06:00
Cassandra Heart
2e2a1e4789
v1.2.0 (#31) 2024-01-03 01:31:42 -06:00
Cassandra Heart
645afad9c6
fix: mutex locking around entire dependencyMap logic 2023-12-02 02:37:39 -06:00
Cassandra Heart
6b660d0da7
fix: handle fresh sync 2023-12-02 00:08:50 -06:00
Cassandra Heart
e381165568
v1.1.8 (#27) 2023-12-01 23:44:24 -06:00
Cassandra Heart
a19d1490ea
fix: use multiaddr of reporting peer id 2023-11-15 01:34:23 -06:00
Cassandra Heart
f2ad38da05
v1.1.6 - fix: [PROTO-60],[PROTO-61],[PROTO-62] (#25)
* [PROTO-61] - fix: Use DHT for source of truth on peer info

* [PROTO-60] – fix: nil uncooperative peer state panic

* [PROTO-62] – fix: stored frame corruption due to old bug

* v1.1.6 – bump version
2023-11-08 00:27:06 -06:00
Cassandra Heart
bde6a921ca
fix: resolve bad peer info spam 2023-11-01 20:08:19 -05:00
Cassandra Heart
0eb4a3051a
PROTO-57 - Peer Version Enforcement 2023-10-31 22:45:20 -05:00
Cassandra Heart
2fe0f7180a
tweak: adjust peer info behavior 2023-10-26 21:41:53 -05:00
Cassandra Heart
f0e99b42dc
[PROTO-55] adjust buffer sizes to stem bleed from overweight execution transforms in frames 2023-10-26 19:19:19 -05:00
Cassandra Heart
4a6c4fa08e
fix: OOM, send candidates on sync 2023-10-26 15:54:49 -05:00
Cassandra Heart
52cfe0abb0
fix: self-reported peer info should contain timestamp 2023-10-26 01:32:57 -05:00
Cassandra Heart
fdc1f2553c
tweak: set min peer req to 3 to avoid low graft loops 2023-10-26 01:07:51 -05:00
Cassandra Heart
45554cb9c2
1.1.4 – Reversed sync, detached consensus loop 2023-10-26 00:55:39 -05:00
Sedric
d45a925525
fix commitLongestPath off-by-one 2023-10-17 01:03:00 -04:00
Cassandra Heart
59c550db0f
1.1.3 – Rewinding heads and obvious fork comparison, additional bugfixes 2023-10-13 23:05:48 -05:00
Cassandra Heart
3b72d52708
1.1.2 – Experimental gRPC/REST Support 2023-10-08 23:52:19 -05:00
Cassandra Heart
40945c69b4
v1.1.1 – end of backwards compatibility 2023-10-06 21:44:35 -05:00
Cassandra Heart
5bce33216f
fix: handle large consensus batches 2023-10-05 17:01:16 -05:00
Cassandra Heart
520d6562f9
fix: consider message failures and timeouts to also be uncooperative 2023-10-05 16:19:06 -05:00
Cassandra Heart
b4ad1aed18
fix: stop trying to sync with uncooperative peers 2023-10-05 15:17:06 -05:00
Cassandra Heart
53a19f3f23
fix: resync can happen again if distance is significant 2023-10-05 12:43:43 -05:00
Cassandra Heart
b0a755cdc3
1.1.0 – Ceremony Compressed Sync and Direct Peer Channels 2023-10-05 02:05:02 -05:00
Cassandra Heart
f0a90f6913
QOL: improve peer connectivity 2023-09-30 02:02:15 -05:00
Cassandra Heart
1a009e3769
resolve state transition error log noise 2023-09-29 03:05:30 -05:00
Cassandra Heart
926e6bba22
Better synchronization targeting 2023-09-29 02:55:09 -05:00
Cassandra Heart
6641ad680a
use channel over peer broadcast 2023-09-28 03:57:59 -05:00
Cassandra Heart
732bbe1c3a
QOL: logging 2023-09-28 02:59:27 -05:00
Cassandra Heart
5f9c90f284
QOL – stop spamming peer list, fix crazy VDF edge case 2023-09-24 23:12:05 -05:00
Cassandra Heart
e4d9bcdbf0
1.0.0 – Dawn 2023-09-24 21:43:35 -05:00
Cassandra Heart
83c8c4cae1
adjust missing merge data 2023-09-12 02:13:07 -05:00
Cassandra Heart
5073df60fc
general fixes 2023-09-10 18:29:17 -05:00
Cassandra Heart
b7b5bc0e41
primitive storage + data clock store 2023-09-09 18:52:04 -05:00
Cassandra Heart
c3ffd5c472
DHT Bootstrap Verification 2023-09-03 18:47:09 -05:00