Skip to content

Commit 7a53da7

Browse files
authored
Merge pull request #1363 from coffeedogs/final_code_quality_5
Changes based on style and lint checks. (final_code_quality_5)
2 parents 175916d + 0bceeca commit 7a53da7

File tree

5 files changed

+500
-257
lines changed

5 files changed

+500
-257
lines changed

src/defaults.py

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
"""
2+
src/defaults.py
3+
===============
4+
"""
5+
16
# sanity check, prevent doing ridiculous PoW
27
# 20 million PoWs equals approximately 2 days on dev's dual R9 290
38
ridiculousDifficulty = 20000000
@@ -7,7 +12,13 @@
712
# namecoin integration to "namecoind".
813
namecoinDefaultRpcPort = "8336"
914

10-
#If changed, these values will cause particularly unexpected behavior: You won't be able to either send or receive messages because the proof of work you do (or demand) won't match that done or demanded by others. Don't change them!
11-
networkDefaultProofOfWorkNonceTrialsPerByte = 1000 #The amount of work that should be performed (and demanded) per byte of the payload.
12-
networkDefaultPayloadLengthExtraBytes = 1000 #To make sending short messages a little more difficult, this value is added to the payload length for use in calculating the proof of work target.
13-
15+
# If changed, these values will cause particularly unexpected behavior:
16+
# You won't be able to either send or receive messages because the proof
17+
# of work you do (or demand) won't match that done or demanded by others.
18+
# Don't change them!
19+
# The amount of work that should be performed (and demanded) per byte 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

0 commit comments

Comments
 (0)