Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
go-libp2p
Commits
f21d06fb
Commit
f21d06fb
authored
Aug 22, 2016
by
Jeromy
Browse files
update peerstore dep
parent
7438c951
Changes
2
Show whitespace changes
Inline
Side-by-side
p2p/protocol/identify/id.go
View file @
f21d06fb
...
@@ -175,7 +175,7 @@ func (ids *IDService) consumeMessage(mes *pb.Identify, c inet.Conn) {
...
@@ -175,7 +175,7 @@ func (ids *IDService) consumeMessage(mes *pb.Identify, c inet.Conn) {
p
:=
c
.
RemotePeer
()
p
:=
c
.
RemotePeer
()
// mes.Protocols
// mes.Protocols
ids
.
Host
.
Peerstore
()
.
Set
Protocols
(
p
,
mes
.
Protocols
)
ids
.
Host
.
Peerstore
()
.
Add
Protocols
(
p
,
mes
.
Protocols
...
)
// mes.ObservedAddr
// mes.ObservedAddr
ids
.
consumeObservedAddress
(
mes
.
GetObservedAddr
(),
c
)
ids
.
consumeObservedAddress
(
mes
.
GetObservedAddr
(),
c
)
...
...
package.json
View file @
f21d06fb
...
@@ -147,21 +147,21 @@
...
@@ -147,21 +147,21 @@
},
},
{
{
"author"
:
"whyrusleeping"
,
"author"
:
"whyrusleeping"
,
"hash"
:
"Qm
NaS34WZRjs4U1kDfRR2aooYSsBSusFPMEg3dAKk7VZid
"
,
"hash"
:
"Qm
enZRWtBU6n19k2wYDEwGWSs4Dh472t8xPp9JyYJjXmLj
"
,
"name"
:
"go-libp2p-loggables"
,
"name"
:
"go-libp2p-loggables"
,
"version"
:
"1.0.
7
"
"version"
:
"1.0.
8
"
},
},
{
{
"author"
:
"whyrusleeping"
,
"author"
:
"whyrusleeping"
,
"hash"
:
"Qm
Vjz1uf6U3sVQ5DbWWj7ktTtDd4GgsptYc7FBp33nWE53
"
,
"hash"
:
"Qm
bkwpCqdshmuq2T1RB78RzGiPczToJd5pC91r1qQnb3zn
"
,
"name"
:
"go-libp2p-secio"
,
"name"
:
"go-libp2p-secio"
,
"version"
:
"1.0.
8
"
"version"
:
"1.0.
10
"
},
},
{
{
"author"
:
"whyrusleeping"
,
"author"
:
"whyrusleeping"
,
"hash"
:
"Qm
WzfrG1PUeF8mDpYfNsRL3wh5Rkgnp68LAWUB2bhuDWRL
"
,
"hash"
:
"Qm
ezbDCPpw9hBtXdXHEajg6UEufALJLMtoQQ1YrZEMyMwf
"
,
"name"
:
"go-libp2p-transport"
,
"name"
:
"go-libp2p-transport"
,
"version"
:
"1.3.
2
"
"version"
:
"1.3.
3
"
},
},
{
{
"author"
:
"whyrusleeping"
,
"author"
:
"whyrusleeping"
,
...
@@ -183,9 +183,9 @@
...
@@ -183,9 +183,9 @@
},
},
{
{
"author"
:
"whyrusleeping"
,
"author"
:
"whyrusleeping"
,
"hash"
:
"Qm
QdnfvZQuhdT93LNc5bos52wAmdr3G2p6G8teLJMEN32P
"
,
"hash"
:
"Qm
cb7oW2zriXQSCn9GKKDbewm9qM2NF1mR551Zf1HfoQPZ
"
,
"name"
:
"go-libp2p-peerstore"
,
"name"
:
"go-libp2p-peerstore"
,
"version"
:
"1.
1.2
"
"version"
:
"1.
2.1
"
}
}
],
],
"gxVersion"
:
"0.4.0"
,
"gxVersion"
:
"0.4.0"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment