What value of nMinimumChainWork and powLimit should I choose for my altcoin?

0

// The best chain should have at least this much work.
        consensus.nMinimumChainWork = uint256S("0x000000000000000000000000000000000000000000000005c13f99f6d0b1a908");

how to calculate this parameter, i little not understand. It's not block in blockchain, how find this value if altcoin exist end i update sources with exist blockchain end for new blockchain.

consensus.powLimit = uint256S("00000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"); 

end about this value , how it convert to diff xxx for understand what diff is it. example diff 1, 20, 1000 etc...

tseries

Posted 2017-07-29T17:08:49.697

Reputation: 57

Answers

1

how to calculate this parameter, i little not understand. It's not block in blockchain, how find this value if altcoin exist end i update sources with exist blockchain end for new blockchain.

Because this is a new chain, the minimum should be zero.

end about this value , how it convert to diff xxx for understand what diff is it. example diff 1, 20, 1000 etc...

It is diff 1, by definition.

Nick ODell

Posted 2017-07-29T17:08:49.697

Reputation: 26 536

if it's not new , if exist 2000+ blocks , or you mean this ? you can write example of zero ? end how calculate it in future , how this value find I do not understand. :/tseries 2017-07-29T19:22:30.290

1You can use the getblockchaininfo RPC to find chainwork in the future.Nick ODell 2017-07-29T20:52:04.020