Commit Graph

41 Commits

Author SHA1 Message Date
petricadaipegsp
9a09dc904b
Use default peer outbound queue size (#402) 2024-12-07 21:19:15 -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
petricadaipegsp
cef7fb65cc
Avoid pooling large buffers (#399)
* Revert buffer reuse

* Use pool only for small messages
2024-12-02 17:07:58 -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
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
e836b00852
Vendor go-buffer-pool (#389)
* Vendor go-buffer-pool

* Do not use pointer pool
2024-11-26 05:22:46 -06:00
petricadaipegsp
ab9b90fed2
blossomsub: Separate soft and hard message limits (#387) 2024-11-24 18:40:38 -06:00
petricadaipegsp
ba70498121
Revert blossomsub flooding (#382)
* blossomsub: Revert flooding

* blossomsub: Pick random slice
2024-11-24 17:05:40 -06:00
petricadaipegsp
f07d855970
blossomsub: Reintroduce GossipFactor (#383) 2024-11-24 17:04:33 -06:00
petricadaipegsp
2c79fedfd0
blossomsub: Avoid looping back unwanted messages (#384) 2024-11-24 17:03:57 -06:00
petricadaipegsp
86997630f0
blossomsub: Increase default maximum message size to 20MiB (#385) 2024-11-24 17:02:24 -06:00
petricadaipegsp
8790e09e36
blossomsub: Fix filter versus bloom filter tests (#380) 2024-11-24 03:24:03 -06:00
Cassandra Heart
c7b4f546a2
remaining blossomsub fixes 2024-11-23 19:23:44 -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
3b754ea4fb
extend test to verify mainnet bug is fixed 2024-11-22 19:36:48 -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
petricadaipegsp
af0eded231
Release buffers in edge cases (#374) 2024-11-21 18:01:16 -06:00
petricadaipegsp
b94e123262
Prune only if meshed (#362) 2024-11-19 16:51:42 -06:00
Cassandra Heart
4658cc208e
tweak blossomsub params slightly 2024-11-17 15:48:18 -06:00
petricadaipegsp
ceba9ff200
Trigger prune for removed peers (#361) 2024-11-17 06:32:54 -06:00
petricadaipegsp
49566c2280
Add additional P2P configuration (#352)
* Add peer discovery configuration

* Add peer monitor configuration

* Add message validation configuration

---------

Co-authored-by: Cassandra Heart <7929478+CassOnMars@users.noreply.github.com>
2024-11-16 17:54:34 -06:00
Cassandra Heart
7ac7fc2b67
v2.0.3-b4 2024-11-07 18:03:50 -06:00
Cassandra Heart
4b61a00095
restore prover rings 2024-10-31 23:44:23 -05: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
Cassie Heart
ebb31fd792 v1.4.19 2024-06-08 11:32:45 +00:00
Cassandra Heart
6b5ce992cf
v1.4.16 (#160) 2024-04-08 23:35:51 -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
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
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
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
1fc27018b5
v1.4.5 (#113) 2024-03-09 23:45:12 -06:00
Cassandra Heart
24a17ceddb
v1.4.4 (#112) 2024-03-09 20:26:17 -06:00
Cassandra Heart
2c551870f9
v1.4.2 (#98) 2024-03-04 23:11:01 -06:00
Cassandra Heart
3b72d52708
1.1.2 – Experimental gRPC/REST Support 2023-10-08 23:52:19 -05:00
Cassandra Heart
926e6bba22
Better synchronization targeting 2023-09-29 02:55:09 -05:00
Cassandra Heart
529f434393
Launch readiness: import utility 2023-08-20 23:07:43 -05:00
Cassandra Heart
ffab09ae6b
Add ceremony-targeted go-libp2p-blossomsub 2023-07-07 01:07:10 -05:00