Bug in miner setup instructions?

The GitHub miner setup doc shows that you should mount -v <your local data path>:/data, however /data isn’t used by the Creditcoin docker container as the DB storage location, /root/.local/share/creditcoin-node/chains/creditcoin/db/full is.

I think this is a bug and should actually be -v /data:/root/.local/share/creditcoin-node or the docker container config should be updated to store the blockchain DB in /data and not /root/.local/share/creditcoin-node

2 Likes

Hey @Jaeden , thanks for letting us know, our devs will give it a shot and see what we could do about it :slight_smile:

4 Likes

Hi @Jaeden can you include your full docker run command.

I suspect --base-path might be missing from your start arguments.

# the base path to store the node's data
    --base-path /data

this has to match what volume path you are mounting.

3 Likes

--base-path isn’t mentioned on creditcoin/miner-setup.md at dev · gluwa/creditcoin · GitHub

2 Likes

It was removed from the miner setup instructions in this commit:

3 Likes

The official mining documentation is here.

https://docs.creditcoin.org/creditcoin-miners-manual/creditcoin-2.0-mining-setup

Also reachable via The Multichain Real-World Asset Protocol | Creditcoin

I’ll let the dev know that base bath was removed from the github markdown.

2 Likes

Thanks! It might be a good idea to redirect people visiting that miner-setup.md doc to check Creditcoin 2.0 Mining Setup - Creditcoin Documentation

4 Likes