Richard Ramos
6ece3c483b
feat: subscribe to shards with --topic and refactors
...
- Shards in same cluster are advertised on ENR
- Store().Resume() was moved to app layer
- NoDefaultWakuTopic() was removed since it's the app that must determine whether it subscribes to the default waku topic
- Removed `Publish` from WakuNode (not really used and easy to implement in app layer if needed)
2023-07-06 11:18:29 -04:00
Richard Ramos
7dd02067f8
fix: unsubscribe from all peers unless specified and check err code when full node has no subscription
2023-07-05 15:54:31 -04:00
Richard Ramos
0822fdb280
chore: use pgx instead of lib/pq since it's not actively maintained
2023-07-03 11:16:05 -04:00
Ste Jones
49baff14cd
doc: fix node.New examples
2023-07-03 10:48:34 -04:00
Richard Ramos
47cdb86aaf
chore: bump go-libp2p
2023-06-30 08:55:46 -04:00
Richard Ramos
fb3447f3d8
fix: adding relay protocol to feature check function of gossipsub
2023-06-29 09:29:08 -04:00
Richard Ramos
b8ab99ba08
fix: set wakurelay at index 0 in gossipsub protocol list
2023-06-28 14:06:16 -04:00
Prem Chaitanya Prathi
06d303f8ab
chore: update flag from --topics to --topic as per #584 ( #585 )
2023-06-28 20:29:40 +05:30
Prem Chaitanya Prathi
80eb17cfed
Chore/fix examples ( #580 )
...
* chore: included rendevouz in go.mod and go.sum files for examples
* chore: added peer origin to AddPeer in examples
* fix: fix compilation issues on arm based mac
* fix: support macOS for test coverage upload to code climate
* removed binary from commit
2023-06-28 20:29:15 +05:30
Richard Ramos
cd358c7bd6
refactor: rendezvous
2023-06-28 09:01:41 -04:00
Richard Ramos
fff255d0ef
feat: 0.7.0
2023-06-26 13:55:46 -04:00
Richard Ramos
cd335f8168
fix: handle scenarios where localnode has no shard set
2023-06-26 11:03:16 -04:00
Richard Ramos
eba4aa43e5
feat: find discv5 peers with shards
2023-06-26 11:03:16 -04:00
Richard Ramos
0381b92531
feat(c-bindings): filterv2
2023-06-26 11:03:01 -04:00
Vitaliy Vlasov
f0f3543df8
Modify isOnline setting when LightMode is on and Relay is off
2023-06-22 15:38:40 -04:00
Richard Ramos
be766a8636
feat(discv5): find peers with predicate
2023-06-15 08:54:40 -04:00
Richard Ramos
c380faa6ae
fix: code review and disconnect bad peers
2023-06-09 14:57:43 -04:00
Richard Ramos
875d132c1e
feat: gossipsub scoring
2023-06-09 14:57:43 -04:00
Richard Ramos
76186e5477
refactor: store ENR
2023-06-09 14:57:43 -04:00
Richard Ramos
52ac8e3740
refactor: various
...
- Limit inbound connections to 10 per IP
- Expose gossipsub parameters on WakuRelay
- New peerstore
2023-06-09 14:57:43 -04:00
Richard Ramos
f6fe353e2e
feat(c-bindings): update bootnodes
2023-06-09 09:05:55 -04:00
Richard Ramos
b0c094b0b6
feat: more utils functions to setup a relay shards field on the enr
2023-06-05 16:03:14 -04:00
Richard Ramos
1bffa35dfa
fix: enodeToMultiaddress when using ipv6
...
Fixes #560
2023-06-01 14:02:18 -04:00
Richard Ramos
1c75c89790
refactor: remove unneeded `Connect` as dns4 addresses are being resolved now
2023-06-01 14:02:08 -04:00
Richard Ramos
f18f219086
fix(rendezvous) - interop with nwaku
2023-06-01 13:31:21 -04:00
Richard Ramos
9207dbcb4a
fix: addPeers
2023-06-01 08:26:03 -04:00
Richard Ramos
5d514ddd6a
chore: update rjeczalik/notify dependency
2023-05-31 09:03:32 -04:00
Richard Ramos
10c2e20910
fix: signatures
2023-05-26 11:18:00 -04:00
Richard Ramos
2c17e20d99
fix: neither encoding nor address comparison are needed to protect a topic
2023-05-26 10:42:25 -04:00
Richard Ramos
0dbe4fd5ff
fix: rename fd flag
2023-05-24 15:06:07 -04:00
Richard Ramos
39c97c5d89
feat: set resource limits
2023-05-24 11:46:32 -04:00
Richard Ramos
96c8980828
fix: use nanoseconds in c-bindings example
2023-05-22 17:54:13 -04:00
Richard Ramos
0c3803b5d8
chore: bump libp2p
2023-05-22 17:53:59 -04:00
Richard Ramos
189b2ed120
revert: "refactor: use an address instead of public key for the node setup"
...
This reverts commit 38a9fc4b19
.
2023-05-22 17:03:40 -04:00
Richard Ramos
a5abfa8710
chore: bump protobuf dependency
2023-05-18 16:10:54 -04:00
Richard Ramos
b66c19ad8f
fix: set autorelay interval to 2 seconds
2023-05-18 12:10:37 -04:00
frank
898f433d2c
fix: dead loop after calling WakuNode.Stop()
2023-05-18 11:22:19 -04:00
Richard Ramos
8d6b2cd721
refactor: add `--ext-ip` and `--dns4-domain-name` values to the list of node multiaddressess
2023-05-15 17:39:58 -04:00
Richard Ramos
30b9fac6a7
fix: dns > ext ip
2023-05-15 11:51:46 -04:00
Richard Ramos
9594e54d36
feat: use circuit relay in service node
2023-05-14 13:10:56 -04:00
Richard Ramos
ceed9c7d59
feat: v0.6.0
2023-05-12 12:27:14 -04:00
Richard Ramos
25562d6240
feat: add peer connection notif channel and allow dialing peers with the peer.AddrInfo
2023-05-12 09:09:08 -04:00
Richard Ramos
38a9fc4b19
refactor: use an address instead of public key for the node setup
2023-05-12 09:09:08 -04:00
Richard Ramos
aed730c634
feat: use addresses in signed topic validator
2023-05-12 09:09:08 -04:00
Richard Ramos
fa61e58d3b
fix: do not block ctx.Done() on peer discovery
2023-05-10 08:09:44 -04:00
Richard Ramos
e14c55c263
refactor: enr builder
2023-05-09 17:30:26 -04:00
Richard Ramos
d9a12bf079
fix: gossipsub parameters, and cancel() execution in wakunode2
2023-05-09 16:42:24 -04:00
Richard Ramos
279524f100
feat(filter): get subscription list
2023-05-08 17:37:15 -04:00
Richard Ramos
54afef6164
fix: update docker image
2023-05-08 14:49:42 -04:00
Richard Ramos
f5047b507c
fix: examples
2023-05-08 14:14:53 -04:00