Ivan FB
cfde7eea82
chore: Circuit relay ( #3112 )
...
* undo apt install libpcre (not circuit-relay related.)
* nat.nim: protect against possible exceptions when calling getExternalIP
* new external CLI argument, isRelayClient
* waku factory change to mount circuit hop proto by default
* waku_node: move autonat_service to a separate module
2024-10-28 09:17:46 +01:00
NagyZoltanPeter
268e7e66d0
chore: easy setup fleets for lpt ( #3125 )
...
* Added bootstrap peer exchange discovery option for easy setup ltp
* Extended with PX discovery, auto-dial of PX cap peers, added switching service peers if failed with original
* Added peer-exchange, found capable peers test, metrics on peer stability and availability, dashboard adjustments
* Updated and actualized README.md for liteprotocoltester
* Created jenkinsfile for liteprotocoltester deployment
* Fixed dial exception during lightpublish
* Add configuration for requesting and testing peer exchange peers
* Extended examples added to Readme
* Added metrics port configurability
---------
Co-authored-by: gabrielmer <101006718+gabrielmer@users.noreply.github.com>
2024-10-25 22:59:02 +02:00
gabrielmer
b4d3678ad9
fix: linting error ( #3146 )
2024-10-25 11:04:17 +03:00
gabrielmer
69d9524fa4
chore: saving peers enr capabilities ( #3127 )
2024-10-24 15:31:04 +03:00
gabrielmer
d098b93d9d
decreasing wait time for updating px cache on startup ( #3140 )
2024-10-24 10:33:32 +03:00
Simon-Pierre Vivier
a386880be9
fix: add more logs, stagger intervals & set prune offset to 10% for waku sync ( #3142 )
2024-10-23 17:56:19 -04:00
Simon-Pierre Vivier
80c7581ab1
fix: add log and archive message ingress for sync ( #3133 )
2024-10-23 07:25:07 -04:00
Ivan FB
8106abb9dd
dbconn: allow uuid in requestId by allowing hyphen ( #3139 )
2024-10-23 13:15:53 +02:00
Ivan FB
3dc3fc8e5a
peer_manager: prevent too intense loop when no peers connected ( #3130 )
2024-10-22 20:09:25 +02:00
richΛrd
c35dc54923
fix: add a limit of max 10 content topics per query ( #3117 )
2024-10-16 17:55:04 -04:00
Simon-Pierre Vivier
bdb31cc114
added randomness to peer selection ( #3123 )
2024-10-16 15:18:47 -04:00
gabrielmer
82fd5dde61
fix: avoid segfault by setting a default num peers requested in PX ( #3122 )
2024-10-16 17:04:27 +03:00
gabrielmer
25da810257
chore: adding to libwaku dial and disconnect by peerIds ( #3111 )
2024-10-15 15:32:02 +03:00
Ivan FB
30c072a420
chore: dbconn - add requestId info as a comment in the database logs ( #3110 )
2024-10-15 09:42:53 +02:00
richΛrd
c861fa9f75
chore: remove warnings ( #3106 )
...
- Removes deprecation and unused import warnings for libwaku
- Removes unused imports
- Adds .base. pragma to `SubscriptionObserver.onSubscribe`
- Uses casting for uint to enums conversions
- Bumps nim-chronicles
2024-10-10 08:40:09 -04:00
Ivan FB
21b0355137
chore: better store logs ( #3103 )
...
* simple change better waku store debug logs with some timing info
* dbconn: give some more name clarity and more log detail
2024-10-10 11:57:57 +02:00
Darshan K
c3756e3a8d
chore: Improve binding for waku_sync ( #3102 )
2024-10-10 14:17:33 +05:30
gabrielmer
1d2b910f54
fix: remove spammy log ( #3091 )
2024-10-04 17:11:40 +03:00
Darshan K
0f8e874000
refactor: re-arrange function based on responsibility of peer-manager ( #3086 )
2024-10-04 15:23:20 +05:30
gabrielmer
eb2bbae665
fix: out connections leak ( #3077 )
2024-10-03 12:37:22 +03:00
Ivan FB
3ad613cad4
chore: waku_keystore: give some more context in case of error ( #3064 )
2024-10-03 00:05:49 +02:00
gabrielmer
ca448789f0
Merge branch 'master' into chore-merge-release-v0.33-to-master
2024-10-02 10:32:34 +03:00
Ivan FB
5875ed63af
chore: Optimize store ( #3061 )
...
* use messages_lookup to retrieve timestamps
* deep refactoring in db_postgres for better use of async approach
2024-10-01 23:36:03 +02:00
gabrielmer
45fec1a1d9
Update peer_manager.nim
2024-09-30 21:05:03 +03:00
gabrielmer
eebce3ccce
Merge branch 'master' into chore-merge-release-v0.33-to-master
2024-09-30 21:02:26 +03:00
gabrielmer
f8946b8263
fix: rejecting excess relay connections ( #3065 )
2024-09-27 19:42:51 +03:00
gabrielmer
8b0884c7b5
fix: rejecting excess relay connections ( #3065 )
2024-09-27 19:35:18 +03:00
Darshan K
729e63f53d
refactor: wrap peer store ( #3051 )
...
Encapsulate peerstore with wakupeerstore
2024-09-27 18:16:46 +05:30
gabrielmer
b358c90fa5
chore: disabling metrics for libwaku ( #3058 )
2024-09-25 14:08:01 +03:00
Ivan FB
368bb3c199
append current version in agentString which is used by the identify protocol ( #3057 )
2024-09-25 12:59:46 +03:00
Ivan FB
b688edc079
append current version in agentString which is used by the identify protocol ( #3057 )
2024-09-25 11:52:02 +02:00
NagyZoltanPeter
5afa9b13ea
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
711e7db1e9
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
9b445ac49f
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
e492c590e9
chore: Better database query logs and logarithmic scale in grafana store panels ( #3048 )
2024-09-20 22:47:15 +03:00
Ivan FB
d68b06f145
chore: Better database query logs and logarithmic scale in grafana store panels ( #3048 )
2024-09-20 17:43:56 +02:00
Ivan FB
26a488d522
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
b534a1c257
sharding: reduce log level for a too spammy message ( #3045 )
2024-09-20 15:42:46 +03:00
Ivan FB
fd83b42faa
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
7add5b7991
sharding: reduce log level for a too spammy message ( #3045 )
2024-09-20 13:22:10 +02:00
NagyZoltanPeter
0a7f16a332
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
83f25c3e99
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
8f28992599
fix: setting up node with modified config ( #3036 )
2024-09-16 16:30:38 +03:00
gabrielmer
51391aa2ac
adding a dynamic sleep interval in the connectivity loop ( #3031 )
2024-09-12 22:49:47 +02:00
Ivan FB
5ea1cf0cf3
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
ce9a8c468a
chore: use submodule nph in CI to check lint ( #3027 )
2024-09-11 11:51:42 +10:00
gabrielmer
a3cd2a1a92
chore: deprecating pubsub topic ( #2997 )
2024-09-10 15:07:12 -06:00
Ivan FB
d3e6717a60
chore: lightpush - error metric less variable by only setting a fixed string ( #3020 )
2024-09-10 17:30:09 +02:00
Ivan FB
5a0edff79a
fix: get back health check for postgres legacy ( #3010 )
2024-09-10 15:07:53 +02:00
Ivan FB
6c890de4a8
chore: Bump dependencies for v0.33 ( #3017 )
2024-09-09 10:45:14 +02:00