Module: Bitcoin::Storage::Backends::StorageModel
- Defined in:
- lib/bitcoin/storage/backends/activerecord.rb
Instance Method Summary (collapse)
Instance Method Details
- (Object) bts(data)
136 137 138 |
# File 'lib/bitcoin/storage/backends/activerecord.rb', line 136 def bts data connection.escape_bytea(data) end |
- (Object) htb(h)
134 |
# File 'lib/bitcoin/storage/backends/activerecord.rb', line 134 def htb(h); [h].pack("H*"); end |
- (Object) hth(h)
133 |
# File 'lib/bitcoin/storage/backends/activerecord.rb', line 133 def hth(h); h.unpack("H*")[0]; end |
- (Object) log
129 130 131 |
# File 'lib/bitcoin/storage/backends/activerecord.rb', line 129 def log Bitcoin::Storage::log end |