added bitcoin inflation chart csv generation script
This commit is contained in:
14
bitcoin.blockchain/test.py
Executable file
14
bitcoin.blockchain/test.py
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/python2.6
|
||||
|
||||
import sys
|
||||
import bsddb
|
||||
|
||||
bitcoin_dir = "%s/Library/Application Support/Bitcoin/" % os.environ['HOME']
|
||||
|
||||
def main(argv):
|
||||
d = bsddb.btopen("%s/blkindex.dat" % bitcoin_dir)
|
||||
|
||||
print d.keys()
|
||||
|
||||
sys.exit(main(sys.argv))
|
||||
|
||||
Reference in New Issue
Block a user