Sha256: af5a8ec30be35fa2ae33eda6d3b2b35913f78bc8a236830144eee1ed9e9f859a
Contents?: true
Size: 556 Bytes
Versions: 38
Compression:
Stored size: 556 Bytes
Contents
module Bitcoin module Message # getheaders message # https://bitcoin.org/en/developer-reference#getheaders class GetHeaders < Base include HeadersParser extend HeadersParser COMMAND = 'getheaders' # 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