Browse Source

test

pull/4/head
jl777 8 years ago
parent
commit
37e7db0873
  1. 3
      src/komodo_notary.h
  2. 1
      src/rpcblockchain.cpp

3
src/komodo_notary.h

@ -150,7 +150,10 @@ void komodo_notarysinit(int32_t origheight,uint8_t pubkeys[64][33],int32_t num)
for (i=htind; i<KOMODO_MAXBLOCKS / KOMODO_ELECTION_GAP; i++)
{
if ( Pubkeys[i].height != 0 && height < hwmheight )
{
printf("Pubkeys[%d].height %d < %d hwmheight, i.%d\n",i,Pubkeys[i].height,hwmheight);
break;
}
Pubkeys[i] = N;
Pubkeys[i].height = i * KOMODO_ELECTION_GAP;
}

1
src/rpcblockchain.cpp

@ -431,6 +431,7 @@ Value notaries(const Array& params, bool fHelp)
}
}
ret.push_back(Pair("notaries", a));
ret.push_back(Pair("numnotaries", n));
}
return ret;
}

Loading…
Cancel
Save