Electroneum
Loading...
Searching...
No Matches
tests::block_index Struct Reference

#include <core_proxy.h>

Collaboration diagram for tests::block_index:

Public Member Functions

 block_index ()
 block_index (size_t _height, const crypto::hash &_id, const crypto::hash &_longhash, const cryptonote::block &_blk, const cryptonote::blobdata &_blob, const std::list< cryptonote::transaction > &_txes)

Public Attributes

size_t height
crypto::hash id
crypto::hash longhash
cryptonote::block blk
cryptonote::blobdata blob
std::list< cryptonote::transactiontxes

Detailed Description

Definition at line 42 of file core_proxy.h.

Constructor & Destructor Documentation

◆ block_index() [1/2]

tests::block_index::block_index ( )
inline

Definition at line 50 of file core_proxy.h.

50: height(0), id(crypto::null_hash), longhash(crypto::null_hash) { }
crypto::hash id
Definition core_proxy.h:44
crypto::hash longhash
Definition core_proxy.h:45

◆ block_index() [2/2]

tests::block_index::block_index ( size_t _height,
const crypto::hash & _id,
const crypto::hash & _longhash,
const cryptonote::block & _blk,
const cryptonote::blobdata & _blob,
const std::list< cryptonote::transaction > & _txes )
inline

Definition at line 51 of file core_proxy.h.

52 : height(_height), id(_id), longhash(_longhash), blk(_blk), blob(_blob), txes(_txes) { }
cryptonote::blobdata blob
Definition core_proxy.h:47
cryptonote::block blk
Definition core_proxy.h:46
std::list< cryptonote::transaction > txes
Definition core_proxy.h:48

Member Data Documentation

◆ blk

cryptonote::block tests::block_index::blk

Definition at line 46 of file core_proxy.h.

◆ blob

cryptonote::blobdata tests::block_index::blob

Definition at line 47 of file core_proxy.h.

◆ height

size_t tests::block_index::height

Definition at line 43 of file core_proxy.h.

◆ id

crypto::hash tests::block_index::id

Definition at line 44 of file core_proxy.h.

◆ longhash

crypto::hash tests::block_index::longhash

Definition at line 45 of file core_proxy.h.

◆ txes

std::list<cryptonote::transaction> tests::block_index::txes

Definition at line 48 of file core_proxy.h.


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/tests/core_proxy/core_proxy.h