Skip to content

Set protocol versions in NodeInfo from state#2686

Merged
ebuchman merged 2 commits intodevelopfrom
bucky/version-from-state
Oct 22, 2018
Merged

Set protocol versions in NodeInfo from state#2686
ebuchman merged 2 commits intodevelopfrom
bucky/version-from-state

Conversation

@ebuchman
Copy link
Contributor

Set the protocol versions in the NodeInfo from the state, not from the globals.

Also avoid use of some Validator literals

  • Updated all relevant documentation in docs
  • Updated all code comments where relevant
  • Wrote tests
  • Updated CHANGELOG_PENDING.md

@ebuchman ebuchman requested review from melekes and xla as code owners October 22, 2018 12:54
@codecov-io
Copy link

Codecov Report

Merging #2686 into develop will decrease coverage by 0.07%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #2686      +/-   ##
===========================================
- Coverage    61.56%   61.49%   -0.08%     
===========================================
  Files          207      207              
  Lines        16939    16938       -1     
===========================================
- Hits         10429    10416      -13     
- Misses        5647     5654       +7     
- Partials       863      868       +5
Impacted Files Coverage Δ
p2p/test_util.go 66.66% <100%> (ø) ⬆️
state/state.go 91.11% <100%> (-0.47%) ⬇️
p2p/node_info.go 89.23% <100%> (ø) ⬆️
node/node.go 65.55% <100%> (+0.3%) ⬆️
privval/ipc_server.go 64.15% <0%> (-5.67%) ⬇️
libs/events/events.go 93.2% <0%> (-4.86%) ⬇️
p2p/pex/addrbook.go 69.58% <0%> (-0.49%) ⬇️
consensus/reactor.go 70.58% <0%> (-0.26%) ⬇️

@ebuchman ebuchman merged commit fe1d59a into develop Oct 22, 2018
@ebuchman ebuchman deleted the bucky/version-from-state branch October 22, 2018 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants