Module: Bitcoin::Storage
- Included in:
- Network::ConnectionHandler
- Defined in:
- lib/bitcoin/storage/storage.rb
Overview
The storage implementation supports different backends, which inherit from Storage::StoreBase and implement the same interface. Each backend returns Storage::Models objects to easily access helper methods and metadata.
The most stable backend is Backends::SequelStore, which uses sequel and can use all kinds of SQL database backends.
Defined Under Namespace
Constant Summary collapse
- BACKENDS =
[:dummy, :sequel, :utxo]
Class Method Summary collapse
Class Method Details
.log ⇒ Object
14 |
# File 'lib/bitcoin/storage/storage.rb', line 14 def self.log; @log; end |