Anthony Laibe
3bf00b2f37
test: add test for generating requestid
2021-10-25 20:27:01 +02:00
Anthony Laibe
10378a5827
test: Add persistence module test
2021-10-22 09:41:26 +02:00
Richard Ramos
041a5dae67
test: payload encryption ( #97 )
2021-10-21 11:56:18 -04:00
Richard Ramos
59e4a11b55
test: payload encoding / decoding ( #96 )
2021-10-21 08:18:14 -04:00
Anthony Laibe
9ad06b6eb8
test: Add time test
2021-10-20 21:51:26 +02:00
Richard Ramos
b1284d367d
test: utils ( #95 )
2021-10-20 14:43:59 -04:00
Richard Ramos
68fe29c56f
test: broadcast ( #94 )
2021-10-20 14:43:51 -04:00
Anthony Laibe
6f8e86b667
test: add persistence sqlite test
2021-10-20 17:34:03 +02:00
Anthony Laibe
990bbc50dc
test: Add metrics unit test
2021-10-20 15:50:53 +02:00
Anthony Laibe
4227a9d69d
feat: add git hook
...
fixes #85
2021-10-18 14:43:48 +02:00
Richard Ramos
eadd018ce5
fix: multiaddress format was incorrect when using ws ( #90 )
2021-10-18 08:38:01 -04:00
Richard Ramos
e482075fa9
refactor: peer selection and filter API ( #87 )
2021-10-18 08:25:55 -04:00
Richard Ramos
5f3df9343c
fix: goroutine leak on ping
2021-10-18 07:55:42 -04:00
Anthony Laibe
5744879242
refactor: add leveldb rendezvous persistence
2021-10-18 09:16:57 +02:00
Richard Ramos
654bebdb93
fix: peer metrics
2021-10-16 18:02:48 -04:00
Richard Ramos
b661a4b9bc
fix: missing identity
2021-10-15 15:51:24 -04:00
Richard Ramos
a956684f48
fix: use same privKey when displaying addresses
2021-10-15 08:39:51 -04:00
Jakub
1c991a94d8
metrics: add /health endpoint for healthchecks ( #84 )
...
Because calling `/metrics` for a Consul healhcheck is too heavy
and far too verbose.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-10-15 12:47:40 +02:00
Jakub
21aba7cd65
Dockerfile: add commit, log format, and make target ( #83 )
...
Also fixed `.dockerignore` file and removed unnecessary symlinking.
Related to: https://github.com/status-im/infra-go-waku
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-10-15 12:47:23 +02:00
Richard Ramos
c86db00285
feat: add --advertise-address flag
2021-10-14 22:15:02 -04:00
Richard Ramos
8c590851e3
fix: add --show-addresses and allow setting the listening address
2021-10-14 14:36:25 -04:00
Anthony Laibe
54a93a60c5
feat: add ability to regenerate proto files ( #76 )
2021-10-14 11:03:25 +02:00
Anthony Laibe
2df2289972
feat: Add log level options ( #75 )
2021-10-13 16:18:10 +02:00
Anthony Laibe
86cf5304b2
fix linter ( #73 )
2021-10-13 14:48:29 +02:00
Richard Ramos
c1bdead94d
revert: utils.GetUnixEpoch()
2021-10-12 09:45:22 -04:00
Richard Ramos
051634c12a
chore: upgrade examples
2021-10-12 09:44:40 -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
6f730abd38
feat: add dockerfile
2021-10-11 13:42:17 -04:00
Richard Ramos
578b40a44e
refactor: extract function to subscribe to topic
2021-10-10 18:53:25 -04:00
Richard Ramos
13aee0b1e0
refactor: change filter function parameters to not use protobuffers
2021-10-10 18:53: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
4a7779dda1
refactor: remove go-wakurelay-pubsub and update dependencies
2021-10-08 10:46:46 -04:00
Richard Ramos
dbd7a1c2d7
WIP: replace go-wakurelay-pubsub by go-libp2p-pubsub
2021-10-08 10:46:46 -04:00
Richard Ramos
761ae88bbd
fix: remove channel for disconnections
...
Since a subscriber might not be connected always it makes no sense to automatically unsubscribe on disconnet
2021-10-06 15:25:41 -04:00
Richard Ramos
70e301f348
fix: flag names
2021-10-06 14:43:41 -04:00
Richard Ramos
245c01b286
fix: check err on wakunode start
2021-10-06 14:07:46 -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
79e21dbb99
refactor: add peers before starting
2021-10-04 22:16:24 -04:00
Richard Ramos
de0b63f4a2
feat: options to generate/specify/load node privatekey
2021-10-04 22:14:38 -04:00
Richard Ramos
f82732cd19
refactor: reorganize wakunode flags in groups
2021-10-04 18:39:03 -04:00
Richard Ramos
a053875e20
feat: use signed peers
2021-10-03 12:25:46 -04:00
Richard Ramos
04e77897aa
fix: update examples
2021-10-01 14:45:25 -04:00
Richard Ramos
a58db1656d
refactor: rendezvous nodes are added to peer store
...
- No need to specify peerIDs in command line flag
- Rendezvous nodes are selected automatically instead of passing them via waku option
2021-10-01 14:45:25 -04:00
Richard Ramos
034656b2c0
refactor: rename protocol variables
2021-10-01 14:45:25 -04:00
Richard Ramos
954f2a0c56
feat: use leveldb for storing peers and clean up periodically older records from rendezvous server ( #56 )
2021-10-01 14:37:52 -04:00
Richard Ramos
70efcd72f3
feat: rendezvous ( #54 )
2021-10-01 13:49:50 -04:00
Richard Ramos
5c9a29524d
feat: add gossipsub peer exchange option to waku node ( #53 )
2021-10-01 13:43:03 -04:00
Richard Ramos
37a01edce4
fix: add context parameter to peer dial ( #59 )
2021-10-01 06:32:15 -04:00
Richard Ramos
c8a83f04de
feat: add dns-discovery flags to wakunode and chat2 example ( #52 )
2021-09-30 19:03:19 -04:00