Closed timdadd closed 4 years ago
Instead of removing the entire tx.db
file, you could also just empty the TXs inside by removing its content.
If you would like to add this support for non existent tx.db file (which should never be missing bc is commited to the repository), can u please create a PR for this? :)
Glad to see you eager to learn and progressing through the book Tim!
will do and thanks for writing such an entertaining tutorial.
Glad you are enjoying the book! Gonna close this task. Let me know how is your book progress going, and if you have any other question feel free to reach out on Discord. Happy to help and chat! :)
Basically the first state is a genesis file with no transactions, the transactions need adding. So no
tx.db
file if you userm database/tx.db
I added this code: