Using leveldb to store addresses