Lorenzo Delgado
4ece585a3a
refactor(wakunode): remove deprecated non-async methods
2022-09-21 18:27:40 +02:00
Lorenzo Delgado
4cfcfdb691
feat(store): execute retention policies periodically ( #1155 )
2022-09-21 11:32:59 +02:00
Hanno Cornelius
a0174f4760
fix: no need to start protocols twice ( #1162 )
...
* fix: no need to start protocols twice
* fix: relay should still be explicitly started
Co-authored-by: Lorenzo Delgado <lorenzo@status.im>
2022-09-20 21:02:20 +01:00
Aaryamann Challani
52a285c1d4
feat(rln-relay): validate the merkle root in the RateLimitProof ( #1158 )
...
* feat(rln-relay): validate the merkle root in the RateLimitProof
* style|chore: replace snake case usage, convert proofVerify to Result[bool,string]
* chore(rln-relay): remove unhandled usage of result returned
* fix(rln-relay): typos
* chore(rln-relay): validate root before proof verification
* fix(rln-relay): cmp
* fix(rln-relay): generic rln relay result
* style(rln-relay): readability
* fix(rln-relay): use patterns for testing, requires instead of checks
* fix(rln-relay): move root validation to message validation
* fix(rln-relay): typo
* fix(rln-relay): typo
* chore(rln-relay): address pr review
2022-09-20 18:38:05 +05:30
kaiserd
3e894b0072
feat: waku peer exchange (RFC34) ( #1152 )
2022-09-20 13:03:34 +02:00
Lorenzo Delgado
568ead13af
refactor(store): protocol code refactoring and api reorganization
2022-09-20 11:39:52 +02:00
Hanno Cornelius
85b370f35b
docs: add monitoring guide for prometheus and grafana ( #1168 )
...
* docs: add monitoring guide for prometheus and grafana
* docs: address comments
2022-09-20 10:09:36 +01:00
Hanno Cornelius
02899d21aa
chore: update existing Grafana dashboards ( #1166 )
2022-09-20 10:01:54 +01:00
Hanno Cornelius
f76d840baa
fix: nodes in AddressBook are not necessarily connected ( #1161 )
2022-09-20 10:00:40 +01:00
Lorenzo Delgado
9e4f595f65
refactor(store): invert retention policies dependency on message store interface
2022-09-16 12:55:22 +02:00
Lorenzo Delgado
f02c9305ae
refactor(store): extend message store interface with store manipulation methods
2022-09-15 21:12:13 +02:00
Lorenzo Delgado
178291d8c3
refactor(store): don't cache the message count in sqlite message store
2022-09-15 18:13:30 +02:00
Lorenzo Delgado
32e535acd5
feat(store): run sqlite database vacuum at node start
2022-09-14 21:40:17 +02:00
Lorenzo Delgado
ef6e7f3ba3
fix(store): follow good practices in store insert and query metrics ( #1150 )
2022-09-14 13:40:11 +01:00
Lorenzo Delgado
dd3b44ff97
refactor(wakunode): remove waku rln relay export from wakunode
2022-09-14 12:25:05 +02:00
Lorenzo Delgado
3724c46250
refactor(wakunode): remove waku message export from wakunode
2022-09-14 12:25:05 +02:00
Lorenzo Delgado
7ce48aae4d
refactor(wakunode): remove libp2p builders export from wakunode
2022-09-14 12:25:05 +02:00
Lorenzo Delgado
2fcdaa3863
refactor(wakunode): remove waku relay export from wakunode
2022-09-14 12:25:05 +02:00
Lorenzo Delgado
913383bce4
refactor(wakunode): remove waku swap export from wakunode
2022-09-14 12:25:05 +02:00
Lorenzo Delgado
a4b989cf0d
feat(store): add query and insertion time metrics
2022-09-13 19:36:11 +02:00
Lorenzo Delgado
f3c0b44e57
fix(store): support stored messages metric for persistent store
2022-09-13 19:36:11 +02:00
Lorenzo Delgado
bcc99a9998
feat(store): add support for getting stored messages count
2022-09-13 19:36:11 +02:00
Lorenzo Delgado
1519a6ac79
refactor(store): reorganise waku store protocol is sqqlite-only logic
2022-09-13 19:36:11 +02:00
Lorenzo Delgado
62cfc2abc1
refactor(store): remove deprecated waku message store type
2022-09-13 13:36:04 +02:00
Aaryamann Challani
f9784b908a
docs(operator-outreach): nwaku on droplets ( #1133 )
...
* docs(operator-outreach): add droplet config
* docs(operator-outreach): add link to droplet setup
* fix(operator-outreach): numbering
* fix(operator-outreach): typos
* docs(operator-outreach): add some prerequisite info
* Update docs/operators/droplet-quickstart.md
Co-authored-by: Hanno Cornelius <68783915+jm-clius@users.noreply.github.com>
* Update docs/operators/droplet-quickstart.md
Co-authored-by: Hanno Cornelius <68783915+jm-clius@users.noreply.github.com>
* fix(operator-outreach): typos and additional info, address review
Co-authored-by: Hanno Cornelius <68783915+jm-clius@users.noreply.github.com>
2022-09-13 16:11:36 +05:30
Aaryamann Challani
cd9522a92f
feat(store): Allow messages to be marked as "don't store" ( #1119 )
...
* feat(store): init allow messages to be marked as ephemeral
* feat(store): replace ephemeral with ttl model
* Revert "feat(store): replace ephemeral with ttl model"
This reverts commit 4398c61c919dda8f014b4fcc0679c573c74854e4.
* fix(store): flags and test
* chore(store): remove storeTTL
* chore(store): remove unused utils
* fix: conflict
* fix(store): make test more brief
2022-09-13 16:07:06 +05:30
Aaryamann Challani
0437159b59
fix(ci): macos builds ( #1145 )
...
* chore: revert json rpc
* chore(ci): cleanup
* chore(ci): remove windows from build matrix
* Revert "chore(ci): remove windows from build matrix"
This reverts commit 1f1d33b5f4b17c62599bab452670fa7bd3edf7e2.
2022-09-13 15:13:56 +05:30
Lorenzo Delgado
0e04aa8ae8
refactor(store): rename to sqlite store and introduce retention policies interface
2022-09-12 16:49:01 +02:00
Lorenzo Delgado
20fff74119
refactor(utils): split message digest calculation form index calculation
2022-09-12 15:51:06 +02:00
Lorenzo Delgado
81526483a7
chore(utils): remove unused types and methods
2022-09-12 15:29:52 +02:00
Lorenzo Delgado
3a8b0e6208
refactor(wakunode): split wakunode relay tests into a new file
2022-09-12 14:51:52 +02:00
rymnc
361ab77fd2
chore: add nimbus-build-system.paths to gitignore
2022-09-12 08:49:35 +05:30
G
2cfeb75e18
PoC implementation of Waku Pairing and Secure Transfer ( #1117 )
...
* feat(noise): add PoC implementation for WakuPairing and Secure Transfer
2022-09-12 02:23:14 +02:00
Lorenzo Delgado
ff1d37d177
refactor(wakunode): split wakunode store tests into a new file
2022-09-09 15:54:16 +02:00
Lorenzo Delgado
4ad556ba16
fix(store): add a table index to improve message insertion time
2022-09-09 15:04:48 +02:00
Lorenzo Delgado
438f9a7419
refactor(wakunode): split wakunode filter tests into a new file
2022-09-09 12:17:17 +02:00
Lorenzo Delgado
a2426b7061
refactor(wakunode): split wakunode lightpush tests into a new file
2022-09-08 23:18:59 +02:00
Hanno Cornelius
019f945f02
chore: always include node ENR in response to info requests ( #1128 )
2022-09-08 14:25:02 +01:00
Lorenzo Delgado
ad5279dcd0
chore(wakunode): collocate wakuswitch file to the depending modules
2022-09-08 11:02:50 +02:00
Hanno Cornelius
73a93ed0d2
chore: update nwaku submodules ( #1123 )
...
* chore: update submodules
* fix: SIGTERM ambiguity
* fix: ambiguous RNGs
* fix: ContentType is no longer a string
* fix: more fixes related to ambiguous RNGs
* fix: start all protocols
* chore: also update nim-eth
* chore: important new fixes in nim-libp2p
* fix: more changes related to RNG. Some reversion to reflect nim-eth update
* fix: breaking changes in nim-eth submodule
* fix: start protocols in tests
* fix: chat2bridge protocols async mounting
* fix: v1 test compilation
* fix: rln test compilation
* fix: remove confusing keys qualifier for the same HmacDrbgContext
2022-09-07 16:31:27 +01:00
Lorenzo Delgado
9af4676939
refactor(wakunode): split wakunode rln-relay tests into a new file
2022-09-06 20:43:46 +02:00
Lorenzo Delgado
4c228ee47f
refactor(wakunode): split peer utils tests into a new file
2022-09-06 16:05:06 +02:00
Aaryamann Challani
260615c742
chore(chat2): selection of store node at random ( #1118 )
...
* chore(chat2): selection of store node at random
* fix(chat2): random number overflow fix
2022-09-06 16:57:55 +05:30
Lorenzo Delgado
8aafcdab85
fix(waku-store): added an index to improve messages query time
2022-09-05 15:18:47 +02:00
Lorenzo Delgado
68db0b17dd
refactor(wakunode2): deprecate non-async protocol api methods
2022-09-02 10:17:14 +02:00
Lorenzo Delgado
980d48e3dc
chore(waku-store): improve logging and query traceability
2022-09-02 10:14:58 +02:00
Lorenzo Delgado
544e94fecf
refactor(wakunode2): add convenience methods for adding protocol peers
2022-09-01 17:02:58 +02:00
Aaryamann Challani
edec50443d
chore(noise): minor refactor of default checks of keypairs ( #1104 )
...
* chore(noise): readable default checks for keypairs
* chore(noise): fix naming of arg in exists proc
* chore(noise): fix naming to make it clearer
* chore(noise): inline and remove result usage
* chore(noise): move the isDefault function up, replace defaultyVar with value
* chore(noise): inline style
* chore(noise): static the default check, remove inline pragma
2022-09-01 14:31:48 +05:30
Hanno Cornelius
ad8e3c6876
chore: update issue templates ( #1105 )
2022-08-31 19:05:39 +02:00
Hanno Cornelius
7f62c3b8e8
chore(labels): remove labels synced from vacp2p ( #1091 )
2022-08-31 16:00:23 +02:00