Closed kcinnaJlol closed 2 years ago
Thank you very much. I'll review this ASAP.
I'll also update some function names and variables that are in Spanish to English, to make it more readable.
Looks very good. I haven't tested it yet in-game, but seems like a solid base to keep working on it.
Question - files bak.txt and prevbak.txt are only generated to recover the blockchain in case something goes wrong, right? Have you encountered a situation where its necessary to recover, or is it only to make debugging easier?
Looks very good. I haven't tested it yet in-game, but seems like a solid base to keep working on it.
Question - files bak.txt and prevbak.txt are only generated to recover the blockchain in case something goes wrong, right? Have you encountered a situation where its necessary to recover, or is it only to make debugging easier?
Yes, it is in case something goes wrong so i can retry (and thus debug) without needing to mine another block.
bak.txt
stores the just received block and prevbak.txt
stores the parent of the just received block.
Should fix issue #1 by making it easier to set up.
There are a few new commands:
exit
exits the programimportBlock
imports a block from a file, mostly used with the filebak.txt
if something goes wrongrefresh
refreshes the screenlistNodes
lists (in a very simple way) your registered nodessetup
opens a disk editor to easily edit the filedisks.txt
(still wip, mostly usable)