Example of a Peercoin Config File: ppcoin.conf

For a data app that requires:

rpcuser=INPUT_YOUR_USERNAME_HERE rpcpassword=INPUT_YOUR_PASSWORD_HERE server=1

What is best practices for getting those setup for the user? I see ppcoin.conf isn’t created by default for peerunity.

Would a wizard be appropriate that looks for a ppcoin.conf, creates one if not found, and walks the user through creating a rpcuser and rpcpassword be best? Would a simple “setup configuration” button that does that automatically and creates a random user/password be acceptable? Is there something else people are doing?

Hello, I try to setup peercoin testnet environment.
I can setup two node, success.
But JSON RPC connection fail, what conf option miss?
#ppcoin.conf

daemon=1
txindex=1
server=1
staking=0
rpcallowip=127.0.0.1
rpcallowip=192.168.1.*
rpcbind=127.0.0.1
rpcssl=0
testnet=1
rpcport=9902
rpcuser=ppc
rpcpassword=pass
connect=192.168.1.16

I use windows10 64bit client.
I use python-bitcoinrpc for Python3.5 .

$netstart -an
TCP 0.0.0.0:9902 0.0.0.0:0LISTENING

I check LISTNING. But

TCP 127.0.0.1:9902 127.0.0.1:50151 TIME_WAIT

I find many and many TIME_WAIT.
What wrong…

The following will set up a testnet in virtual machine using vagrant

You can also take a look at the docker compose configuration to see the configuration options used

Thank you for comment. :smile:

I check two links, and I find two things.

  1. curl command request succeeded on Linux, but not no windows
  2. python-bitcoinrpc don’t work, but peercoin-rpc work on windows…why?

I will compare two codes. :confused:

What is the error? Could it be port forwarding?

What is error?