README.rdoc in bitcoin-ruby-0.0.4 vs README.rdoc in bitcoin-ruby-0.0.5
- old
+ new
@@ -204,22 +204,21 @@
lib/bitcoin/network/node.rb for examples.
=== Storage / Database backends
-There is support for multiple database backends, but currently the only stable one is
-the Bitcoin::Storage::Backends::SequelStore backend. All backends implement the interface
-defined in Bitcoin::Storage::Backends::StoreBase and return Bitcoin::Storage::Models.
+There is support for different storage backends. Each backend can be used with
+sqlite, postgres or mysql. All backends implement the interface defined in
+Bitcoin::Storage::Backends::StoreBase and return Bitcoin::Storage::Models.
store = Bitcoin::Storage.sequel(:db => "sqlite://bitcoin.db") # in-memory db
store.get_head #=> block
txouts = store.get_txouts_for_address("15yN7NPEpu82sHhB6TzCW5z5aXoamiKeGy")
txouts.first.value #=> 5000000000
txouts.first.type #=> :pubkey
txouts.first.get_address #=> "15yN7NPEpu82sHhB6TzCW5z5aXoamiKeGy"
-See Bitcoin::Storage::Backends::StoreBase, Bitcoin::Storage::Backends::SequelStore
-and Bitcoin::Storage::Models for details.
+See also STORAGE, Bitcoin::Storage::Backends::UtxoStore, Bitcoin::Storage::Backends::SequelStore and Bitcoin::Storage::Backends::DummyStore for details.
== Documentation
Always trying to improve, any help appreciated! If anything is unclear to you, let us know!