Sha256: 3c7c3bba05733a9d66aa8422771e7e7bd632199664577ad008182d2f1cfc6093
Contents?: true
Size: 550 Bytes
Versions: 38
Compression:
Stored size: 550 Bytes
Contents
module Bitcoin module Message # block message # https://bitcoin.org/en/developer-reference#getblocks class GetBlocks < Base include HeadersParser extend HeadersParser COMMAND = 'getblocks' # protocol version attr_accessor :version # block header hashes attr_accessor :hashes attr_accessor :stop_hash def initialize(version, hashes, stop_hash = DEFAULT_STOP_HASH) @version = version @hashes = hashes @stop_hash = stop_hash end end end end
Version data entries
38 entries across 38 versions & 1 rubygems