veriblock-pop-cpp
C++11 Libraries for leveraging VeriBlock Proof-Of-Proof blockchain technology.
uint.hpp
1
// Copyright (c) 2019-2022 Xenios SEZC
2
// https://www.veriblock.org
3
// Distributed under the MIT software license, see the accompanying
4
// file LICENSE or http://www.opensource.org/licenses/mit-license.php.
5
6
#ifndef ALT_INTEGRATION_INCLUDE_VERIBLOCK_ENTITIES_UINT_HPP_
7
#define ALT_INTEGRATION_INCLUDE_VERIBLOCK_ENTITIES_UINT_HPP_
8
9
#include "blob.hpp"
10
#include "
consts.hpp
"
11
#include "veriblock/pop/uint.hpp"
12
13
namespace
altintegration
{
14
15
extern
template
struct
Blob<VBK_MERKLE_ROOT_HASH_SIZE>;
16
extern
template
struct
Blob<SHA256_HASH_SIZE>;
17
extern
template
struct
Blob<VBK_PREVIOUS_KEYSTONE_HASH_SIZE>;
18
extern
template
struct
Blob<VBK_PREVIOUS_BLOCK_HASH_SIZE>;
19
extern
template
struct
Blob<VBK_BLOCK_HASH_SIZE>;
20
22
using
uint128
=
Blob<VBK_MERKLE_ROOT_HASH_SIZE>
;
24
using
uint256
=
Blob<SHA256_HASH_SIZE>
;
26
using
uint72
=
Blob<VBK_PREVIOUS_KEYSTONE_HASH_SIZE>
;
28
using
uint96
=
Blob<VBK_PREVIOUS_BLOCK_HASH_SIZE>
;
30
using
uint192
=
Blob<VBK_BLOCK_HASH_SIZE>
;
31
}
// namespace altintegration
32
33
#endif
// ALT_INTEGRATION_INCLUDE_VERIBLOCK_ENTITIES_UINT_HPP_
consts.hpp
All constants in alt-cpp.
altintegration
Defines logging helpers.
Definition:
block.hpp:14
altintegration::Blob< VBK_MERKLE_ROOT_HASH_SIZE >