-
Notifications
You must be signed in to change notification settings - Fork 24
/
global.h
87 lines (76 loc) · 2.59 KB
/
global.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#include "defines.h"
COMMAND g_cmd;
char* g_seed = DEFAULT_SEED;
char* g_nodeIp = DEFAULT_NODE_IP;
char* g_targetIdentity = nullptr;
char* g_configFile = nullptr;
char* g_requestedFileName = nullptr;
char* g_requestedFileName2 = nullptr;
char* g_requestedTxId = nullptr;
char* g_requestedIdentity = nullptr;
char* g_qx_share_transfer_possessed_identity = nullptr;
char* g_qx_share_transfer_new_owner_identity = nullptr;
int64_t g_qx_share_transfer_amount = 0;
const char* g_proposalString = "";
const char* g_voteValueString = "";
bool g_force = false;
int64_t g_TxAmount = 0;
uint16_t g_TxType = 0;
uint32_t g_TxTick = 0;
int g_nodePort = DEFAULT_NODE_PORT;
int g_txExtraDataSize = 0;
int g_rawPacketSize = 0;
int g_requestedSpecialCommand = -1;
char* g_toogle_main_aux_0 = nullptr;
char* g_toogle_main_aux_1 = nullptr;
int g_set_solution_threshold_epoch = -1;
int g_set_solution_threshold_value = -1;
char* g_file_path = nullptr;
uint32_t g_requestedTickNumber = 0;
uint32_t g_offsetScheduledTick = DEFAULT_SCHEDULED_TICK_OFFSET;
int g_waitUntilFinish = 0;
uint8_t g_txExtraData[1024] = {0};
uint8_t g_rawPacket[1024] = {0};
char* g_qx_issue_asset_name = nullptr;
char* g_qx_issue_unit_of_measurement = nullptr;
int64_t g_qx_issue_asset_number_of_unit = -1;
char g_qx_issue_asset_num_decimal = 0;
char* g_qx_command_1 = nullptr;
char* g_qx_command_2 = nullptr;
char* g_qx_issuer = nullptr;
char* g_qx_asset_name = nullptr;
long long g_qx_offset = -1;
long long g_qx_price = -1;
long long g_qx_number_of_share = -1;
char* g_qx_asset_transfer_possessed_identity = nullptr;
char* g_qx_asset_transfer_new_owner_identity = nullptr;
int64_t g_qx_asset_transfer_amount = -1;
char* g_qx_asset_transfer_asset_name;
char* g_qx_asset_transfer_issuer_in_hex;
char* g_dump_binary_file_input;
char* g_dump_binary_file_output;
uint32_t g_dump_binary_contract_id = 0;
//IPO bid
uint32_t g_ipo_contract_index = 0;
uint16_t g_make_ipo_bid_number_of_share = 0;
uint64_t g_make_ipo_bid_price_per_share = 0;
// quottery
uint32_t g_quottery_bet_id;
uint32_t g_quottery_option_id;
char* g_quottery_creator_id = nullptr;
uint64_t g_quottery_number_bet_slot;
uint64_t g_quottery_amount_per_bet_slot;
uint32_t g_quottery_picked_option;
char* g_qutil_sendtomanyv1_payout_list_file = nullptr;
uint64_t g_get_log_passcode[4] = {0};
//qearn
uint64_t g_qearn_lock_amount;
uint64_t g_qearn_unlock_amount;
uint32_t g_qearn_locked_epoch;
uint32_t g_qearn_getinfo_epoch;
// qvault
char* g_qvaultIdentity = nullptr;
uint32_t g_qvault_numberOfChangedAddress = 0;
uint32_t g_qvault_newQCAPHolder_fee = 0;
uint32_t g_qvault_newreinvesting_fee = 0;
uint32_t g_qvault_newdev_fee = 0;