test
This commit is contained in:
@@ -64,6 +64,11 @@ public:
|
|||||||
#include "cJSON.c"
|
#include "cJSON.c"
|
||||||
#include "komodo_notary.h"
|
#include "komodo_notary.h"
|
||||||
|
|
||||||
|
void komodo_stateupdate(int32_t height,uint8_t notarypubs[][33],uint8_t numnotaries,uint8_t notaryid,uint256 txhash,uint64_t voutmask,uint8_t numvouts,uint32_t *pvals,uint8_t numpvals,int32_t KMDheight,uint64_t opretvalue,uint8_t *opretbuf,uint16_t opretlen,uint16_t vout)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
static bool AppInitRPC(int argc, char* argv[])
|
static bool AppInitRPC(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -225,8 +225,6 @@ int32_t komodo_notarizeddata(int32_t nHeight,uint256 *notarized_hashp,uint256 *n
|
|||||||
void komodo_init(int32_t height)
|
void komodo_init(int32_t height)
|
||||||
{
|
{
|
||||||
static int didinit; uint256 zero; int32_t k,n; uint8_t pubkeys[64][33];
|
static int didinit; uint256 zero; int32_t k,n; uint8_t pubkeys[64][33];
|
||||||
if ( height > didinit )
|
|
||||||
{
|
|
||||||
if ( didinit == 0 )
|
if ( didinit == 0 )
|
||||||
{
|
{
|
||||||
pthread_mutex_init(&komodo_mutex,NULL);
|
pthread_mutex_init(&komodo_mutex,NULL);
|
||||||
@@ -243,7 +241,6 @@ void komodo_init(int32_t height)
|
|||||||
}
|
}
|
||||||
komodo_stateupdate(0,0,0,0,zero,0,0,0,0,0,0,0,0,0);
|
komodo_stateupdate(0,0,0,0,zero,0,0,0,0,0,0,0,0,0);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
void komodo_assetchain_pubkeys(char *jsonstr)
|
void komodo_assetchain_pubkeys(char *jsonstr)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user