View difference between Paste ID: USsAbLhN and 4ZTPRsuk
SHOW: | | - or go back to the newest paste.
1
fckbankscoin=math.Object(
2
        PARENT=networks.nets['fckbankscoin'],
3
        SHARE_PERIOD=10, # seconds   #How often should P2Pool generate a new share (rule of thumb: 1/5 - 1/10 of the block period)
4
        CHAIN_LENGTH=24*60*60//10, # shares
5
        REAL_CHAIN_LENGTH=24*60*60//10, # shares #CHAIN_LENGTH & REAL_CHAIN_LENGTH are set up to allow for 3 Hour PPLNS.
6
        TARGET_LOOKBEHIND=30, #  is set to 30 (shares) giving a 300 second (5min) difficulty adjustment.
7
        SPREAD=30, # blocks    #SPREAD=30 block every 60 seconds          600/60=10       10x3=30   because bitcoin's SPREAD=3 block every 600 seconds  and litecoin'sSPREAD=12 block every 150 seconds         600/150=4       4x3=12
8
        IDENTIFIER='41a7d0b44d0b3d36'.decode('hex'), #some random s-it (I think its used to identify others p2pool's mining this coin)
9
        PREFIX='9117d0b44d0538cf'.decode('hex'),  #IDENTIFIER & PREFIX: P2Pool will only sync with other nodes who have Identifier and Prefix matching yours (and using same p2p port).. if any of the above values change, a new identifier & prefix need to be created in order to prevent problems.
10
        P2P_PORT=11779, #port that p2pool is comunicating on with other p2pools
11
        MIN_TARGET=0,
12
        MAX_TARGET=2**256//2**20 - 1,
13
        PERSIST=False,    #this value tells the p2pool if it should mine solo or connect to other p2pools.
14
        WORKER_PORT=19334,
15-
        BOOTSTRAP_ADDRS='b1czu.sytes.net 37.139.19.246'.split(' '),  #here we need to add working p2pool fck nodes to allow others connecting
15+
        BOOTSTRAP_ADDRS='hashattack.com b1czu.sytes.net 37.139.19.246'.split(' '),  #here we need to add working p2pool fck nodes to allow others connecting
16
        ANNOUNCE_CHANNEL='#p2pool-alt',
17
        VERSION_CHECK=lambda v: 10000 <= v,
18
        VERSION_WARNING=lambda v: 'Upgrade FCKbankscoin to >=1.0.0.0!' if v < 10000 else None,
19
    ),