Class: String

Inherits:
Object
  • Object
show all
Includes:
Bitcoin::BinaryExtensions
Defined in:
lib/bitcoin/storage/storage.rb,
lib/bitcoin.rb,
lib/bitcoin/script.rb

Overview

TODO: someday sequel will support #blob directly and #to_sequel_blob will be gone

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Bitcoin::BinaryExtensions

#htb, #htb_reverse, #hth, #reverse_hth

Instance Attribute Details

#bitcoin_pushdataObject

Returns the value of attribute bitcoin_pushdata.



147
148
149
# File 'lib/bitcoin/script.rb', line 147

def bitcoin_pushdata
  @bitcoin_pushdata
end

#bitcoin_pushdata_lengthObject

Returns the value of attribute bitcoin_pushdata_length.



148
149
150
# File 'lib/bitcoin/script.rb', line 148

def bitcoin_pushdata_length
  @bitcoin_pushdata_length
end

Instance Method Details

#blobObject



448
# File 'lib/bitcoin/storage/storage.rb', line 448

def blob; to_sequel_blob; end