Sha256: a9b5f35b5e908658d8461085e7936f01166a33c14209e2f4b4b141bb3f9fab1c
Contents?: true
Size: 535 Bytes
Versions: 10
Compression:
Stored size: 535 Bytes
Contents
module Tapyrus module Message # blocktxn message. # https://github.com/bitcoin/bips/blob/master/bip-0152.mediawiki#blocktxn class BlockTxn < Base COMMAND = 'blocktxn' attr_accessor :block_transactions def initialize(block_transactions) @block_transactions = block_transactions end def self.parse_from_payload(payload) self.new(BlockTransactions.parse_from_payload(payload)) end def to_payload block_transactions.to_payload end end end end
Version data entries
10 entries across 10 versions & 1 rubygems