Commit Graph

1756 Commits

Author SHA1 Message Date
fryorcraken 6251dddae2
feat: validate rln relay config when mounting
Fails faster when ethereum client address is not passed.
2024-08-15 12:56:48 +10:00
fryorcraken 79b0e2e023
chore: log config once preset is applied to show final values 2024-08-15 12:56:48 +10:00
fryorcraken a29da6c18a
chore: add run-wakunode2 task to makefile
To easily build and run wakunode2 from makefile.
2024-08-15 12:56:46 +10:00
fryorcraken 222be9eb13
chore: remove dupe handling of the private key 2024-08-15 12:56:29 +10:00
fryorcraken 4efa7a1879
feat: set --keep-alive to enabled for TWN preset 2024-08-15 12:56:29 +10:00
fryorcraken 6c83ffb21a
feat!: introduce `preset` option instead of deducing from cluster-id 2024-08-15 12:56:27 +10:00
fryorcraken c5887bd23c
chore: remove unused import warning 2024-08-15 12:51:58 +10:00
fryorcraken 62acfcded5
feat: set default --max-connections to 150 by default
Similar value to nwaku-compose. `wakunode2` is assumed to be used as
service node by default.
2024-08-15 12:51:57 +10:00
fryorcraken 37ea65224f
feat!: change default eth client value to empty string
Does not really make sense to have a default value set to localhost and
assume user has a local eth node running.
On the contrary, this can lead to issue where user doesn't understand
why the node tries to connect to localhost.
2024-08-15 12:51:57 +10:00
fryorcraken 079dfead73
feat: remove --relay-peer-exchange option
Not a protocol we want to use now.
2024-08-15 12:51:57 +10:00
fryorcraken ea81ae26da
feat: remove --agent-string option
Does not need to be configurable on the CLI.
2024-08-15 12:51:57 +10:00
fryorcraken 3ca42bbd0a
chore: reorganize config items in code 2024-08-15 12:51:57 +10:00
fryorcraken 9643a8c4be
chore: fix typo 2024-08-15 12:51:57 +10:00
fryorcraken 0696f08086
doc: clarify max shard value on CLI args 2024-08-15 12:51:57 +10:00
richΛrd 2fd4eb62fd
chore: print WakuMessageHash as hex strings (#2969) 2024-08-14 21:04:20 +02:00
gabrielmer 225b5e7260
avoid using the msg key in chronicles (#2970) 2024-08-14 16:40:08 +02:00
gabrielmer dfd42a7cb1
chore: updating dependencies for release 0.32.0 (#2971) 2024-08-14 16:38:31 +02:00
Ivan FB b36cb07541
chore: bump negentropy to latest master (#2968)
Submodule vendor/negentropy 311a21a22..f15207699:
  > Merge pull request #6 from waku-org/fix/add-missing-include
  > Merge pull request #7 from waku-org/avoid-use-pragma-once
2024-08-13 18:28:13 +02:00
Simon-Pierre Vivier 2cc86c51da
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 54b5222222
pruning excess in relay connections (#2965) 2024-08-12 17:59:11 +02:00
Ivan FB 71d4a11647
faster retention policy when error and use of detach finalize when needed (#2966) 2024-08-12 10:47:01 +02:00
richΛrd 5f0fbd78c4
fix: return on insert error (#2956) 2024-08-11 21:35:04 -04:00
Ivan FB 4d47aa655f
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
Ivan FB ac1d9efda9
networkmonitor: fix compilation issue (#2964) 2024-08-08 20:11:51 +02:00
Simon-Pierre Vivier 4340eb75e1
feat: misc. updates for discovery network analysis (#2930)
added metrics, a way to start without RLN and a new avg latency algorithm
2024-08-07 14:58:28 -04:00
Aaryamann Challani 0f11ee1422
chore(keystore): verbose error message when credential is not found (#2943) 2024-08-07 11:57:03 +02:00
Darshan K 42f1bed04c
chore: upgrade peer exchange mounting (#2953) 2024-08-06 13:27:25 +05:30
Jakub Sokołowski f534549a1e
chore: replace statusim.net instances with status.im (#2941)
Use of `statusim.net` domain been deprecated since March:
https://github.com/status-im/infra-shards/commit/7df38c14

Also adjust test to match enr with multiaddresses.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-08-05 12:57:43 +02:00
Álex a3fa175054
test(rln): Implement rln tests (#2639)
* Implement tests.
* Clean coding.
2024-08-02 16:43:22 +02:00
Ivan FB ebda56dd90
lightpush better feedback in case the lightpush service node does not have peers (#2951) 2024-08-02 09:45:05 +02:00
gabrielmer 64855502cf
don't start node when it's discv5 only (#2947) 2024-08-01 23:28:00 +03:00
Ivan FB 7bd4100595
prepare_release.md simplify and relax CCs usage in status.staging (#2945) 2024-07-31 10:26:10 +02:00
gabrielmer bb7bba35b1
chore: updating doc reference to https rpc (#2937) 2024-07-31 11:12:14 +03:00
Prem Chaitanya Prathi 8058323760
fix: network monitor improvements (#2939) 2024-07-30 16:56:49 +03:00
Ivan FB d4e8a0dab6
chore: Simplification of store legacy code (#2931) 2024-07-30 14:05:23 +02:00
Simon-Pierre Vivier aed2a1130e
feat: store resume (#2919)
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2024-07-30 07:23:39 -04:00
Ivan FB 04027e58b2
Merge pull request #2915 from waku-org/release/v0.31 2024-07-30 12:34:18 +02:00
Simon-Pierre Vivier b4618f98ed
chore: add peer filtering by cluster for waku peer exchange (#2932) 2024-07-29 15:53:43 -04:00
Simon-Pierre Vivier e4e01fabfe
fix: add back waku discv5 metrics (#2927)
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2024-07-26 16:18:14 -04:00
Darshan K 08973add7e
fix: update and shift unittest (#2934)
* fix: update and shift location of unit test
2024-07-26 16:57:34 +05:30
gabrielmer d9ff2ffb8f
bumping nim-bearssl (#2936) 2024-07-26 13:49:29 +03:00
gabrielmer c1cdfffaf1
including UTC time in logs and logging timestamp (#2926) 2024-07-26 12:45:44 +02:00
Sasha a29eca77a0
chore: return all connected peers from REST API (#2923)
* Remove the condition of gathering connected peers with relay and user req/resp protocols.
* Return PeerExchange protocol support of connected nodes with /admin/peers
* Added test for checking return of PeerExchange mounted protocol of connected peer by GET /admin/peers

---------

Co-authored-by: NagyZoltanPeter <113987313+NagyZoltanPeter@users.noreply.github.com>
2024-07-23 12:58:56 +02:00
gabrielmer 086cc8edd2
chore: adding lint job to the CI (#2925) 2024-07-23 13:57:24 +03:00
Darshan K 8d107b0ded
fix: handle rln-relay-message-limit (#2867)
* fix: enforcing rln-contract max message limit and resolve early
2024-07-22 22:28:45 +05:30
gabrielmer 6d385cefef
chore: improve sonda dashboard (#2918) 2024-07-19 14:31:23 +03:00
Ivan FB b34008e60f
chore: update CHANGELOG.md for v0.31.0 (#2912)
Co-authored-by: gabrielmer <101006718+gabrielmer@users.noreply.github.com>
2024-07-17 18:42:36 +02:00
NagyZoltanPeter ad25f43772
chore: Add new custom built and test target to make in order to enable easy build or test single nim modules (#2913)
* Add new custom built and test target to make in order to enable easy build or test single nim modules
* Extend README.md describe how to use it
2024-07-17 15:21:37 +02:00
gabrielmer b9235995c9
setting filter handling logs to trace (#2914) 2024-07-17 12:52:44 +02:00
gabrielmer 5c539fe13d
setting filter handling logs to trace (#2914) 2024-07-17 13:29:53 +03:00