defaults.py
1 """ 2 Common default values 3 """ 4 5 #: sanity check, prevent doing ridiculous PoW 6 #: 20 million PoWs equals approximately 2 days on dev's dual R9 290 7 ridiculousDifficulty = 20000000 8 9 #: Remember here the RPC port read from namecoin.conf so we can restore to 10 #: it as default whenever the user changes the "method" selection for 11 #: namecoin integration to "namecoind". 12 namecoinDefaultRpcPort = "8336" 13 14 # If changed, these values will cause particularly unexpected behavior: 15 # You won't be able to either send or receive messages because the proof 16 # of work you do (or demand) won't match that done or demanded by others. 17 # Don't change them! 18 #: The amount of work that should be performed (and demanded) per byte 19 #: of the payload. 20 networkDefaultProofOfWorkNonceTrialsPerByte = 1000 21 #: To make sending short messages a little more difficult, this value is 22 #: added to the payload length for use in calculating the proof of work 23 #: target. 24 networkDefaultPayloadLengthExtraBytes = 1000