Open alrevuelta opened 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.
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
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.