Bitcoin ABC
0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
src
primitives
txid.h
Go to the documentation of this file.
1
// Copyright (c) 2018-2019 The Bitcoin developers
2
// Distributed under the MIT software license, see the accompanying
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5
#ifndef BITCOIN_PRIMITIVES_TXID_H
6
#define BITCOIN_PRIMITIVES_TXID_H
7
8
#include <
uint256.h
>
9
14
struct
TxId
:
public
uint256
{
15
explicit
TxId
() :
uint256
() {}
16
explicit
TxId
(
const
uint256
&
b
) :
uint256
(
b
) {}
17
};
18
22
struct
TxHash
:
public
uint256
{
23
explicit
TxHash
() :
uint256
() {}
24
explicit
TxHash
(
const
uint256
&
b
) :
uint256
(
b
) {}
25
};
26
27
#endif
// BITCOIN_PRIMITIVES_TXID_H
uint256
256-bit opaque blob.
Definition
uint256.h:129
GetRand
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
Definition
random.h:85
TxHash
A TxHash is the double sha256 hash of the full transaction data.
Definition
txid.h:22
TxHash::TxHash
TxHash(const uint256 &b)
Definition
txid.h:24
TxHash::TxHash
TxHash()
Definition
txid.h:23
TxId
A TxId is the identifier of a transaction.
Definition
txid.h:14
TxId::TxId
TxId()
Definition
txid.h:15
TxId::TxId
TxId(const uint256 &b)
Definition
txid.h:16
uint256.h
Generated on Fri Nov 22 2024 02:38:22 for Bitcoin ABC by
1.9.8