Bitcoin::Messages::Getblocks
Inherits Bitcoin::Message < Bitcoin::Structure < Reference < Object
Constructors
new(version : UInt32 = Bitcoin::Protocol::VERSION.to_u32, block_header_hashes : Array(Structures::Hash) = Array(Structures::Hash).new, stop_hash : Bytes = Bytes.new(32))
Class methods
from_payload(io : IO)
Instance methods
block_header_hashes
stop_hash
to_payload
overloaded by payload macro
version