Browse Source

try

patch-14
blackjok3r 6 years ago
parent
commit
b75ebe4997
  1. 2
      iguana/dPoW.h
  2. 3
      iguana/dpow/dpow_network.c

2
iguana/dPoW.h

@ -29,7 +29,7 @@
#define DPOW_VERSION 0x1782
#define DPOW_UTXOSIZE dpow_utxosize(coin->symbol) //10000
#define DPOW_MINOUTPUT 6000
#define DPOW_DURATION 1200
#define DPOW_DURATION 300
#define DPOW_RATIFYDURATION (3600 * 24)
//#define DPOW_ENTRIESCHANNEL ('e' | ('n' << 8) | ('t' << 16) | ('r' << 24))

3
iguana/dpow/dpow_network.c

@ -2000,6 +2000,7 @@ void dpow_notarize_update(struct supernet_info *myinfo,struct dpow_info *dp,stru
bp->bestmask = dpow_maskmin(bp->recvmask,bp,&bp->bestk);
}
fprintf(stderr, "checkpoint ht.%i vs longestchain.%i\n", bp->height, bp->destcoin->longestchain);
// check that block has advanced by 1 on KMD before allowing bestmask to be calculated
if ( strcmp(bp->destcoin->symbol,"KMD") == 0 )
{
@ -2012,7 +2013,7 @@ void dpow_notarize_update(struct supernet_info *myinfo,struct dpow_info *dp,stru
fprintf(stderr, "KMD->BTC: checkpoint ht.%i vs longestchain.%i\n", bp->height, bp->destcoin->longestchain);
if ( bp->height == bp->destcoin->longestchain )
return;
}
}
dpow_bestconsensus(dp,bp);
if ( bp->bestk >= 0 )

Loading…
Cancel
Save