This file contains hidden or 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
######NOTE####### | |
#This script was written in python 2.7... no guarantees it works on python 3 without modification. | |
import lmdb | |
from pyblake2 import blake2b | |
import matplotlib.pyplot as plt | |
#CHANGE THIS TO YOUR DATABASE LOCATION (usually /home/user/RaiBlocks/) | |
#ALSO!! Python doesn't see the database unless it has extension .mdb | |
#however your nano-node/wallet won't see it unless it stays named as .ldb | |
#I suggest creating a symlink as follows: ln -s /PATH/TO/YOUR/DATABASE/data.ldb /PATH/TO/YOUR/DATABASE/data.mdb |