Skip to content

Commit

Permalink
Merge pull request #184 from jl777/dev
Browse files Browse the repository at this point in the history
improves notary mining stability
  • Loading branch information
jl777 authored Feb 8, 2017
2 parents c75e405 + de7d3a1 commit c76d46c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/komodo_pax.h
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ uint64_t komodo_paxprice(uint64_t *seedp,int32_t height,char *base,char *rel,uin
int32_t i,nonz=0; int64_t diff; uint64_t price,seed,sum = 0;
if ( ASSETCHAINS_SYMBOL[0] == 0 && chainActive.Tip() != 0 && height > chainActive.Tip()->nHeight )
{
if ( height != 1381319936 )
if ( height < 1381319936 )
printf("height.%d vs tip.%d\n",height,chainActive.Tip()->nHeight);
return(0);
}
Expand Down
2 changes: 1 addition & 1 deletion src/pow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in
// Check proof of work matches claimed amount
if ( UintToArith256(hash) > bnTarget )
{
if ( KOMODO_LOADINGBLOCKS == 0 && height > 182507 && KOMODO_REWIND == 0 )//&& komodo_chainactive(height) != 0 && nonzpkeys > 0
if ( KOMODO_LOADINGBLOCKS == 0 && height > 186269 && KOMODO_REWIND == 0 )//182507&& komodo_chainactive(height) != 0 && nonzpkeys > 0
{
int32_t i;
for (i=31; i>=0; i--)
Expand Down

0 comments on commit c76d46c

Please sign in to comment.