test
This commit is contained in:
13
src/komodo.h
13
src/komodo.h
@@ -29,19 +29,6 @@ int32_t komodo_notarizeddata(int32_t nHeight,uint256 *notarized_hashp,uint256 *n
|
||||
char *komodo_issuemethod(char *method,char *params,uint16_t port);
|
||||
|
||||
#define GENESIS_NBITS 0x1f00ffff
|
||||
int32_t ASSETCHAINS_SHORTFLAG;
|
||||
extern char ASSETCHAINS_SYMBOL[16];
|
||||
extern uint16_t ASSETCHAINS_PORT;
|
||||
extern uint32_t ASSETCHAIN_INIT;
|
||||
extern uint32_t ASSETCHAINS_MAGIC;
|
||||
extern uint64_t ASSETCHAINS_SUPPLY;
|
||||
|
||||
int32_t NOTARIZED_HEIGHT,Num_nutxos,KMDHEIGHT = 43000;
|
||||
uint256 NOTARIZED_HASH,NOTARIZED_DESTTXID;
|
||||
pthread_mutex_t komodo_mutex;
|
||||
uint32_t KOMODO_INITDONE;
|
||||
char KMDUSERPASS[1024]; uint16_t BITCOIND_PORT = 7771;
|
||||
uint64_t KOMODO_DEPOSIT,PENDING_KOMODO_TX;
|
||||
|
||||
#include "komodo_utils.h"
|
||||
queue_t DepositsQ,PendingsQ;
|
||||
|
||||
@@ -13,6 +13,20 @@
|
||||
* *
|
||||
******************************************************************************/
|
||||
|
||||
int32_t ASSETCHAINS_SHORTFLAG;
|
||||
extern char ASSETCHAINS_SYMBOL[16];
|
||||
extern uint16_t ASSETCHAINS_PORT;
|
||||
extern uint32_t ASSETCHAIN_INIT;
|
||||
extern uint32_t ASSETCHAINS_MAGIC;
|
||||
extern uint64_t ASSETCHAINS_SUPPLY;
|
||||
|
||||
int32_t NOTARIZED_HEIGHT,Num_nutxos,KMDHEIGHT = 43000;
|
||||
uint256 NOTARIZED_HASH,NOTARIZED_DESTTXID;
|
||||
pthread_mutex_t komodo_mutex;
|
||||
uint32_t KOMODO_INITDONE;
|
||||
char KMDUSERPASS[1024]; uint16_t BITCOIND_PORT = 7771;
|
||||
uint64_t KOMODO_DEPOSIT,PENDING_KOMODO_TX;
|
||||
|
||||
#define SATOSHIDEN ((uint64_t)100000000L)
|
||||
#define dstr(x) ((double)(x) / SATOSHIDEN)
|
||||
#define portable_mutex_t pthread_mutex_t
|
||||
|
||||
Reference in New Issue
Block a user