how do we set the default algo instead of scrypt?
I tried, like the other multi-algo coins, using algo= in the conf but no joy...
You can switch it "manually" from the command-line too, if needed. For example:
coins@dubuntu:/blockchains/BTM$ marks setminingalgo 4
coins@dubuntu:/blockchains/BTM$ marks gmi
{
"blocks" : 461596,
"currentblocksize" : 1000,
"currentblocktx" : 0,
"reward_next" : 15.00000000,
"reward_max" : 13.73529376,
"hashrate_4max_reward" : 35000000000,
"difficulty" : 2674.24478854,
"errors" : "",
"genproclimit" : 12,
"networkhashps" : 234706330857046.28125000,
"pooledtx" : 0,
"testnet" : false,
"generate" : true,
"algo" : 4,
"algoname" : "X17",
"hashespersec" : 140982
}
coins@dubuntu:/blockchains/BTM$ marks setminingalgo 3; marks gmi
{
"blocks" : 461596,
"currentblocksize" : 1000,
"currentblocktx" : 0,
"reward_next" : 15.00000000,
"reward_max" : 13.73529376,
"hashrate_4max_reward" : 35000000000,
"difficulty" : 2674.24478854,
"errors" : "",
"genproclimit" : 12,
"networkhashps" : 234706330857046.28125000,
"pooledtx" : 0,
"testnet" : false,
"generate" : true,
"algo" : 3,
"algoname" : "ARGON2",
"hashespersec" : 205696
}
coins@dubuntu:/blockchains/BTM$
Note: bitmark-cli is aliased to 'marks' here, and I'm using the abbreviation 'gmi' for getmininginfo ...
This is an
example bitmark.conf file for an Argon2d mining setup:
server=1
daemon=1
listen=1
maxconnections=1024
disablewallet=1
miningalgo=3
blocknotify=/home/coins/bitmark_push.sh
rpcuser=bitmark.rpc
rpcpassword=
rpcport=15629
port=9265
rpcthreads=20
keypool=4096
addnode=108.163.197.58
addnode=139.162.128.92
addnode=139.162.35.170
addnode=173.255.252.140
addnode=178.238.224.213
addnode=35.177.220.199
addnode=45.33.65.161
addnode=72.220.130.97
addnode=78.70.227.72
addnode=98.115.147.74
Note the wallet is disabled above (to service miners more speedily) and that the mining algorithm is being set:
Sorry for the little discrepancies and standards differences, and many thanks for pointing them out.
I'll have the next release in the 0.9.7 series have better parsing and respond to 'algo' as well.