|
|
@ -492,7 +492,7 @@ int32_t komodo_notarizeddata(int32_t nHeight,uint256 *notarized_hashp,uint256 *n |
|
|
|
return(0); |
|
|
|
} |
|
|
|
|
|
|
|
void komodo_notarized_update(struct komodo_state *sp,int32_t nHeight,int32_t notarized_height,uint256 notarized_hash,uint256 notarized_desttxid,uint256 MoM,int32_t MoMdepth) |
|
|
|
void komodo_notarized_update(struct komodo_state *sp,int32_t nHeight,int32_t notarized_height,uint256 notarized_hash,uint256 notarized_desttxid)//,uint256 MoM,int32_t MoMdepth)
|
|
|
|
{ |
|
|
|
struct notarized_checkpoint *np; |
|
|
|
if ( notarized_height >= nHeight ) |
|
|
@ -510,8 +510,8 @@ void komodo_notarized_update(struct komodo_state *sp,int32_t nHeight,int32_t not |
|
|
|
sp->NOTARIZED_HEIGHT = np->notarized_height = notarized_height; |
|
|
|
sp->NOTARIZED_HASH = np->notarized_hash = notarized_hash; |
|
|
|
sp->NOTARIZED_DESTTXID = np->notarized_desttxid = notarized_desttxid; |
|
|
|
sp->MoM = np->MoM = MoM; |
|
|
|
sp->MoMdepth = np->MoMdepth = MoMdepth; |
|
|
|
//sp->MoM = np->MoM = MoM;
|
|
|
|
//sp->MoMdepth = np->MoMdepth = MoMdepth;
|
|
|
|
portable_mutex_unlock(&komodo_mutex); |
|
|
|
} |
|
|
|
|
|
|
@ -539,7 +539,7 @@ void komodo_init(int32_t height) |
|
|
|
//for (i=0; i<sizeof(Minerids); i++)
|
|
|
|
// Minerids[i] = -2;
|
|
|
|
didinit = 1; |
|
|
|
komodo_stateupdate(0,0,0,0,zero,0,0,0,0,0,0,0,0,0,0,zero,0); |
|
|
|
komodo_stateupdate(0,0,0,0,zero,0,0,0,0,0,0,0,0,0,0,zero); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|