Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

CAddressUnspentValue Struct Reference

#include <spentindex.h>

+ Collaboration diagram for CAddressUnspentValue:

Public Member Functions

template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action)
 
 CAddressUnspentValue (CAmount sats, CScript scriptPubKey, int height)
 
 CAddressUnspentValue ()
 
void SetNull ()
 
bool IsNull () const
 

Public Attributes

CAmount satoshis
 
CScript script
 
int blockHeight
 
 ADD_SERIALIZE_METHODS
 

Detailed Description

Definition at line 209 of file spentindex.h.

Constructor & Destructor Documentation

◆ CAddressUnspentValue() [1/2]

CAddressUnspentValue::CAddressUnspentValue ( CAmount  sats,
CScript  scriptPubKey,
int  height 
)
inline

Definition at line 223 of file spentindex.h.

References blockHeight, satoshis, and script.

◆ CAddressUnspentValue() [2/2]

CAddressUnspentValue::CAddressUnspentValue ( )
inline

Definition at line 229 of file spentindex.h.

References SetNull().

Member Function Documentation

◆ IsNull()

bool CAddressUnspentValue::IsNull ( ) const
inline

Definition at line 239 of file spentindex.h.

References satoshis.

◆ SerializationOp()

template<typename Stream , typename Operation >
void CAddressUnspentValue::SerializationOp ( Stream &  s,
Operation  ser_action 
)
inline

Definition at line 217 of file spentindex.h.

References blockHeight, READWRITE, satoshis, and script.

◆ SetNull()

void CAddressUnspentValue::SetNull ( )
inline

Definition at line 233 of file spentindex.h.

References blockHeight, CScript::clear(), satoshis, and script.

Referenced by CAddressUnspentValue().

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

CAddressUnspentValue::ADD_SERIALIZE_METHODS

Definition at line 214 of file spentindex.h.

◆ blockHeight

int CAddressUnspentValue::blockHeight

Definition at line 212 of file spentindex.h.

Referenced by CAddressUnspentValue(), SerializationOp(), and SetNull().

◆ satoshis

CAmount CAddressUnspentValue::satoshis

Definition at line 210 of file spentindex.h.

Referenced by CAddressUnspentValue(), IsNull(), SerializationOp(), and SetNull().

◆ script

CScript CAddressUnspentValue::script

Definition at line 211 of file spentindex.h.

Referenced by CAddressUnspentValue(), SerializationOp(), and SetNull().


The documentation for this struct was generated from the following file:
Released under the MIT license