Commit Graph

450 Commits

Author SHA1 Message Date
Richard Ramos e539439f16
update examples to create a wakunode with options 2021-04-18 20:07:21 -04:00
Richard Ramos ef67ff356f
support memory only waku store 2021-04-18 20:03:16 -04:00
Richard Ramos 57e36021bb
Use options pattern for starting a waku node 2021-04-18 19:41:42 -04:00
Richard Ramos 183b8f52c1
subscribe to multiple topics 2021-04-15 17:23:07 -04:00
Richard Ramos 9572a766a8
bump go-waku version 2021-04-15 13:57:18 -04:00
Richard Ramos 7ba8c51bca
use peer.ID instead of string 2021-04-15 13:55:40 -04:00
Richard Ramos 01328daae6
bump examples 2021-04-14 22:22:18 -04:00
Richard Ramos ed9ea40668
use broadcaster for subscriptions and minor code reorg 2021-04-14 22:19:31 -04:00
Richard Ramos e1f10d2099
Add options and start/end time to waku_store 2021-04-14 22:17:53 -04:00
Richard Ramos 547be3c951
extract subscription to separate file 2021-04-14 22:17:12 -04:00
Richard Ramos 9b7b942ac4
chore: change log level in chat example 2021-04-13 15:17:21 -04:00
Richard Ramos db08d949b6
Add makefile 2021-04-13 14:54:15 -04:00
Richard Ramos 11b588a46f
Reorg file paths, and initialize peer store 2021-04-13 14:54:06 -04:00
Richard Ramos 1b746cdec8
Persistent peer store 2021-04-13 14:52:57 -04:00
Richard Ramos 875dbbaf75
Update README.md 2021-04-13 14:52:02 -04:00
Richard Ramos 38da4144f6
display historic messages on chat2 2021-04-12 14:03:58 -04:00
Richard Ramos fa79f9a864
persist messages on sqlite db 2021-04-12 13:59:41 -04:00
Richard Ramos ad9abe601c
fix: numeric identifiers and index out of bounds issue on store 2021-04-12 13:59:09 -04:00
Richard Ramos d85c857a74
bump go-waku version 2021-04-11 19:45:42 -04:00
Richard Ramos f9e7589ffd
generate hashes of messages 2021-04-11 19:43:59 -04:00
Richard Ramos c7550f29ce
Change contentTopic data type to string in chat2 2021-04-08 19:01:23 -04:00
Richard Ramos ff8d4ef8a4
change ContentTopic from uint32 to string 2021-04-08 18:07:31 -04:00
Richard Ramos a84b81b400
fix: error handling and proof numeric id 2021-04-08 14:49:03 -04:00
Richard Ramos ffe2f80a90
fix: update go-waku version 2021-04-07 17:19:39 -04:00
Richard Ramos 9c224c1849
fix: nim-waku interop for store 2021-04-07 17:16:29 -04:00
Richard Ramos f83423facd
update chat2 to use waku_payload encoding/decoding 2021-04-06 19:27:54 -04:00
Richard Ramos e8f7a4d38c
revert: making waku message fields optional 2021-04-06 19:17:52 -04:00
Richard Ramos be168ebe3f
fix: indirect access to content topic 2021-04-06 19:13:17 -04:00
Richard Ramos 0a0542324c
update waku_store protobuffer definition 2021-04-06 19:11:53 -04:00
Richard Ramos 100a26f49c
wakuv1 envelope format 2021-04-06 19:08:16 -04:00
Richard Ramos 65fc98f450
Update waku_message protobuffer definition 2021-04-06 19:07:20 -04:00
Richard Ramos 38b9ec5448
basic2 example 2021-04-04 15:33:21 -04:00
Richard Ramos 3294103e06
fix: index out of bounds when querying stored messages 2021-04-04 14:42:08 -04:00
Richard Ramos 47752170e9
add chat2 example 2021-04-04 13:08:48 -04:00
Richard Ramos 56346c6b1a
fix: mark subscriptions as closed 2021-04-04 13:08:45 -04:00
Richard Ramos 3ece0901b8
remove say command 2021-04-04 13:08:39 -04:00
Richard Ramos c44b40319e
create envelope struct with hash and size of message 2021-04-04 13:08:34 -04:00
Richard Ramos bc32532401
close peer connection and get num of connected peers 2021-04-04 13:08:29 -04:00
Richard Ramos fa7169bbbc
use go-wakurelay-pubsub instead of go-libp2p-pubsub 2021-04-04 13:08:22 -04:00
Richard Ramos 7023a11180
fix: remove unneeded modules 2021-04-04 13:08:03 -04:00
Richard Ramos c1bcba756c
add logs 2021-04-04 13:07:55 -04:00
Richard Ramos 1345809aba
example node used to emit/listen/retrieve messages 2021-04-04 13:07:50 -04:00
Richard Ramos c4ed58c188
Waku store - initial implementation 2021-04-04 13:07:41 -04:00
Richard Ramos 783ad01d92
Use a ticker for getting next message 2021-03-15 19:59:18 -04:00
Richard Ramos 32cdc4cadd
fix: lock subscription before closing it 2021-03-15 17:43:26 -04:00
Richard Ramos cac9aa7b37
Handle unsubscriptions and encoding of messages 2021-03-15 17:17:36 -04:00
Richard Ramos 09fe21baa5
Adding subscribe/unsubscribe methods 2021-03-15 12:07:23 -04:00
Richard Ramos 241733e6a4
WakuRelay 2021-03-12 15:06:20 -04:00
Richard Ramos ccff3dc8f8
Initial commit 2021-03-11 16:27:12 -04:00
RichΛrd 0c518b0df2
Initial commit 2021-03-11 16:13:36 -04:00