This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
tendermint
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
221
Wiki
Activity
Browse Source
spec: add missing field to NodeInfoOther (
#2426
)
and fix formatting Refs
https://github.com/tendermint/tendermint/pull/2417#discussion_r218080500
pull/2370/merge
Anton Kaliaev
6 years ago
committed by
Alexander Simmerl
parent
2fbf810cd8
commit
89462c52d9
2 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
docs/spec/p2p/peer.md
+2
-1
p2p/node_info.go
+ 1
- 0
docs/spec/p2p/peer.md
View File
@ -92,6 +92,7 @@ type NodeInfoOther struct {
ConsensusVersion string
RPCVersion string
TxIndex string
RPCAddress string
}
```
+ 2
- 1
p2p/node_info.go
View File
@ -83,7 +83,8 @@ func (info NodeInfo) Validate() error {
// Sanitize versions
// XXX: Should we be more strict about version and address formats?
other
:=
info
.
Other
versions
:=
[
]
string
{
other
.
AminoVersion
,
versions
:=
[
]
string
{
other
.
AminoVersion
,
other
.
AminoVersion
,
other
.
P2PVersion
,
other
.
ConsensusVersion
,
Write
Preview
Loading…
Cancel
Save