alrevuelta / pypowchain

Simple PoW blockchain written in Python, to be used as a learning tool
2 stars 1 forks source link

Store the blockchain in a database rather than in memory #3

Open alrevuelta opened 3 years ago

alrevuelta commented 3 years ago

The blockchain is currently just loaded in memory. Store it in a database so that it can be recovered when rebooting and scaled up beyond what just fits in memory.

Leonyxtested commented 2 years ago

This is an example of another repository, it may give you an idea of how to use it https://github.com/MerosCrypto/Meros/tree/master/src/Database/Filesystem/DB