Offline Transaction Signing (OTS) 0.1.0
Loading...
Searching...
No Matches
data.hpp
Go to the documentation of this file.
1#pragma once
2
9#include <cstdint>
10
11#define V1_SECONDS_PER_BLOCK 60
12#define V2_SECONDS_PER_BLOCK 120
13
14 // Mainnet constants
15#define MAINNET_BIRTH_TIME 1397818193
16#define MAINNET_V2_TIME 1458748658
17#define MAINNET_V2_BLOCK 1009827
18#define MAINNET_ROLLBACK 0
19
20 // Testnet constants
21#define TESTNET_BIRTH_TIME 1410295020
22#define TESTNET_V2_TIME 1448285909
23#define TESTNET_V2_BLOCK 624634
24#define TESTNET_ROLLBACK 342100
25
26 // Stagenet constants
27#define STAGENET_BIRTH_TIME 1518932025
28#define STAGENET_V2_TIME 1520937818
29#define STAGENET_V2_BLOCK 32000
30#define STAGENET_ROLLBACK 30000
31
#define MAINNET_V2_BLOCK
Definition data.hpp:17
#define TESTNET_V2_BLOCK
Definition data.hpp:23
#define TESTNET_BIRTH_TIME
Definition data.hpp:21
#define TESTNET_V2_TIME
Definition data.hpp:22
#define STAGENET_BIRTH_TIME
Definition data.hpp:27
#define STAGENET_V2_BLOCK
Definition data.hpp:29
#define MAINNET_BIRTH_TIME
Definition data.hpp:15
#define STAGENET_ROLLBACK
Definition data.hpp:30
#define MAINNET_V2_TIME
Definition data.hpp:16
#define MAINNET_ROLLBACK
Definition data.hpp:18
#define TESTNET_ROLLBACK
Definition data.hpp:24
#define STAGENET_V2_TIME
Definition data.hpp:28
Definition data.hpp:32
static const NetworkData MAINNET_DATA
Definition data.hpp:40
static const NetworkData STAGENET_DATA
Definition data.hpp:54
static const NetworkData TESTNET_DATA
Definition data.hpp:47
Definition data.hpp:33
uint64_t v2_block
Definition data.hpp:36
uint64_t v2_time
Definition data.hpp:35
uint64_t birth
Definition data.hpp:34
uint64_t rollback
Definition data.hpp:37