Equity
Bitcoin Protocol Library
Public Member Functions | Public Attributes | List of all members
Equity::Txid Struct Reference

A transaction ID. More...

#include <Txid.h>

Inheritance diagram for Equity::Txid:
P2p::Serializable

Public Member Functions

 Txid (json const &json)
 
 Txid (uint8_t const *&in, size_t &size)
 
Overrides Serializable
virtual void serialize (std::vector< uint8_t > &out) const override
 
virtual json toJson () const override
 

Public Attributes

Crypto::Sha256Hash hash_
 The transaction ID in binary form.
 

Detailed Description

A transaction ID.

This object is used to reference a transaction in the block chain.

Constructor & Destructor Documentation

Txid::Txid ( json const &  json)
explicit
Parameters
jsonA json representation of the txid
Txid::Txid ( uint8_t const *&  in,
size_t &  size 
)
Parameters
[in,out]inpointer to the next byte to deserialize
[in,out]sizenumber of bytes remaining in the serialized stream

The documentation for this struct was generated from the following files: