Monero
Public Member Functions | Public Attributes | Private Member Functions | Friends | List of all members
test_generator::block_info Struct Reference

#include <chaingen.h>

Collaboration diagram for test_generator::block_info:
Collaboration graph
[legend]

Public Member Functions

 block_info ()
 
 block_info (crypto::hash a_prev_id, uint64_t an_already_generated_coins, size_t a_block_weight)
 

Public Attributes

crypto::hash prev_id
 
uint64_t already_generated_coins
 
size_t block_weight
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int)
 

Friends

class boost::serialization::access
 

Constructor & Destructor Documentation

◆ block_info() [1/2]

test_generator::block_info::block_info ( )
inline

◆ block_info() [2/2]

test_generator::block_info::block_info ( crypto::hash  a_prev_id,
uint64_t  an_already_generated_coins,
size_t  a_block_weight 
)
inline

Member Function Documentation

◆ serialize()

template<class Archive >
void test_generator::block_info::serialize ( Archive &  ar,
const unsigned  int 
)
inlineprivate

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Member Data Documentation

◆ already_generated_coins

uint64_t test_generator::block_info::already_generated_coins

◆ block_weight

size_t test_generator::block_info::block_weight

◆ prev_id

crypto::hash test_generator::block_info::prev_id

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