pybitmessage.storage.sqlite module¶
Sqlite Inventory
-
class
SqliteInventory
[source]¶ Bases:
pybitmessage.storage.storage.InventoryStorage
Inventory using SQLite
-
by_type_and_tag
(objectType, tag=None)¶ Get all inventory items of certain objectType with tag if given.
-
unexpired_hashes_by_stream
(stream)¶ Return unexpired inventory vectors filtered by stream
-
flush
()¶ Flush cache
-
clean
()¶ Free memory / perform garbage collection
-