use leveldb to store tx.