Sha256: f32913f5b11cb815d5a327abd8265122f8aee08b76dee4ba66ace2ebb8d3507f

Contents?: true

Size: 567 Bytes

Versions: 15

Compression:

Stored size: 567 Bytes

Contents

module Bitcoin
  module Message

    # getcfilters message for BIP-157
    # https://github.com/bitcoin/bips/blob/master/bip-0157.mediawiki#getcfilters
    class GetCFilters < Base
      include CFParser
      extend CFParser

      COMMAND = 'getcfilters'

      attr_accessor :filter_type
      attr_accessor :start_height
      attr_accessor :stop_hash    # little endian

      def initialize(filter_type, start_height, stop_hash)
        @filter_type = filter_type
        @start_height = start_height
        @stop_hash = stop_hash
      end

    end

  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
bitcoinrb-1.7.0 lib/bitcoin/message/get_cfilters.rb
bitcoinrb-1.6.0 lib/bitcoin/message/get_cfilters.rb
bitcoinrb-1.5.0 lib/bitcoin/message/get_cfilters.rb
bitcoinrb-1.4.0 lib/bitcoin/message/get_cfilters.rb
bitcoinrb-1.3.0 lib/bitcoin/message/get_cfilters.rb
bitcoinrb-1.2.1 lib/bitcoin/message/get_cfilters.rb
bitcoinrb-1.2.0 lib/bitcoin/message/get_cfilters.rb
bitcoinrb-1.1.1 lib/bitcoin/message/get_cfilters.rb
bitcoinrb-1.1.0 lib/bitcoin/message/get_cfilters.rb
bitcoinrb-1.0.0 lib/bitcoin/message/get_cfilters.rb
bitcoinrb-0.9.0 lib/bitcoin/message/get_cfilters.rb
bitcoinrb-0.8.0 lib/bitcoin/message/get_cfilters.rb
bitcoinrb-0.7.0 lib/bitcoin/message/get_cfilters.rb
bitcoinrb-0.6.0 lib/bitcoin/message/get_cfilters.rb
bitcoinrb-0.5.0 lib/bitcoin/message/get_cfilters.rb