2150 Commits

Author SHA1 Message Date
Sergei Tikhomirov
207722016b use silent curl in examples for brevity 2025-08-07 19:11:41 +02:00
Sergei Tikhomirov
743e889f0e fixes in i13n readme 2025-08-07 19:06:09 +02:00
Sergei Tikhomirov
dbefff081a fix: remove extra ticks 2025-08-07 19:03:14 +02:00
Sergei Tikhomirov
abb01825b6 check reputation with REST API instead of logs 2025-08-07 18:59:21 +02:00
Sergei Tikhomirov
1abe4f26e4 add reputation to REST API endpoints 2025-08-07 18:31:12 +02:00
Sergei Tikhomirov
23dd47dfbe add comment on INVALID_MESSAGE handling w.r.t reputation 2025-08-01 14:21:35 +02:00
Sergei Tikhomirov
bc73b71ff0 minor refactor, remove unnecessary log lines 2025-08-01 13:34:17 +02:00
Sergei Tikhomirov
ef4ec24b85 minor edits in PoC readme 2025-08-01 13:01:09 +02:00
Sergei Tikhomirov
ac64a1bcbe replace default password in i13n PoC envvars 2025-08-01 12:40:01 +02:00
Sergei Tikhomirov
ee6fa04eee add spoilers for testing scenario 2025-07-30 12:47:35 +02:00
Sergei Tikhomirov
bb7eac85a5 edit testing scenario instructions for clarity 2025-07-28 21:28:48 +02:00
Sergei Tikhomirov
c29cae121f edit PoC instructions for clarity 2025-07-28 17:44:49 +02:00
Sergei Tikhomirov
b0488ffac2 fix: only mark txid as seen if response is successful 2025-07-28 17:01:57 +02:00
Sergei Tikhomirov
e3bfdac2d7 chore: minor edits in config files 2025-07-28 13:01:03 +02:00
Sergei Tikhomirov
366d96dcba use env var file; edit setup instuctions 2025-07-25 17:16:26 +02:00
Sergei Tikhomirov
7fa3c4be9c use config files for i13n-poc nodes 2025-07-18 17:05:57 +02:00
Sergei Tikhomirov
9b8b5b38f4 add i13n PoC testing instructions 2025-07-15 18:59:17 +02:00
Sergei Tikhomirov
0edacb9e73 Merge branch 'master' of github.com:waku-org/nwaku into feat/service-incentivization-poc 2025-07-15 17:03:09 +02:00
Sergei Tikhomirov
fcdf674726 restore things mistakenly removed during merge 2025-07-15 16:56:27 +02:00
Sergei Tikhomirov
4e8de55de0 use new Lightpush status type in reputation tests 2025-07-15 15:34:57 +02:00
gabrielmer
0830898530 fix: libwaku received signal (#3507) 2025-07-15 14:43:05 +02:00
Darshan K
8fd862b52e chore: docs update according to new contract (#3504) 2025-07-15 13:19:31 +05:30
Darshan K
a4f8b2bedd fix: update readme (#3501) 2025-07-14 14:34:22 +05:30
gabrielmer
7123c5532c chore: wait before starting watchdog (#3502) 2025-07-11 12:07:12 +03:00
Sergei Tikhomirov
e0edb717d0 fix merge issues 2025-07-10 19:42:26 +02:00
gabrielmer
012d719722 chore: cleaning waitFor instances (#3495) 2025-07-10 19:49:47 +03:00
Sergei Tikhomirov
921e651ba2 Merge branch 'master' into feat/service-incentivization-poc 2025-07-10 18:24:40 +02:00
Sergei Tikhomirov
e07438d306 minor refactor for DRY 2025-07-10 17:41:42 +02:00
fryorcraken
3133aaaf71 chore: use distinct type for Light push status codes (#3488)
* chore: use distinct type for Light push status codes

* Make naming more explicit

* test: use new light push error code in tests

* fix missed line

* fix thing
2025-07-10 10:56:02 +10:00
Sergei Tikhomirov
2c9e801b1a randomize peer selection from peerstore 2025-07-09 16:56:33 +02:00
Sergei Tikhomirov
4a0de2ff76 add NeutralReponse option that doesn't affect server's reputation 2025-07-09 16:13:15 +02:00
Sergei Tikhomirov
14698bd9d9 handle empty pre-selected peers case due to bad reputation 2025-07-09 15:51:14 +02:00
fryorcraken
4e527ee045 chore: use type for rate limit config (#3489)
* chore: use type for rate limit config

Use type instead of `seq[string]` for rate limit config earlier.
Enables to fail faster (at config time) if the string is malformated

Also enables using object in some scenarios.

* test: remove import warnings

* improve naming and add tests
2025-07-09 15:57:38 +10:00
Sergei Tikhomirov
bdd2ed51fd propagate reputation-enabled config from CLI, init ReputationManager 2025-07-08 15:30:40 +02:00
Darshan K
b713b6e5f4 fix: make test configuration (#3480) 2025-07-08 18:25:36 +05:30
gabrielmer
dde023eacf fix: static sharding setup (#3494) 2025-07-04 15:08:15 +02:00
fryorcraken
994d485b49 chore!: make sharding configuration explicit (#3468)
* Reserve `networkconfig` name to waku network related settings

* Rename cluster conf to network conf

 A `NetworkConf` is a Waku network configuration.

# Conflicts:
#	tests/factory/test_waku_conf.nim

# Conflicts:
#	tests/factory/test_waku_conf.nim

* Improve sharding configuration

A smarter data types simplifies the logic.

* Fixing tests

* fixup! rename to endpointConf

* wip: autosharding is a specific configuration state and treat it like
it

# Conflicts:
#	waku/factory/external_config.nim

* refactor lightpush handler

some metrics error reporting were missing

# Conflicts:
#	waku/waku_lightpush/protocol.nim

* test_node_factory tests pass

* remove warnings

* fix tests

* Revert eager previous replace-all command

* fix up build tools compilation

* metadata is used to store cluster id

* Mount relay routes in static sharding

* Rename activeRelayShards to subscribeShards

To make it clearer that these are the shards the node will subscribe to.

* Remove unused msg var

* Improve error handling

* Set autosharding as default, with 1 shard in network

Also makes shards to subscribe to all shards in auto sharding, none in
static sharding.
2025-07-04 17:10:53 +10:00
fryorcraken
0ed3fc8079 fix: lightpush metrics (#3486)
* fix: lightpush metrics

Some light push errors were not reported in metrics due to
an early return.

* Small improvements

* Bound metrics value by using error codes
2025-07-03 12:29:16 +10:00
fryorcraken
4b186a4b28 fix: deprecate --dns-discovery (#3485)
* fix: deprecate `--dns-discovery`

Properly deprecates `--dns-discovery` CLI arg.
DNS Discovery is enabled if a non-empty DNS Discovery URL is passed.

* test: add test_all for factory

add and use test_all for some tests.
2025-07-03 11:56:43 +10:00
gabrielmer
ac094eae38 chore: not supporting legacy store by default (#3484) 2025-07-02 17:22:51 +02:00
gabrielmer
cc30666016 fix: removing keepAlive from wakuConf (#3481) 2025-07-01 21:14:21 +02:00
NagyZoltanPeter
bed5c9ab52 Fix legacy lightpush diagnostic log(#3478)
DST team needs unintentionally removed my_peer_id back for legacy-lightpush for their analysis tool
2025-06-30 17:11:38 +02:00
gabrielmer
d820976eaf chore: improve keep alive (#3458) 2025-06-27 11:16:00 +02:00
Sergei Tikhomirov
5e038f6a4b add eligibility check in Lightpush protocol 2025-06-26 23:37:39 +02:00
Simon-Pierre Vivier
edf416f9e0 fix: remove waku sync broken dos mechanism (#3472) 2025-06-26 11:40:10 -04:00
Sergei Tikhomirov
d20f64f0f8 [WIP] pass eligibility proof to the service node (check still required)( 2025-06-26 15:51:16 +02:00
gabrielmer
671a4f0ae2 fix: libwaku.so compilation (#3474) 2025-06-26 15:41:45 +02:00
Sergei Tikhomirov
2a6e3c9119 refactor: store expected amount and address in EligibilityManager 2025-06-26 12:42:36 +02:00
Ivan FB
26c2b96cfe chore: rename modules (#3469) 2025-06-26 11:27:39 +02:00
Darshan K
5c38a53f7c feat: libwaku dll for status go (#3460) 2025-06-26 01:03:40 +05:30