Bitcoin ABC
0.30.7
P2P Digital Currency
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
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 Sat Dec 21 2024 14:46:05 for Bitcoin ABC by
1.9.4