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.



181
182
183
# File 'lib/bitcoin/script.rb', line 181

def bitcoin_pushdata
  @bitcoin_pushdata
end

#bitcoin_pushdata_lengthObject

Returns the value of attribute bitcoin_pushdata_length.



182
183
184
# File 'lib/bitcoin/script.rb', line 182

def bitcoin_pushdata_length
  @bitcoin_pushdata_length
end

Instance Method Details

#blobObject



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

def blob; to_sequel_blob; end