BitcoinCore conf file - Question


#1

Hi,

I’m trying to use Cert-Issuer in Testnet mode. I have my Testnet address with coins. I have my conf.ini file for Cert-issuer ready. Also, I’ve installed Bitcoin-Core, which automatically downloads the whole Blockchain in my computer (here comes the first question: is this needed ? ).

I thought this would be enough but then I’m having issues running the issue_certificates.py script.
It basically says I don’t have enough satoshis in my address, says that I have zero (which I don’t). Before that error, it throws another warning. First it said it didn’t find a bitcoin.conf. I created it. Then it said ‘Connection refused’. So I added a couple of things in my bitcoin.conf. Right now it looks like this:

testnet=1
server=1
rpcuser= <I totally invented this user. Don't know what to use here>
rpcpassword= <I totally invented this password. Don't know what to use here>
port=18333

And now the warning is ‘method not found’.
Can someone tell me if I’m missing something in my bitcoin.conf ? Is there any other minimun requirement to run on Testnet mode?

Sorry I couldn’t add a screenshot with my error. I’ll update the post later

Thanks,
Gabriel


#2

Can you post the whole error maybe pasting it in pastebin. The error could be from python, bitcoin or any other library so we are not sure which module is not found

Just a tip. You can use the docker image to use the testnet, it has all the module and configuration you need. I have tried using the non docker for mainnet but its not working (its looking for a different format for the roster), however using the docker for mainnet it works and was able to publish my certificates (merkle root) on the bitcoin blockchain.

Also you don’t need to download the whole bitcoin blockchain since I think the python-bitcoin lib would just broadcast the transaction without the whole blockchain.


#3

This is the error I’m getting.

I will try using the container as well.

Thank you!
Gabriel