richΛrd
28c2a2704a
feat: storeV3 client ( #1028 )
2024-05-03 12:07:03 -04:00
Roman Zajic
75f975ce7a
chore: RLN tests coverage improvement ( #1003 )
2024-01-11 22:52:52 +08:00
Prem Chaitanya Prathi
021265eba4
feat: fill msg timestamp while appending RLN proof it is not set ( #940 )
2023-12-06 07:27:00 +05:30
richΛrd
5aa4d578aa
fix: panic if it is not possible to obtain the merkle root ( #873 )
2023-11-09 16:17:41 -04:00
richΛrd
150ade6f33
chore: use waku-org/waku-proto repository for protobuffer definitions ( #828 )
2023-11-07 15:48:43 -04:00
Richard Ramos
55bc21c604
feat(rln-relay): isReady
2023-09-14 10:47:27 -04:00
Richard Ramos
7beaa3f029
feat(rln-relay): ensure execution order for pubsub validators
2023-09-14 09:38:28 -04:00
Richard Ramos
18efd2c737
chore(rln-relay): clean up nullifier table every MaxEpochGap
2023-09-08 14:13:12 -04:00
harsh jain
08cabab41f
fix: and optimising fetching membership events ( #706 )
...
* fix: and optimising fetching membership events
* fix: start from lastProcessedBlock+1
* test: fetching membership logic
* refactor: usage of rlnInstance,rootTracker,groupManager
rlnInstance, rootTrack were previously created while creating rlnRelay
but were assigned to groupManager on Start of rlnRelay. This created
unncessary dependency of passing them to static and dynamic group
manager.
Web3Config uses interface EthClientI for client, so that we can pass
mock client for testing MembershipFetcher.
* fix: failing test
* fix: lint error
* fix: account for PR suggestions
* fix: failing race test
* fix: dont' increase fromBlock on error
* nit: fix naming and add comments
2023-09-07 23:23:48 +07:00
Richard Ramos
9c0bebc859
refactor: use a map to store credentials instead of an array
2023-08-31 15:42:45 -04:00
Richard Ramos
cb3f5da322
feat: rln metrics
2023-08-24 11:26:37 -04:00
Richard Ramos
624fe1bb2f
chore(rln): run rln in all relay pubsubtopics + remove cli flags
2023-08-24 10:48:22 -04:00
Richard Ramos
7e36f91a5a
fix(rln-relay): flush_interval incorrectly set
2023-08-24 10:38:28 -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
Richard Ramos
55ec2347a8
fix: RLN
...
- subscription to topic is not required for registering RLN validator
- check for duplication msg within same epoch was incorrect
- added an example on how to use RLN
2023-08-01 09:19:38 -04:00
Richard Ramos
a422add209
chore: add missing comments to functions
2023-07-23 07:01:42 -04:00
Richard Ramos
c3ef173b2c
feat: handle chain forks
2023-04-17 10:02:09 -04:00
Richard Ramos
801ec92c11
refactor: loading credentials and chat2
2023-04-11 10:39:07 -04:00
Richard Ramos
42c0e123d9
refactor: credentials
2023-04-11 10:39:07 -04:00
Richard Ramos
41691a44e5
fix: remove message cache on relay and fix proof validation
2023-04-04 14:20:41 -04:00
Richard Ramos
9c5d1e88b1
refactor: proof generation and merkleroot tracking
2023-04-04 14:20:41 -04:00
Richard Ramos
be09f3f550
refactor: static RLN relay
2023-04-04 14:20:41 -04:00
Richard Ramos
6796936f5e
chore: upgrade RLN dep
2023-04-04 14:20:41 -04:00
Richard Ramos
144dfa5b7b
feat: add WakuMessage validation in gossipsub
...
This also stores the waku message in a cache to avoid having to decode it twice
2023-03-30 12:00:19 -04:00
Richard Ramos
156db781f6
chore: switch to Google's Protobuf library
2023-02-16 11:37:59 -04:00
Richard Ramos
40675ff204
refactor: service interface
2023-01-07 11:25:32 -04:00
Richard Ramos
84c7022e2d
feat: add ntp timesource
2022-12-09 10:20:16 -04:00
Richard Ramos
041c7be67d
fix: RLN Merkle Root window
2022-11-26 17:09:12 -04:00
Richard Ramos
c8fc0404d1
chore: rename status-im/go-waku to waku-org/go-waku
2022-11-09 16:03:40 -04:00
Richard Ramos
38093bf660
chore: move dependencies from status-im to waku-org
2022-10-27 11:41:23 -04:00
Richard Ramos
9b5922bc74
fix(rln): keep track of last loaded index
2022-10-26 18:17:10 -04:00
Richard Ramos
665968deea
feat(rln): multiple acceptable roots
2022-10-26 18:16:55 -04:00
Richard Ramos
57a525f71e
chore: upgrade libp2p
2022-10-19 15:54:02 -04:00
Richard Ramos
644debe042
refactor(rln): credentials management
2022-10-10 17:41:28 -05:00
Richard Ramos
1a8543f98f
fix: add lock to nullifier log
2022-10-09 12:15:28 -04:00
Richard Ramos
e91fd0e649
feat: use verifyProofWithRoots
2022-10-07 19:05:19 -04:00
Richard Ramos
4841f89eff
fix: handling bytes
2022-10-05 18:08:01 -04:00
Richard Ramos
4d23f4256a
feat: zerokit RLN
2022-10-04 19:27:21 -04:00
Richard Ramos
8d42febe18
fix: make 0x prefix optional ( #306 )
2022-09-14 15:19:04 -04:00
Richard Ramos
3716ebdf1d
fix: chat2 feedback
2022-09-11 17:08:58 -04:00
Richard Ramos
7943f8f657
fix: close eth connection on stop
2022-08-18 12:27:10 -04:00
Richard Ramos
4589b6c31c
feat: make rln optional
2022-08-15 14:41:58 -04:00
Richard Ramos
893f9f396c
feat: chat2 dynamic RLN ( #283 )
2022-08-15 14:40:10 -04:00
Richard Ramos
132ac128e5
feat: RLN (dynamic)
2022-08-15 14:40:10 -04:00
Richard Ramos
587fd148ca
chore: use static rln lib and fix lint
2022-08-15 14:40:10 -04:00
Richard Ramos
6481e72885
feat: chat2 + RLN(static)
2022-08-15 14:40:10 -04:00
Richard Ramos
67a43b8ba7
feat: test unit for RLN (static)
2022-08-15 14:40:10 -04:00
Richard Ramos
1636a33835
feat: RLN (static)
2022-08-15 14:40:10 -04:00