blackholeDB
blackholeDB copied to clipboard
Error when running the example
When I run the example I get the following error:
2019/09/27 15:28:23 Post http://localhost:5001/api/v0/add?: dial tcp 127.0.0.1:5001: connect: connection refused
exit status 1
I believe that it's necessary to start the local BadgerDB before running this code but that's not clear in the instructions.
You need to have ipfs daemon running in background. 5001 is usually where API server for ipfs is running.