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.



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

def bitcoin_pushdata
  @bitcoin_pushdata
end

#bitcoin_pushdata_lengthObject

Returns the value of attribute bitcoin_pushdata_length.



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

def bitcoin_pushdata_length
  @bitcoin_pushdata_length
end

Instance Method Details

#blobObject



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

def blob; to_sequel_blob; end