Álex Cabeza Romero
8e13bfbb65
test(peer-exchange): Implement peer exchange tests ( #2464 )
...
* Implement peer exchange tests.
* Refactor, and remove duplicated tests.
* feat(wakunode): Resultify fetch peer exchange peers (#2486 )
2024-03-14 17:48:09 +01:00
Vaclav Pavlin
c5960b3133
chore: add 150 kB to msg size histogram metric ( #2430 )
2024-03-14 12:38:02 +01:00
Ivan FB
cd5c34edb1
chore: content_script_version_2: add simple protection and rename messages_backup if exists ( #2531 )
2024-03-13 17:18:19 +01:00
richΛrd
b42f2802c1
feat(rest): add support to ephemeral field ( #2525 )
2024-03-13 08:49:21 -04:00
Alvaro Revuelta
813d0b207c
fix: enable autosharding in any cluster ( #2505 )
2024-03-13 10:58:13 +01:00
kaiserd
5b18537e58
chore(vendor): update nim-libp2p path ( #2527 )
2024-03-12 18:06:41 +01:00
gabrielmer
72d9ed5b0b
chore: adding node factory tests ( #2524 )
2024-03-12 10:12:44 -05:00
gabrielmer
877c618ef1
chore: factory cleanup ( #2523 )
2024-03-12 07:44:54 -06:00
Simon-Pierre Vivier
430708ccc6
feat: archive update for store v3 ( #2451 )
2024-03-12 07:51:03 -04:00
Aaryamann Challani
6d74aa08a9
chore(rln-relay-v2): wakunode testing + improvements ( #2501 )
...
* chore(rln-relay-v2): additional testing
* fix: bump librln to v0.4.2 for v2
* fix: catch possible error from the copyFrom
* ci: rename step title for rln-version
2024-03-12 16:20:30 +05:30
NagyZoltanPeter
5e506c5477
chore: update CHANGELOG for v0.26.0 release ( #2518 )
...
* CHANGELOG for v0.26.0 release
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2024-03-11 15:15:19 +01:00
richΛrd
1dd3fc1e29
fix: introduce new field for shards in metadata protocol ( #2511 )
...
* fix: repeated fields are packed in proto3
* fix: add new field for shards in metadata protobuffers to avoid breaking change and deprecate original field
2024-03-11 10:08:46 -04:00
gabrielmer
92051e95d2
chore: migrating logic from wakunode2.nim to node_factory.nim ( #2504 )
2024-03-08 16:46:42 -06:00
Ivan FB
1f2e5065d3
rest: rm openapi defs. they are in https://github.com/waku-org/waku-rest-api ( #2520 )
2024-03-08 19:43:55 +01:00
Aaryamann Challani
d2f30df8c7
fix(rln-relay): handle empty metadata returned by getMetadata proc ( #2516 )
...
* fix(rln-relay): silence error on startup when metadata is not found
* chore: fix fetching value from option
* fix: clarity of returned opt
2024-03-08 19:36:22 +05:30
richΛrd
eb80891c1e
feat(c-bindings): add function to dealloc nodes ( #2499 )
2024-03-07 13:53:03 -04:00
Ivan FB
132bb0bbf2
feat: Postgres partition implementation ( #2506 )
...
* postgres: first step to implement partition management
* postgres_driver: use of times.now().toTime().toUnix() instead of Moment.now()
* postgres migrations: set new version to 2
* test_driver_postgres: use of assert instead of require and avoid using times.now()
* postgres_driver: better implementation of the reset method with partitions
* Remove createMessageTable, init, and deleteMessageTable procs
* postgres: ensure we use the version 15.4 in tests
* postgres_driver.nim: enhance debug logs partition addition
* ci.yml: ensure logs are printed without colors
* postgres_driver: starting the loop factory in an asynchronous task
* postgres_driver: log partition name and size when removing a partition
2024-03-06 20:50:22 +01:00
Aaryamann Challani
dc6381264f
fix(rln-relay): make nullifier log abide by epoch ordering ( #2508 )
...
* fix(rln-relay): nullifier log abide by epoch ordering
* fix: cleaner hasKey method, test
* chore: idiomatic usage of results, error handling
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
---------
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2024-03-06 23:59:07 +05:30
Aaryamann Challani
af27c97ddd
chore(rln_db_inspector): include in wakunode2 binary ( #2292 )
2024-03-06 19:38:43 +05:30
Aaryamann Challani
16a5d13c94
feat(waku-stealth-commitments): waku stealth commitment protocol ( #2490 )
...
* feat(waku-stealth-commitments): initialize app
* feat: works!
* fix: readme
* feat: send and receive, handle received stealth commitment
* fix: remove empty lines
* chore: move to examples
2024-03-06 18:44:33 +05:30
Aaryamann Challani
8b45204fda
fix(postgres): import under feature flag ( #2500 )
2024-03-06 17:39:02 +05:30
NagyZoltanPeter
70b7224336
Removed json-rpc leftovers ( #2503 )
2024-03-05 15:51:43 +01:00
Benjamin Arntzen
9ced3ba382
docs: Update link to DNS discovery tutorial ( #2496 )
2024-03-04 18:08:39 +01:00
NagyZoltanPeter
4bb8d59b56
vendor lib dependencies are updated to latest where were possible. For next release 0.26.0 ( #2494 )
2024-03-04 16:40:58 +01:00
Ivan FB
43bd54e6ee
Tiny cleanup and more encapsulation in protocol.nim files ( #2488 )
2024-03-04 15:31:37 +01:00
Aaryamann Challani
d3e01495b8
chore(rln-relay-v2): added tests for static rln-relay-v2 ( #2484 )
...
* chore(rln-relay-v2): added tests for onchain rln-relay-v2
* chore(rln-relay): added tests for static rln-relay-v2
* Update waku/waku_rln_relay/group_manager/static/group_manager.nim
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
* fix: split lines
* fix: remove redundant require
* fix: remove redundant require
* fix: bad await
---------
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2024-03-04 17:41:33 +05:30
gabrielmer
8cf2f78b6c
chore: moving node initialization code to node_factory.nim ( #2479 )
2024-03-02 18:59:53 -06:00
Simon-Pierre Vivier
8eff17953c
fix: notify Waku Metadata when Waku Filter subscribe to a topic ( #2493 )
2024-03-01 08:01:37 -05:00
Simon-Pierre Vivier
4638756aef
fix: time on 32 bits architecture ( #2492 )
...
authored-by: Emil Ivanichkov <emil.ivanichkov@gmail.com>
2024-03-01 07:58:45 -05:00
Ivan FB
75521122a4
chore: Postgres migrations ( #2477 )
...
* Add postgres_driver/migrations.nim
* Postgres and archive logic adaptation to the migration implementation
* libwaku: adapt node_lifecycle_request.nim to migration refactoring
* test_app.nim: add more detail for test that only fails in CI
* postgres migrations: store the migration scripts inside the resulting wakunode binary instead of external .sql files.
2024-03-01 12:05:27 +01:00
Aaryamann Challani
545d9aee99
chore(rln-relay-v2): added tests for onchain rln-relay-v2 ( #2482 )
...
* chore(rln-relay-v2): added tests for onchain rln-relay-v2
* Update tests/waku_rln_relay/test_rln_group_manager_onchain.nim
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
---------
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2024-03-01 14:15:40 +05:30
richΛrd
b7f3db0b0a
fix: return message id on waku_relay_publish ( #2485 )
...
* fix: return message id on `waku_relay_publish`
* fix: remove unneeded cast and handle 0 len seqs
* chore: rename messageId to messageHash
2024-02-29 20:58:35 -04:00
Alvaro Revuelta
a8769955f0
chore: remove json rpc ( #2416 )
2024-02-29 23:35:27 +01:00
5ea532bc80
chore(ci): use git describe for image version
...
This way we get both the full commit and the version, whether it's a
proper release or not.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-02-29 10:40:14 +01:00
NagyZoltanPeter
7885ce0c9e
chore: Implemented CORS handling for nwaku REST server ( #2470 )
...
* Add allowOrigin configuration for wakunode and WakuRestServer
Update nim-presto to the latest master that contains middleware support
Rework Rest Server in waku to utilize chronos' and presto's new middleware design and added proper CORS handling.
Added cors tests and fixes
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2024-02-29 09:48:14 +01:00
Alvaro Revuelta
cd9ebde02f
chore: remove rln epoch hardcoding ( #2483 )
2024-02-28 17:19:20 +01:00
Ivan FB
57068747de
chore(cbindings): cbindings rust simple libwaku integration example ( #2089 )
2024-02-26 16:48:05 +01:00
gabrielmer
942063961f
chore: adding NIMFLAGS usage to readme ( #2469 )
2024-02-23 16:25:13 +02:00
gabrielmer
89736d6997
chore: bumping nim-libp2p after yamux timeout fix ( #2468 )
2024-02-22 20:19:56 +02:00
Ivan FB
0887a344a4
refactor: new proc to foster different size retention policy implementations ( #2463 )
...
* new proc to foster different size retention policy implementations
The new proc, decreaseDatabaseSize, will have different implementations
per each driver. For example, in future commits we will implement a size
retention policy thanks to partitions management, in Postgres.
* RetentionPolicy: use of new instead of init for ref object types
* waku_archive: fix signatures in decreaseDatabaseSize methods
* retention_policy_size: minor cleanup of comments and imports
2024-02-22 16:55:37 +01:00
Aaryamann Challani
2f89fdeee9
chore(rln-relay): use anvil instead of ganache in onchain tests ( #2449 )
...
* chore(rln-relay): use anvil instead of ganache in onchain tests
* fix: incl rustup in makefile
2024-02-22 16:59:13 +05:30
Ivan FB
6769d25f54
chore: bindings return multiaddress array ( #2461 )
...
* waku_example.c: adapt signature to new parameter 'void* userData'
* libwaku: add new DEBUG request handler to retrieve the list of listened multiaddresses
* waku_example.c: use example the new 'waku_listen_addresses'
* add debug_node_request.nim file
2024-02-21 12:06:05 +01:00
richΛrd
b3ab9ed474
fix(bindings): base64 payload and key for content topic ( #2435 )
...
* fix(bindings): base64 payload and key for content topic
* fix(bindings): store userData for event callback
* fix(bindings): json message serialization
* fix(bindings): add messageHash to the event callback
* fix(bindings): add meta field
* refactor(bindings): simplify error handling
* fix: handle undefined keys
2024-02-20 16:00:03 -04:00
Guru
1403327620
Wrong docs link ( #2450 )
2024-02-20 22:37:26 +05:30
richΛrd
6de38551fe
feat(bindings): generate a random private key ( #2446 )
2024-02-20 11:18:03 -04:00
Ivan FB
34a3200fd6
waku_metrics: change log interval from 30'' to 10' ( #2428 )
2024-02-19 22:25:20 +01:00
b64080a4ff
chore(ci): fix IMAGE_NAME to use harbor.status.im
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-02-19 11:31:34 +01:00
Hanno Cornelius
bf1bb45d75
feat: prioritise yamux above mplex ( #2417 )
...
* update libp2p submodule
* feat: prefer yamux to mplex
2024-02-17 19:46:01 +00:00
Aaryamann Challani
52af324f47
fix(rln-relay): regex pattern match for extended domains ( #2444 )
...
* fix(rln-relay): regex pattern match for extended domains
* fix: enable localhost too
2024-02-16 22:42:35 +05:30
Aaryamann Challani
57220f4606
chore(rln-relay): remove wss support from node config ( #2442 )
...
* chore(rln-relay): remove wss support from node config
* fix: incl regex pattern examples
* docs: update rln docs
2024-02-16 18:36:31 +05:30