Sha256: 960bdac20e64c2cff9523597c1ab6188e16b96ab7efa8c9a8b0783928afb86bb

Contents?: true

Size: 490 Bytes

Versions: 32

Compression:

Stored size: 490 Bytes

Contents

module Bitcoin
  module Message

    # getblocktxn message.
    # https://github.com/bitcoin/bips/blob/master/bip-0152.mediawiki
    class GetBlockTxn < Base

      COMMAND = 'getblocktxn'

      attr_accessor :request

      def initialize(request)
        @request = request
      end

      def self.parse_from_payload(payload)
        self.new(BlockTransactionRequest.parse_from_payload(payload))
      end

      def to_payload
        request.to_payload
      end

    end

  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
bitcoinrb-1.7.0 lib/bitcoin/message/get_block_txn.rb
bitcoinrb-1.6.0 lib/bitcoin/message/get_block_txn.rb
bitcoinrb-1.5.0 lib/bitcoin/message/get_block_txn.rb
bitcoinrb-1.4.0 lib/bitcoin/message/get_block_txn.rb
bitcoinrb-1.3.0 lib/bitcoin/message/get_block_txn.rb
bitcoinrb-1.2.1 lib/bitcoin/message/get_block_txn.rb
bitcoinrb-1.2.0 lib/bitcoin/message/get_block_txn.rb
bitcoinrb-1.1.1 lib/bitcoin/message/get_block_txn.rb
bitcoinrb-1.1.0 lib/bitcoin/message/get_block_txn.rb
bitcoinrb-1.0.0 lib/bitcoin/message/get_block_txn.rb
bitcoinrb-0.9.0 lib/bitcoin/message/get_block_txn.rb
bitcoinrb-0.8.0 lib/bitcoin/message/get_block_txn.rb
bitcoinrb-0.7.0 lib/bitcoin/message/get_block_txn.rb
bitcoinrb-0.6.0 lib/bitcoin/message/get_block_txn.rb
bitcoinrb-0.5.0 lib/bitcoin/message/get_block_txn.rb
bitcoinrb-0.4.0 lib/bitcoin/message/get_block_txn.rb
bitcoinrb-0.3.2 lib/bitcoin/message/get_block_txn.rb
bitcoinrb-0.3.1 lib/bitcoin/message/get_block_txn.rb
bitcoinrb-0.3.0 lib/bitcoin/message/get_block_txn.rb
bitcoinrb-0.2.9 lib/bitcoin/message/get_block_txn.rb