veriblock-pop-cpp
C++11 Libraries for leveraging VeriBlock Proof-Of-Proof blockchain technology.
|
All constants in alt-cpp. More...
#include <cstdint>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | altintegration |
Defines logging helpers. | |
Enumerations | |
enum class | altintegration::TxType { altintegration::VBK_TX = 0x01 , altintegration::VBK_POP_TX = 0x02 } |
Veriblock transaction type. More... | |
Variables | |
constexpr const auto | altintegration::ADDRESS_POP_DATA_SIZE_PROGPOW = 15 |
VTB contains BtcTx, which contains POP-miner's address and endorsed VBK header. More... | |
constexpr const auto | altintegration::SHA256_HASH_SIZE = 32 |
sha256 hash size More... | |
constexpr const auto | altintegration::BTC_TX_MAX_RAW_SIZE = 4 * 1000 * 1000 |
maximum possible BTC TX serialized size. More... | |
constexpr const uint32_t | altintegration::BTC_HEADER_SIZE = 80 |
Bitcoin header size. More... | |
constexpr const auto | altintegration::MAX_BTC_BLOCKS_IN_VBKPOPTX = 65535 |
maximum total BTC blocks in VTB blockOfProofContext More... | |
constexpr const auto | altintegration::BTC_BLOCK_HASH_SIZE = 32 |
size of BTC block hash More... | |
constexpr const auto | altintegration::VBK_BLOCK_HASH_SIZE = 24 |
size of VBK block hash More... | |
constexpr const auto | altintegration::VBK_MERKLE_ROOT_HASH_SIZE = 16 |
size of VBK merkle root More... | |
constexpr const auto | altintegration::VBK_PREVIOUS_BLOCK_HASH_SIZE = 12 |
size of VBK previous block hash size More... | |
constexpr const auto | altintegration::VBK_PREVIOUS_KEYSTONE_HASH_SIZE = 9 |
size of VBK previous keystone hash size More... | |
constexpr const auto | altintegration::MAX_PAYOUT_INFO_SIZE = 10000 |
max payout info size. More... | |
constexpr const auto | altintegration::MAX_HEADER_SIZE_PUBLICATION_DATA = 1024 |
maximum header size in PublicationData More... | |
constexpr const auto | altintegration::MAX_CONTEXT_SIZE_PUBLICATION_DATA = 10000 |
maximum context size in PublicationData More... | |
constexpr const auto | altintegration::MAX_PUBLICATIONDATA_SIZE |
absolute maximum size for PublicationData More... | |
constexpr const auto | altintegration::MAX_POPDATA_SIZE = 5500000 |
maximum size of single PopData in a single ALT block, in bytes. More... | |
constexpr const auto | altintegration::MAX_POPDATA_VBK = 50000 |
absolute maximum number of VBK blocks per ALT block More... | |
constexpr const auto | altintegration::MAX_POPDATA_VTB = 50000 |
absolute maximum number of VTB blocks per ALT block More... | |
constexpr const auto | altintegration::MAX_POPDATA_ATV = 50000 |
absolute maximum number of ATV blocks per ALT block More... | |
constexpr const auto | altintegration::MAX_PAYOUT = 50000 |
absolute maximum number of pauouts per ALT block More... | |
constexpr const auto | altintegration::MIN_ALT_HASH_SIZE = 0 |
minimum allowed size of altchain hash More... | |
constexpr const auto | altintegration::MAX_ALT_HASH_SIZE = 1024 |
absolute maximum allowed size for altchain hash More... | |
constexpr const auto | altintegration::MAX_BTCADDON_REFS = 65536 |
absolute maximum of 'refs' for BTC addon More... | |
constexpr const auto | altintegration::MAX_VBKPOPTX_PER_VBK_BLOCK = 1024 |
absolute maximum number of PopTxes (VTBs) per VBK block More... | |
constexpr const auto | altintegration::VTB_ID_SIZE = 32 |
size of VTB id More... | |
constexpr const auto | altintegration::ATV_ID_SIZE = 32 |
size of ATV id More... | |
constexpr const auto | altintegration::VBK_ID_SIZE = 12 |
size of VbkBlock id More... | |
constexpr const auto | altintegration::VBK_PUBLICATIONDATA_SIZE = 80 |
65 VBK header + 15 POP bytes of Address More... | |
constexpr const uint32_t | altintegration::VBK_HEADER_SIZE_VBLAKE = 64 |
pre-progpow VBK header size More... | |
constexpr const uint32_t | altintegration::VBK_HEADER_SIZE_PROGPOW = 65 |
post-progpow VBK header size More... | |
constexpr const auto | altintegration::MAX_LAYER_COUNT_MERKLE = 40 |
max total layers in merkle paths More... | |
constexpr const auto | altintegration::MAX_OUTPUTS_COUNT = 255 |
NodeCore is using byte value when serializing outputs so we limit to 255. More... | |
constexpr const auto | altintegration::MAX_SIGNATURE_SIZE = 72 |
ASN.1/DER ECDSA encoding max value. More... | |
constexpr const auto | altintegration::MAX_PUBLIC_KEY_SIZE = 88 |
X509 encoding. Max value is based on experimental data. More... | |
constexpr const auto | altintegration::VBK_ADDRESS_SIZE = 30 |
VBK address size in bytes. More... | |
constexpr const auto | altintegration::VBK_MAX_CALCULATED_EPOCHS_SIZE = 4096U |
maximum number of Ethash cache sizes stored in this library. More... | |
constexpr const auto | altintegration::VBK_ETHASH_EPOCH_LENGTH = 8000U |
size of 1 ethash epoch in progpow More... | |
constexpr const auto | altintegration::VBK_ETHASH_EPOCH_OFFSET = 323U |
we start at this epoch More... | |
static const int32_t | altintegration::ALT_MAX_REORG_BLOCKS_MIN_VALUE = 10000 |
minimum number of blocks in ALT tree More... | |
static const int32_t | altintegration::VBK_MAX_REORG_BLOCKS_MIN_VALUE = 20000 |
minimum number of blocks in VBK tree More... | |
static const int32_t | altintegration::BTC_MAX_REORG_BLOCKS_MIN_VALUE = 10000 |
minimum number of blocks in BTC tree More... | |