798 Commits

Author SHA1 Message Date
Vasco Santos
c7e93a5764
chore: apply suggestions from code review
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-08-12 17:08:27 +02:00
Vasco Santos
26e4481bcb
chore: apply suggestions from code review 2020-08-12 17:08:26 +02:00
Vasco Santos
e1b8edcfa3
fix: do not return self on peerstore.peers 2020-08-12 17:08:26 +02:00
Vasco Santos
5bce4cbbc6
chore: increase bundle size 2020-08-12 17:08:26 +02:00
Vasco Santos
109abda1fe
chore: rename isEqual to equals in tests 2020-08-12 17:08:26 +02:00
Vasco Santos
cbd2b52e0e
chore: add certified peer records to persisted peer store 2020-08-12 17:08:26 +02:00
Vasco Santos
e0ed258c54
feat: cerified addressbook 2020-08-12 17:08:01 +02:00
Vasco Santos
40e4e94f20
chore: apply suggestions from code review
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-08-12 17:08:00 +02:00
Vasco Santos
a798c65286
fix: revert new identify protocol versions 2020-08-12 17:08:00 +02:00
Vasco Santos
4dfa8094d8
chore: address review 2020-08-12 17:05:17 +02:00
Vasco Santos
83922a7fad
feat: create self peer record in identify 2020-08-12 17:05:17 +02:00
Vasco Santos
f8354577a2
feat: exchange signed peer records in identify 2020-08-12 17:05:17 +02:00
Vasco Santos
ce8b77106e
chore: apply suggestions from code review
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-08-12 17:03:41 +02:00
Vasco Santos
53340af863
chore: address review 2020-08-12 17:01:48 +02:00
Vasco Santos
97b5d2ade4
fix: signature compliant with spec 2020-08-12 17:01:47 +02:00
Vasco Santos
1e6ada5db9
chore: refactor and better docs 2020-08-12 17:01:47 +02:00
Vasco Santos
e29d4a6d6c
chore: apply suggestions from code review
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-08-12 17:01:47 +02:00
Vasco Santos
f95edf1c20
feat: signed peer records record manager 2020-08-12 17:01:47 +02:00
Jacob Heun
c27228878e
chore: update travis to use node lts and stable
BREAKING CHANGE: this drops testing support in node 10.
2020-08-12 17:01:47 +02:00
Vasco Santos
ad7f02e62a
revert: reapply "fix: throw if no conn encryption module provided (#665)"
This reapplies commit b621fbdfdc1844343c513ac40d4389e8beee714e.
2020-08-12 17:01:47 +02:00
Alan Shaw
4851680c4d
docs: link to official streaming iterables document (#729) 2020-08-06 13:23:18 +02:00
Jacob Heun
0e18735b8c
chore: release version v0.28.10 v0.28.10 2020-08-05 19:07:08 +02:00
Jacob Heun
f68ff35625
chore: update contributors 2020-08-05 19:07:07 +02:00
Alex Potsides
8c56ec0d23
fix: allow certain keychain operations without a password (#726)
* fix: allow certain keychain operations without a password

Listing, removing, renaming etc keys do not require a password so
the user should not be required to provide one.

This means we don't have to prompt the user to create a password
when they aren't going to do any operations that require a password.

* fix: make keychain pass optional

* fix: support libp2p creation without keychain pass

Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-08-05 19:03:11 +02:00
Vasco Santos
fa5ee873e3
chore: update node and npm badges (#727) 2020-08-05 18:26:50 +02:00
Jacob Heun
51d7ca44c1
feat(keychain): add support for ed25519 and secp keys (#725)
* feat(keychain): add support for ed25519 and secp keys

* chore: bump crypto

* refactor: cleanup keychain usage
2020-08-05 18:19:10 +02:00
Jacob Heun
726a746479
fix(identify): make agentversion dynamic and add it to the peerstore (#724) 2020-08-04 18:39:05 +02:00
Felipe Martins
a331b84f13
docs(example): add pubssub message filter example
moved the filter folder

rename folder

docs(refactor): clean up pubsub validator example
2020-07-31 12:09:34 +02:00
Jacob Heun
78d152dd68
chore: release version v0.28.9 v0.28.9 2020-07-27 11:58:53 +02:00
Jacob Heun
7e14aa19b5
chore: update contributors 2020-07-27 11:58:52 +02:00
Vasco Santos
2440c872df
fix: ping multiaddr from peer not previously stored in peerstore (#719) 2020-07-27 10:53:23 +02:00
Jacob Heun
6c7e5e5eef
chore: release version v0.28.8 v0.28.8 2020-07-20 17:23:01 +02:00
Jacob Heun
388df6b6e6
chore: update contributors 2020-07-20 17:23:00 +02:00
Jacob Heun
7dbfe6ab1a
chore: update libp2p-crypto (#717)
This includes a patch for ed25519 interop with Go
2020-07-20 17:18:09 +02:00
Vasco Santos
cea59a1fe4
docs: update addressBook get and getMultiaddrsForPeer return values (#716) 2020-07-20 16:17:39 +02:00
Vasco Santos
7da9ad44ab
fix: create dial target for peer with no known addrs (#715) 2020-07-20 14:54:03 +02:00
Vasco Santos
3896941128
docs: use tag for webrtc-star discovery config (#713) 2020-07-20 14:51:24 +02:00
Vasco Santos
856b38de67
chore: add migration guide template (#711) 2020-07-16 18:14:02 +02:00
Jacob Heun
798d7b73c1
chore: release version v0.28.7 v0.28.7 2020-07-14 19:13:55 +02:00
Jacob Heun
f2d0d8b51d
chore: update contributors 2020-07-14 19:13:54 +02:00
Vasco Santos
999c1b7740
fix: retimer reschedule does not work as interval (#710)
* fix: retimer reschedule does not work as interval

* chore: apply suggestions from code review

Co-authored-by: Jacob Heun <jacobheun@gmail.com>

Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-07-14 19:11:29 +02:00
Jacob Heun
99ff361a55
chore: release version v0.28.6 v0.28.6 2020-07-14 16:13:00 +02:00
Jacob Heun
6115f8b680
chore: update contributors 2020-07-14 16:12:59 +02:00
Vasco Santos
9ccab40fc8
fix: not dial all known peers in parallel on startup (#698)
* fix: not dial all known peers on startup

* feat: connection manager should proactively connect to peers from peerStore

* chore: increase bundle size

* fix: do connMgr proactive dial on an interval

* chore: address review

* chore: use retimer reschedule

* chore: address review

* fix: use minConnections in default config

* chore: minPeers to minConnections everywhere
2020-07-14 16:05:26 +02:00
Jacob Heun
619e5dd73c
chore: release version v0.28.5 v0.28.5 2020-07-10 17:26:21 +02:00
Jacob Heun
0fd23f6a5f
chore: update contributors 2020-07-10 17:26:21 +02:00
Jacob Heun
5a84dd56d0
fix: pass libp2p to the dht (#700) 2020-07-10 17:16:45 +02:00
Bernd Strehl
7b05d6922b
docs: add dht discovery documentation reference (#697)
Extended the description with a link for how to configure the libp2p-kad-dht for peer discovery.
2020-07-08 15:03:56 +02:00
Vasco Santos
08a4fad80b
chore: add modules to update in 0.28.x migration (#695) 2020-07-08 14:12:40 +02:00
Jacob Heun
51da8874d8
test: add pubsub reconnect test (#693)
* test: add pubsub reconnect test

* chore: dep bump

* chore: remove temp pubsub dep

Co-authored-by: Vasco Santos <vasco.santos@moxy.studio>

Co-authored-by: Vasco Santos <vasco.santos@moxy.studio>
2020-07-07 18:31:51 +02:00