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

A transaction output. More...

#include <Transaction.h>

Inheritance diagram for Equity::Transaction::Output:
P2p::Serializable

Public Member Functions

 Output (std::string const &json)
 
 Output (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

uint64_t value
 Value of the output in satoshis.
 
std::vector< uint8_t > script
 Output script.
 

Detailed Description

A transaction output.

Constructor & Destructor Documentation

Equity::Transaction::Output::Output ( std::string const &  json)
Parameters
jsonA json representation of the output
Transaction::Output::Output ( 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: