Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Certified addresses #98

Merged
merged 41 commits into from
Mar 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
263c5fe
add support for certified address records
yusefnapora Nov 7, 2019
58b7936
store original signed routing records & add retreival method
yusefnapora Nov 8, 2019
ad09bee
go fmt
yusefnapora Nov 8, 2019
5ba6ece
add tests for certified addrs
yusefnapora Nov 8, 2019
a05a1e1
fix bugs adding certified addrs
yusefnapora Nov 8, 2019
731dde0
use separate lists of signed & unsigned addrs
yusefnapora Nov 11, 2019
1c5732a
remove signed record when addrs expire
yusefnapora Nov 11, 2019
8df072f
add test for setting all TTLs to -1
yusefnapora Nov 12, 2019
6c26bc5
dedup addrs between signed & unsigned sets
yusefnapora Nov 12, 2019
9d4e39c
better bounds checking when deleting addrs
yusefnapora Nov 13, 2019
c446558
slight optimization
yusefnapora Nov 13, 2019
c821f29
accept & return serialized envelopes
yusefnapora Nov 19, 2019
924831e
import PR branch of go-libp2p-core
yusefnapora Nov 19, 2019
714dc3d
go fmt
yusefnapora Nov 19, 2019
e5cfa72
clear out old signed addrs when adding new routing state
yusefnapora Nov 19, 2019
0c1916a
rm dead code
yusefnapora Nov 19, 2019
5b63f9f
doc comments
yusefnapora Nov 19, 2019
f368134
track API changes in -core
yusefnapora Nov 21, 2019
50b0a8d
bump -core dep to new PR commit
yusefnapora Nov 21, 2019
ebf8ecb
put signed and unsigned addrs in same segment
yusefnapora Nov 22, 2019
0f95388
move signedRoutingStates inside addrSegment
yusefnapora Nov 22, 2019
02e9e96
adopt CertifiedAddrBook interface
yusefnapora Dec 13, 2019
1c176d5
test that peerstore is a CertifiedAddrBook
yusefnapora Jan 6, 2020
db7fc65
return concrete types from constructor funcs
yusefnapora Jan 6, 2020
55e6abc
embed concrete types into peerstore structs
yusefnapora Jan 6, 2020
8c8e310
update to reflect name changes in -core
yusefnapora Jan 7, 2020
57a7872
bump -core dep to new PR commit
yusefnapora Jan 10, 2020
32e09db
use go 1.13.x on travis
yusefnapora Jan 10, 2020
084bc23
add a TODO.
raulk Jan 15, 2020
2e7d7b9
pre-allocate addr slice
yusefnapora Jan 21, 2020
1f4670b
track changes in -core PR
yusefnapora Jan 21, 2020
7a4e883
fix slice allocation
yusefnapora Jan 22, 2020
d32f2a2
Merge master into certified-addrs
yusefnapora Jan 22, 2020
1bda3ba
simplify addr book implementation
yusefnapora Feb 4, 2020
1ef508a
track API changes from -core
yusefnapora Feb 4, 2020
681e2e5
validate that PeerRecord was signed by correct key
yusefnapora Feb 10, 2020
fc8dd0b
fix doc comment
yusefnapora Feb 10, 2020
07a4aea
go mod tidy.
raulk Feb 10, 2020
ffe5f0c
fix some nits.
raulk Feb 10, 2020
18b766a
temp: store all addresses in the addrbook.
raulk Mar 6, 2020
88e44fe
Merge branch 'master' into certified-addrs
raulk Mar 6, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ require (
github.com/ipfs/go-ds-leveldb v0.4.1
github.com/ipfs/go-log v1.0.2
github.com/libp2p/go-buffer-pool v0.0.2
github.com/libp2p/go-libp2p-core v0.3.0
github.com/libp2p/go-libp2p-core v0.4.0
github.com/multiformats/go-base32 v0.0.3
github.com/multiformats/go-multiaddr v0.2.0
github.com/multiformats/go-multiaddr v0.2.1
github.com/multiformats/go-multiaddr-fmt v0.1.0
github.com/multiformats/go-multiaddr-net v0.1.2
github.com/multiformats/go-multihash v0.0.13
github.com/pkg/errors v0.9.1
github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1
golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5 // indirect
)

go 1.13
57 changes: 10 additions & 47 deletions go.sum

Large diffs are not rendered by default.

Loading