Commit Graph

1197 Commits

Author SHA1 Message Date
DarshanBPatel da597c1769
chore: lint issue 2024-12-17 18:42:58 +05:30
DarshanBPatel 3b374a3ab0
chore: everything in one comment 2024-12-17 16:46:38 +05:30
gabrielmer 049fbeabbb
feat: allowing configuration of application level callbacks (#3206) 2024-12-13 17:38:16 +01:00
NagyZoltanPeter e2b7149f82
chore: Bump nimbus and nim to latest available - nim-2.0.12 (#3188)
* Bump nimbus and nim to latest available - nim-2.0.12
* Fix name collision of templates of result.nim and nwaku serdes.nim - unrecognizedFieldWarning
2024-12-10 14:42:54 +01:00
Simon-Pierre Vivier 650a9487e1
feat: waku rendezvous wrapper (#2962) 2024-12-09 15:22:36 -05:00
clonefetch 8f2bd39f23
chore: fix some typos in comment (#3201)
Signed-off-by: clonefetch <c0217@outlook.com>
2024-12-09 14:45:26 +01:00
NagyZoltanPeter beb21c78f4
fix: lite-protocol-tester receiver exit check (#3187)
* Fix receiver exit criteria, not let it wait forever in some cases, added a timely check from the last arrived message
* Extend dial and service usage failure metrics with agent string to reveal service nodes origins
* Adjusted infra testing content topic to be unique in the system
* Extend error logs with peer's agent string, fix exit criteria
* Add informative log for not waiting for more messages
* Add unknown as default for empty agent identifier
* better explain exit logic of receiver
* Address review comment - checking for last message arrival return Optional Moment instead of result - better explains what is happening.
2024-12-07 01:22:50 +01:00
Darshan K 1b532e8ab9
chore: add two metrics and panal (#3181) 2024-12-04 17:11:41 +05:30
gabrielmer d7d00bfd79
feat: making dns discovery async (#3175) 2024-12-03 14:39:37 +01:00
Ivan FB f856298caa
chore: Filter in libwaku (#3177) 2024-11-29 15:31:08 +01:00
Simon-Pierre Vivier 2ab9c3d363
feat: remove Waku Sync 1.0 & Negentropy (#3185) 2024-11-29 09:09:41 -05:00
NagyZoltanPeter 8368ff006d
chore: Partial version bumps for v0.34.0-rc.1 (#3172)
* Bumps for v0.34.0-rc.1 - partial bumping - libp2p
* Avoid importing quic and ngtcp2 dependencies through tests
* libp2p 1.7.1, fixes RendezVous construction
2024-11-10 09:27:04 +01:00
gabrielmer 8fde70937d
chore: removing protected-topic cli flg (#3160) 2024-10-31 14:33:36 +02:00
gabrielmer 400d7a54f6
feat: running periodicaly peer exchange if discv5 is disabled (#3150) 2024-10-30 12:51:04 +02:00
gabrielmer b3656d6eea
chore: naming connectPeer procedure (#3157) 2024-10-29 18:37:07 +02:00
gabrielmer 99ac68447c
fix: linting error (#3156) 2024-10-29 15:36:21 +02:00
fryorcraken 956fde6ebc
feat: change latency buckets (#3153) 2024-10-29 14:39:12 +11:00
richΛrd 3665991a65
chore: support ping with multiple multiaddresses and close stream (#3154) 2024-10-28 15:51:07 -04:00
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