This commit is contained in:
blackjok3r
2018-11-02 15:30:11 +08:00
parent b61cf9dd21
commit b9923c1dca
2 changed files with 5 additions and 1 deletions

View File

@@ -73,11 +73,13 @@ public:
#include "komodo_structs.h"
#include "komodo_globals.h"
##include "cc/utils.h"
#include "komodo_utils.h"
#include "komodo_cJSON.c"
#include "komodo_notary.h"
#include "notaries_staked.cpp"
bool pubkey2addr(char *destaddr,uint8_t *pubkey33);
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,uint32_t KMDtimestamp,uint64_t opretvalue,uint8_t *opretbuf,uint16_t opretlen,uint16_t vout,uint256 MoM,int32_t MoMdepth)
{

View File

@@ -742,6 +742,8 @@ uint32_t calc_crc32(uint32_t crc,const void *buf,size_t size)
return crc ^ ~0U;
}
bool pubkey2addr(char *destaddr,uint8_t *pubkey33);
void calc_rmd160_sha256(uint8_t rmd160[20],uint8_t *data,int32_t datalen)
{
bits256 hash;