lian / bitcoin-ruby

bitcoin utils and protocol in ruby.
Other
923 stars 323 forks source link

Clarification question #253

Closed uneeb123 closed 6 years ago

uneeb123 commented 6 years ago

https://github.com/lian/bitcoin-ruby/blob/a3fffe07505ea8e0c11dac548ae0dda0f8168f12/lib/bitcoin/connection.rb#L69

What is the block number supposed to represent here?

lian commented 6 years ago

https://en.bitcoin.it/wiki/Protocol_documentation#version

start_height - The last block received by the emitting node

https://github.com/lian/bitcoin-ruby/blob/a3fffe07505ea8e0c11dac548ae0dda0f8168f12/lib/bitcoin/protocol/version.rb