Richard Ramos
5422af8130
fix(rln-relay): RLN DB should be aware of chain and contract address
2023-08-24 10:38:59 -04:00
Richard Ramos
7e36f91a5a
fix(rln-relay): flush_interval incorrectly set
2023-08-24 10:38:28 -04:00
Richard Ramos
f62ba67a92
chore: update smart contracts and documentation
2023-08-24 10:37:54 -04:00
Richard Ramos
0b943caaa8
refactor: remove credential registering from waku
2023-08-24 10:37:54 -04:00
Richard Ramos
f088e49075
feat: create `generate-rln-credentials` subcommand
2023-08-24 10:37:54 -04:00
Richard Ramos
8cc92dfdef
chore(rln-relay): rename keystore application to `waku-rln-relay`
2023-08-23 15:38:05 -04:00
Prem Chaitanya Prathi
bc06867cc9
chore: utils tests ( #661 )
...
* chore: add tests for utils
* chore:delete unused code
* fix: ipv6 validation issue
2023-08-22 19:18:43 +05:30
Prem Chaitanya Prathi
54c02213cd
fix: code scan alerts ( #664 )
...
* fix: error reported by codeQL
* chore: remove lgtm alert as repo has moved to code scanning
* chore: bump libp2p and deps in order to fix a security vulnerability
* chore: update gitignore for example build and bin
* chore:fix vendor sha
2023-08-22 19:18:20 +05:30
Richard Ramos
5d5fe3413e
fix: revert to only execute `build` target on `make`
2023-08-21 13:04:35 -04:00
Richard Ramos
fc4840e1c9
fix: building RLN on macos
2023-08-21 12:44:21 -04:00
Prem Chaitanya Prathi
78db78d5a9
Fix/build errors on Mac OS ( #660 )
...
* updated go dependencies after running mobile builds
* fixed build error in macOS due to sed syntax. Updated all target to build required targets.
2023-08-21 19:38:31 +05:30
Prem Chaitanya Prathi
8a9c4d68e3
feat: register for local node's reachability change ( #651 )
...
* feat:Register for reachability change and log status
Co-authored-by: richΛrd <info@richardramos.me>
---------
Co-authored-by: richΛrd <info@richardramos.me>
2023-08-20 18:06:35 +05:30
richΛrd
ee17c23345
fix: log output and encoding ( #656 )
2023-08-19 08:48:42 +05:30
Richard Ramos
2818c3d394
refactor: add libp2p metrics, and make each protocol responsable for defining its own metrics
2023-08-18 13:56:43 -04:00
richΛrd
387ee5f9ac
feat: merkle tree persistence
...
- use atomic operations API
- resume onchain sync from persisted tree db
- close eth client and db connection appropriately
- pass in the path to the tree db
- fix nwaku compatibility issues
2023-08-18 09:59:37 -04:00
Prem Chaitanya Prathi
287d7a014e
fix: fix relay peer calculation ( #650 )
2023-08-17 18:26:20 +05:30
Prem Chaitanya Prathi
770f41158f
Chore/pre commit check to run go.mod for all examples ( #647 )
...
* chore:added pre commit hook to execute go mod tidy in all sub dirs
* chore:fix examples
2023-08-16 17:56:57 +05:30
Prem Chaitanya Prathi
f263be4a74
fix: race condition in peermgt initialization reported by race detector ( #646 )
2023-08-16 17:55:58 +05:30
Jakub Sokołowski
d860d825c1
ci: add RACE parameter to fix conditional ( #648 )
...
We are checking if `JOB_NAME` contains a token `race` to set the default
value for `RACE` parameter which decides which tests run.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-08-16 17:34:57 +05:30
fryorcraken.eth
9e6c09e680
chore: update GH Action to add issues to project
2023-08-16 11:38:03 +10:00
Prem Chaitanya Prathi
06f027b1a9
feat: implement relay connectivity loop ( #642 )
...
* feat: implement relay conenctivity loop
* chore: fix codeclimate issues
* Apply suggestions from code review
Co-authored-by: richΛrd <info@richardramos.me>
* chore:address review comments
---------
Co-authored-by: richΛrd <info@richardramos.me>
2023-08-15 06:57:51 +05:30
Vitaliy Vlasov
419adcb6a8
chore(filter2): test updates
2023-08-14 16:29:00 -04:00
Richard Ramos
c320b38cbe
feat(rln-relay): use atomic operations API
2023-08-12 07:44:07 -04:00
Richard Ramos
da45dab68e
fix: nwaku / go-waku rlnKeystore compat
2023-08-11 11:54:24 -04:00
Richard Ramos
eb836d71e3
refactor: remove enc_publish functions and create separate encoding functions instead
2023-08-11 11:47:58 -04:00
Richard Ramos
b498308cdd
chore: update example
2023-08-11 11:47:58 -04:00
Richard Ramos
317798ac9f
refactor: c-bindings
2023-08-11 11:47:58 -04:00
Richard Ramos
9e52e09dd5
chore: keepAlive will not immediatly disconnect peers when waking up from sleep, but do it only if pinging the peer fails
2023-08-10 11:16:02 -04:00
Richard Ramos
e0e4a2fa87
refactor: remove unused function and simplify code related to creating db and migrations
2023-08-10 10:37:22 -04:00
Richard Ramos
e56f54252f
fix: postgresql VACUUM FULL is the equivalent to sqlite VACUUM
2023-08-10 10:29:40 -04:00
Richard Ramos
05d8cfdc65
feat: postgresql vacuum
2023-08-10 10:29:40 -04:00
Richard Ramos
ee2af4646c
feat: sqlite vacuum and optional migrations
2023-08-10 10:29:40 -04:00
Richard Ramos
b88907c5ee
refactor: move --generate-key to a generate-key subcommand
2023-08-10 09:32:25 -04:00
richΛrd
164c92554b
refactor: c-bindings
2023-08-10 09:30:38 -04:00
Prem Chaitanya Prathi
9f45d271ac
feat: support serviceslots in peermanager ( #631 )
...
* feat: support peermanager serviceslots and update store protocol to use serviceslots
* fix: lint errors in test code
* fix: error in nix build due to vendor sha change
* fix: set host in peermanager even if relay is disabled
* chore: fix codeclimate issues
* chore: using common filterPeer function to avoid duplication
* feat:use service slots in other service protocols
* chore: fix codeclimate issues
* chore: move AddPeer to peermanager
* Apply suggestions from code review
Co-authored-by: richΛrd <info@richardramos.me>
* chore:address review comments
* feat: implement RemovePeer #638
* chore: fix test failure
* Support for multiple slots for service peers
Adding discovered peers also moved to peer manager
---------
Co-authored-by: richΛrd <info@richardramos.me>
2023-08-10 18:28:22 +05:30
Prem Chaitanya Prathi
299801d4ad
Merge pull request #627 from waku-org/fix/data-races
...
Run unit tests with -race flag and fix identified data races
2023-08-09 10:55:56 +05:30
Prem Chaitanya Prathi
95fc8ff77b
chore:address review comments
2023-08-09 10:21:20 +05:30
Prem Chaitanya Prathi
65f26978f9
chore: address review comments
2023-08-08 10:16:54 +05:30
Prem Chaitanya Prathi
b1a4d739ce
Merge branch 'master' into fix/data-races
2023-08-08 09:57:22 +05:30
Richard Ramos
df78d21dfd
chore: remove v1 code and legacy filter from chat2
...
Also removes the private API from RPC. C-Bindings are not affected, but future revisions might remove the asymmetric/symmetric functions for lightpush and relay and replace them instead by separate encoding functions
2023-08-07 15:09:32 -04:00
Prem Chaitanya Prathi
7c632e40c0
chore: add new jenkins job file to run tests with race flag
2023-08-07 21:21:12 +05:30
Prem Chaitanya Prathi
6429af9ca7
chore: disable -race by default and create a new make target
2023-08-07 21:20:36 +05:30
Prem Chaitanya Prathi
af7471d158
fix:during unsubscribeAll, remove peer without any checks
2023-08-07 15:01:44 +05:30
Prem Chaitanya Prathi
baeaa1dd55
fix: data race in peer connector
2023-08-07 14:42:48 +05:30
Prem Chaitanya Prathi
20040f2e9b
fix: data race in filter unsubscribe
2023-08-05 08:03:19 +05:30
Prem Chaitanya Prathi
22398b2868
fix:race in filter peer subscription map iteration and deletion
2023-08-05 08:00:04 +05:30
Prem Chaitanya Prathi
045fcf02d9
Create pull_request_template.md ( #625 )
...
Template for a pull request which helps reviewers
2023-08-05 05:47:57 +05:30
Prem Chaitanya Prathi
87a7501166
chore:dependency fixes
2023-08-04 17:24:27 +05:30
Prem Chaitanya Prathi
884f65ecdf
fix: noise protocol channel close race condition
2023-08-04 17:19:53 +05:30
Prem Chaitanya Prathi
42b2c0bc6d
fix: race condition in rendezvous test code
2023-08-04 16:37:45 +05:30