satwikkansal / python_blockchain_app

A fully functional blockchain application implemented in Python from scratch (with tutorial).
819 stars 471 forks source link

Backend storage #33

Open pkrauss3 opened 4 years ago

pkrauss3 commented 4 years ago

In using litecore, I notice the ledger population pickups at the same place where left off if a node is shutdown. This indicates a flat storage of the ledger. Have you considered moving from runtime storage to more of a flat storage. I have been using UnQLite.

satwikkansal commented 4 years ago

It's a nice idea to add persistent storage. I'll consider this in the next revision I make.

Or I'm more than happy if anybody wants to take this up and make a PR.

I have not used UnQLite before, maybe we can use sqlite which is already a part of python