test
[VerusCoin.git] / src / komodo_globals.h
CommitLineData
98f2e433 1/******************************************************************************
2 * Copyright © 2014-2016 The SuperNET Developers. *
3 * *
4 * See the AUTHORS, DEVELOPER-AGREEMENT and LICENSE files at *
5 * the top-level directory of this distribution for the individual copyright *
6 * holder information and the developer policies on copyright and licensing. *
7 * *
8 * Unless otherwise agreed in a custom licensing agreement, no part of the *
9 * SuperNET software, including this file may be copied, modified, propagated *
10 * or distributed except according to the terms contained in the LICENSE file *
11 * *
12 * Removal or modification of this copyright notice is prohibited. *
13 * *
14 ******************************************************************************/
15
e155dbe9 16void 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 kheight,uint32_t ktime,uint64_t opretvalue,uint8_t *opretbuf,uint16_t opretlen,uint16_t vout);
cf0ace4a 17void komodo_init(int32_t height);
18int32_t komodo_notarizeddata(int32_t nHeight,uint256 *notarized_hashp,uint256 *notarized_desttxidp);
19char *komodo_issuemethod(char *method,char *params,uint16_t port);
20void komodo_init(int32_t height);
21void komodo_assetchain_pubkeys(char *jsonstr);
e6f6a829 22int32_t komodo_chosennotary(int32_t *notaryidp,int32_t height,uint8_t *pubkey33);
ab918767 23int32_t komodo_isrealtime(int32_t *kmdheightp,char *target);
cf0ace4a 24
3face669 25pthread_mutex_t komodo_mutex;
0db8cd28 26
335f2ea7 27#define KOMODO_ELECTION_GAP 2000 //((ASSETCHAINS_SYMBOL[0] == 0) ? 2000 : 100)
0db8cd28 28
0db8cd28 29struct pax_transaction *PAX;
30int32_t NUM_PRICES; uint32_t *PVALS;
31struct knotaries_entry *Pubkeys;
0db8cd28 32struct notarized_checkpoint *NPOINTS; int32_t NUM_NPOINTS;
33
ca3cf9aa 34struct komodo_state KOMODO_STATES[33];
0db8cd28 35
1290fc05 36int COINBASE_MATURITY = 100;
37
61b59007 38int32_t IS_KOMODO_NOTARY,USE_EXTERNAL_PUBKEY,KOMODO_CHOSEN_ONE,ASSETCHAINS_SEED,KOMODO_ON_DEMAND,KOMODO_EXTERNAL_NOTARIES;
ab8ef450 39std::string NOTARY_PUBKEY,ASSETCHAINS_NOTARIES;
98f2e433 40uint8_t NOTARY_PUBKEY33[33];
41
98f2e433 42char ASSETCHAINS_SYMBOL[16];
43uint16_t ASSETCHAINS_PORT;
44uint32_t ASSETCHAIN_INIT;
45uint32_t ASSETCHAINS_MAGIC = 2387029918;
46uint64_t ASSETCHAINS_SUPPLY = 10;
47
ab918767 48uint32_t KOMODO_INITDONE;
98f2e433 49char KMDUSERPASS[1024]; uint16_t BITCOIND_PORT = 7771;
f846a857 50uint64_t PENDING_KOMODO_TX;
This page took 0.043626 seconds and 4 git commands to generate.