Created
December 11, 2017 16:24
-
-
Save mlouielu/01d4bb2a03c2b0b825f3f2accf9686fb to your computer and use it in GitHub Desktop.
Init iotapy rocksdb provider to read database
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import iotapy | |
r = iotapy.storage.providers.rocksdb.RocksDBProvider('/var/db/iota/mainnetdb', '/var/db/iota/mainnetdb.log', read_only=True) | |
r.init() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment