Richard Ramos
fddffed78b
fix: restore time variance verification
2022-06-01 15:51:28 -04:00
Richard Ramos
7c0206684f
refactor: use db for serving history queries ( #243 )
2022-05-30 14:48:22 -04:00
Martin Kobetic
7c44369def
feat: structured logging followup ( #248 )
2022-05-30 11:55:30 -04:00
Martin Kobetic
0c989d3d8c
feat: structured logging ( #242 )
2022-05-27 09:25:06 -04:00
Richard Ramos
b4697210b0
chore: adding some log messages to store
2022-05-19 16:30:41 -04:00
Richard Ramos
7b3c853c15
refactor: use diff logger for waku
2022-05-06 15:29:31 -04:00
Richard Ramos
bbab0f1714
fix: add topic to broadcast and some comments to functions ( #229 )
2022-04-25 23:31:26 +04:00
Richard Ramos
290b7663d1
feat: secure websockets ( #201 )
2022-03-22 09:12:58 -04:00
Richard Ramos
e85d112828
feat: store timestamp validity checks ( #215 )
2022-03-22 08:34:45 -04:00
Nicholas Molnar
21b2e1d97c
Create pluggable store ( #210 )
...
* Add store factory
* Add to test
2022-03-18 15:56:34 -04:00
Richard Ramos
f4f307db87
fix: connect before opening a stream
2022-03-03 12:04:03 -04:00
Richard Ramos
b820d797c8
feat: add pubsub topic to Index pb ( #200 )
...
* feat: add pubsub topic to Index pb
* fix: flaky test
2022-03-02 12:02:13 -04:00
Richard Ramos
8d155fb51e
fix: protocol name
2022-02-23 11:06:47 -04:00
Richard Ramos
58f739765e
refactor: use int64 timestamps ( #189 )
...
* refactor: use int64 timestamps
* fix: changed PB Timestamp index to 10
2022-02-23 11:01:53 -04:00
Richard Ramos
11d1f8fb0d
feat: result aggregation in resume and enforce max page size ( #183 )
...
* feat: result aggregation in resume and enforce max page size
* feat: add WithLogger option to wakunode (#184 )
* fix: rebase issues
2022-01-18 14:17:06 -04:00
Richard Ramos
0de19253da
refactor: maintenaibility fixes ( #167 )
2021-12-08 10:21:30 -04:00
Anthony Laibe
9bb957afeb
feat: build swap and attach it to the store
2021-12-07 14:31:36 +01:00
Richard Ramos
23cbb24a94
fix: use max Int32 instead of 64 due to compile issue on android ( #170 )
2021-11-25 10:18:33 -04:00
Richard Ramos
a3125c7b61
fix: increase response read limit ( #169 )
2021-11-25 09:46:04 -04:00
Richard Ramos
ce417a6486
refactor: use WaitGroup for graceful shutdown of worker goroutines ( #166 )
2021-11-23 11:03:12 -04:00
Richard Ramos
e8c08ac18b
fix: invalid ticker usage
2021-11-21 10:04:23 -04:00
Richard Ramos
0c873e3c2d
feat: select peer with lowest ping time and test peer functions ( #143 )
...
* feat: select peer with lowest ping time and test peer functions
* fix: do not self-ping
2021-11-09 19:34:04 -04:00
Richard Ramos
9426cd133a
fix: store protocol should have a host regardless if acts as store node or not ( #142 )
2021-11-09 12:18:57 -04:00
Richard Ramos
49737780ea
refactor: concurrent map and slices for filter
2021-11-08 08:58:14 -04:00
Richard Ramos
fcfe3568ab
feat: clean up older records in message queue
...
Fixes #133
2021-11-07 11:16:04 -04:00
Richard Ramos
a46881fc27
fix: rebase issues
2021-11-06 12:57:01 -04:00
Richard Ramos
6db2f258d8
feat: message retention policy for wakustore
...
Fixes#69
2021-11-06 12:57:01 -04:00
Richard Ramos
c98769b7f2
refactor: use envelopes in the store
...
Also do some linting and add documentation for some functions
2021-11-06 09:06:53 -04:00
Richard Ramos
2336252efc
add size to store message channel
2021-11-05 10:29:40 -04:00
Richard Ramos
b789d9900e
refactor: relay ( #119 )
2021-11-01 10:42:55 -04:00
Richard Ramos
c0ba800af7
refactor: store and lightpush ( #118 )
2021-11-01 08:38:03 -04:00
Richard Ramos
98255060f3
refactor: add Next() and create Query and Result structs ( #117 )
2021-10-31 15:00:38 -04:00
Richard Ramos
d150123f21
fix: store and lightpush metrics ( #114 )
2021-10-30 19:19:03 -04:00
Richard Ramos
8ba64affba
test: resume and time based queries ( #108 )
2021-10-28 09:03:23 -04:00
Anthony Laibe
9030907960
test: add test for lightpush ( #106 )
...
* test: add test for lightpush
Co-authored-by: Richard Ramos <info@richardramos.me>
2021-10-28 14:41:17 +02:00
Richard Ramos
8253e381df
test: store
2021-10-25 15:41:08 -04:00
Richard Ramos
c1bdead94d
revert: utils.GetUnixEpoch()
2021-10-12 09:45:22 -04:00
Richard Ramos
dc52ba182a
refactor: filter
...
- Create a channel when a subscription is created
- Add stop function for protocols
2021-10-11 19:02:25 -04:00
Richard Ramos
8a28978f83
fix: wait until peer is connected to resume history
2021-10-10 11:46:31 -04:00
Richard Ramos
8f87009466
fix: docs
2021-10-10 11:46:23 -04:00
Richard Ramos
1991a54d64
refactor: connectedness
...
Uses libp2p network notifier to determine when a peer connects or disconnects, as well as using the host network peerstore instead of managing out own separate peer map
2021-10-06 14:07:46 -04:00
Richard Ramos
034656b2c0
refactor: rename protocol variables
2021-10-01 14:45:25 -04:00
Andrea Maria Piana
b387da9ab4
Add tests and lint code
2021-08-13 13:56:09 +02:00
Richard Ramos
fd49e33a45
fix: timestamp format and bump go-wakurelay-pubsub
2021-07-29 11:03:30 -04:00
RichΛrd
c3ac5ef9c5
feat: Add support for multiple protocol IDs ( #34 )
2021-07-29 08:41:37 -04:00
RichΛrd
748e738d9a
adding lint target and fixing lint issues ( #38 )
2021-07-29 08:40:54 -04:00
Richard Ramos
a2ff7f3df9
Use sender timestamp for retrieving messages from store
2021-07-11 14:11:38 -04:00
Vitaliy Vlasov
690841d042
Add peer connectivity notifications
2021-06-29 16:35:01 +03:00
RichΛrd
48d5a6996b
feat: configure metrics using opencensus ( #32 )
...
* feat: configure metrics using opencensus
* add runtime metrics
2021-06-28 09:20:23 -04:00
RichΛrd
ceacac10c3
feat: resume message history ( #24 )
2021-06-10 09:00:06 -04:00