gabrielmer
7daecc7faf
Merge branch 'master' into chore-merge-release-v0.33-to-master
2024-09-30 21:02:26 +03:00
gabrielmer
8f0f5dd2b0
fix: rejecting excess relay connections ( #3065 )
2024-09-27 19:42:51 +03:00
gabrielmer
9e96e1911a
fix: rejecting excess relay connections ( #3065 )
2024-09-27 19:35:18 +03:00
Darshan K
785cf2e9d9
refactor: wrap peer store ( #3051 )
...
Encapsulate peerstore with wakupeerstore
2024-09-27 18:16:46 +05:30
gabrielmer
c77a141191
chore: disabling metrics for libwaku ( #3058 )
2024-09-25 14:08:01 +03:00
Ivan FB
bad30bf4e7
append current version in agentString which is used by the identify protocol ( #3057 )
2024-09-25 12:59:46 +03:00
Ivan FB
3437e4009d
append current version in agentString which is used by the identify protocol ( #3057 )
2024-09-25 11:52:02 +02:00
NagyZoltanPeter
5197fac47b
Fix PeerExchange rpc decode in order not to take response's status_code mandatory - for support old protocol implementation ( #3059 )
2024-09-25 11:51:50 +02:00
Ivan FB
8c8eea4b67
chore: test peer connection management ( #3049 )
...
* Make some useful consts public, add some utils.
* Implement various utilities.
* peer_manager reconnectPeers enhancements
---------
Co-authored-by: Álex Cabeza Romero <alex93cabeza@gmail.com>
2024-09-24 18:20:29 +02:00
NagyZoltanPeter
941a3fe6a0
fix: px protocol decode - do not treat missing response field as error ( #3055 )
...
* Fix missing response field of PeerExchange RPC treated as error.
* Fix PX metrics from gauge to counter for better dashboard stats
2024-09-24 12:47:52 +02:00
Ivan FB
e58b5c15c8
chore: Better database query logs and logarithmic scale in grafana store panels ( #3048 )
2024-09-20 22:47:15 +03:00
Ivan FB
96cc2f1b39
chore: Better database query logs and logarithmic scale in grafana store panels ( #3048 )
2024-09-20 17:43:56 +02:00
Ivan FB
a16c64ad45
chore: extending store metrics ( #3042 )
...
* adding query_metrics module
* update fleet-dashboard with new store panels for better timing insight
2024-09-20 15:43:00 +03:00
Ivan FB
3921036ced
sharding: reduce log level for a too spammy message ( #3045 )
2024-09-20 15:42:46 +03:00
Ivan FB
1f768cb3e8
chore: extending store metrics ( #3042 )
...
* adding query_metrics module
* update fleet-dashboard with new store panels for better timing insight
2024-09-20 13:23:53 +02:00
Ivan FB
d5ff611a5e
sharding: reduce log level for a too spammy message ( #3045 )
2024-09-20 13:22:10 +02:00
NagyZoltanPeter
e7ae1a0382
chore: rate limit peer exchange protocol, enhanced response status in RPC ( #3035 )
...
* Enhanced peer-ex protocol - added rate limiting, added response status and desc to the rpc
* Better error result handling for PeerEx request, adjusted tests
* Refactored RateLimit configuration option for better CLI UX - now possible to set separate limits per protocol. Adjusted mountings. Added and adjusted tests
* Fix libwaku due to changes of error return type of fetchPeerExchangePeers
* Fix rate limit setting tests due to changed defaults
* Introduce new gauge to help dasboard effectively show current rate limit applied for protocol
* Adjust timeing in filter rate limit test to let macos CI test run ok.
* Address review findings, namings, error logs, removed left-overs
* Changes to reflect latest spec agreement and changes. PeerExchange RPC is changed the now respond structure will contain status_code and status_desc.
2024-09-18 15:58:07 +02:00
NagyZoltanPeter
6dfefc5e42
chore: Switch libnegentropy library build from shared to static linkage ( #3041 )
...
* Switch libnegentropy library build from shared to static linkage
* Update negentropy with -fPIC compile option that is necessary for libwaku build
* Bump waku-org/negentropy to the latest on master to incorporate merged static build of libnegentropy
2024-09-18 14:34:50 +02:00
gabrielmer
36df0fd838
fix: setting up node with modified config ( #3036 )
2024-09-16 16:30:38 +03:00
gabrielmer
2a596f4c77
adding a dynamic sleep interval in the connectivity loop ( #3031 )
2024-09-12 22:49:47 +02:00
Ivan FB
004b56e422
chore: libwaku - extending the library with peer_manager and peer_exchange features ( #3026 )
...
* libwaku: get peerids by protocol and peer exchange request
2024-09-11 10:13:54 +02:00
fryorcraken
723b009b20
chore: use submodule nph in CI to check lint ( #3027 )
2024-09-11 11:51:42 +10:00
gabrielmer
43bea3c476
chore: deprecating pubsub topic ( #2997 )
2024-09-10 15:07:12 -06:00
Ivan FB
f34a044ccf
chore: lightpush - error metric less variable by only setting a fixed string ( #3020 )
2024-09-10 17:30:09 +02:00
Ivan FB
aefb7fb73d
fix: get back health check for postgres legacy ( #3010 )
2024-09-10 15:07:53 +02:00
Ivan FB
5f2d87ec71
chore: Bump dependencies for v0.33 ( #3017 )
2024-09-09 10:45:14 +02:00
Ivan FB
50e15746d1
chore: enhance libpq management ( #3015 )
...
* db_postgres: register pg socket fd to chronos better data available awareness
* waku_store protocol: better logs to track time and new store metrics
2024-09-06 11:33:15 +02:00
Simon-Pierre Vivier
ed866321a0
chore: per limit split of PostgreSQL queries ( #3008 )
2024-09-04 10:17:28 -04:00
Ivan FB
236547ec7d
chore: Better timing and requestId detail for slower store db queries ( #2994 )
...
* Better timing and requestId detail for store db queries slower than two seconds
* Adapt tests and client to allow sending custom store requestId
2024-08-29 22:56:14 +02:00
Ivan FB
97019896ac
chore: remove unused setting from external_config.nim ( #3004 )
2024-08-29 17:54:37 +02:00
Ivan FB
6eff20507a
libwaku: exposing more features ( #3003 )
...
- Allow to start or store discv5
- Expose lightpush request operation
- Expose list of connected and mesh peers
- Expose store client
2024-08-29 14:29:02 +02:00
Simon-Pierre Vivier
853025284b
fix waku sync config defaults ( #3001 )
2024-08-28 10:26:38 -04:00
Ivan FB
f1db75262b
chore: delivery monitor for store v3 reliability protocol ( #2977 )
...
- Use of observer observable pattern to inform delivery_monitor about subscription state
- send_monitor becomes a publish observer of lightpush and relay
- deliver monitor add more protection against possible crash and better logs
- creating a separate proc in store client for delivery monitor
2024-08-27 16:49:46 +02:00
Darshan K
fd653ef0da
fix: peer-exchange issue ( #2889 )
2024-08-23 23:31:30 +05:30
Ivan FB
2e8f2f0076
chore: ANALYZE messages query should be performed regularly ( #2986 )
...
---------
Co-authored-by: Richard Ramos <info@richardramos.me>
2024-08-21 19:17:08 +02:00
NagyZoltanPeter
b68cc07261
Distinction between gross/net trafic in bandwidth per shard metric, added bandwidths and request rate panels to single node and fleet dashboards ( #2920 )
2024-08-21 17:10:29 +02:00
NagyZoltanPeter
3212459f77
chore: liteprotocoltester for simulation and for fleets ( #2813 )
...
* Added phase 2 - waku-simulatior integration in README.md
* Enhancement on statistics reports, added list of sent messages with hash, fixed latency calculations
* Enable standalonde running liteprotocoltester agains any waku network/fleet
* Fix missing env vars on run_tester_node.sh
* Adjustment on log levels, fix REST initialization
* Added standalon docker image build, fine tune duplicate detection and logging.
* Adjustments for waku-simulator runs
* Extended liteprotocoltester README.md with docker build
* Fix test inside docker service node connectivity failure
* Update apps/liteprotocoltester/README.md
Co-authored-by: gabrielmer <101006718+gabrielmer@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: gabrielmer <101006718+gabrielmer@users.noreply.github.com>
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
* Explain minLatency calculation in code comment
---------
Co-authored-by: gabrielmer <101006718+gabrielmer@users.noreply.github.com>
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2024-08-21 14:54:18 +02:00
gabrielmer
4b9bee99a8
chore: logging received message info via onValidated observer ( #2973 )
2024-08-19 14:13:28 +02:00
gabrielmer
3f641dff60
chore: deprecating protected topics in favor of protected shards ( #2983 )
2024-08-19 12:56:22 +02:00
gabrielmer
90b4dc89ff
chore: rename NsPubsubTopic ( #2974 )
2024-08-19 11:29:35 +02:00
Ivan FB
73fbe5c337
postgres_driver limit max num hashes to 100 ( #2976 )
2024-08-19 11:12:31 +02:00
richΛrd
4a89875a36
chore: print WakuMessageHash as hex strings ( #2969 )
2024-08-14 21:04:20 +02:00
gabrielmer
1f3162ae5f
avoid using the msg key in chronicles ( #2970 )
2024-08-14 16:40:08 +02:00
Simon-Pierre Vivier
301ce8068c
feat: Nwaku Sync ( #2403 )
...
* feat: Waku Sync Protocol
* feat: state machine (#2656 )
* feat: pruning storage mehcanism (#2673 )
* feat: message transfer mechanism & tests (#2688 )
* update docker files
* added ENR filed for sync & misc. fixes
* adding new sync range param & fixes
---------
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
Co-authored-by: Prem Chaitanya Prathi <chaitanyaprem@gmail.com>
2024-08-13 07:27:34 -04:00
gabrielmer
459221f93d
pruning excess in relay connections ( #2965 )
2024-08-12 17:59:11 +02:00
Ivan FB
6ae46c5fff
faster retention policy when error and use of detach finalize when needed ( #2966 )
2024-08-12 10:47:01 +02:00
richΛrd
71946b911f
fix: return on insert error ( #2956 )
2024-08-11 21:35:04 -04:00
Ivan FB
696587fdac
chore: Optimize hash queries with lookup table ( #2933 )
...
* Upgrade Postgres schema to add messages_lookup table
* Perform optimized query for messageHash-only queries
2024-08-08 21:46:08 +02:00
Aaryamann Challani
b839b1c81f
chore(keystore): verbose error message when credential is not found ( #2943 )
2024-08-07 11:57:03 +02:00
Darshan K
6748142f29
chore: upgrade peer exchange mounting ( #2953 )
2024-08-06 13:27:25 +05:30