Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Static Public Member Functions | Public Attributes | Static Private Attributes | List of all members
dev::test::ChainBranch Struct Reference
Collaboration diagram for dev::test::ChainBranch:
[legend]

Public Member Functions

 ChainBranch (TestBlock const &_genesis)
 
void reset ()
 
void restoreFromHistory (size_t _importBlockNumber)
 

Static Public Member Functions

static void forceBlockchain (string const &chainname)
 
static void resetBlockchain ()
 

Public Attributes

TestBlockChain blockchain
 
vector< TestBlockimportedBlocks
 

Static Private Attributes

static eth::Network s_tempBlockchainNetwork = eth::Network::MainNetwork
 

Detailed Description

Definition at line 44 of file BlockChainTests.cpp.

Constructor & Destructor Documentation

dev::test::ChainBranch::ChainBranch ( TestBlock const &  _genesis)
inline

Definition at line 46 of file BlockChainTests.cpp.

Member Function Documentation

static void dev::test::ChainBranch::forceBlockchain ( string const &  chainname)
inlinestatic

Definition at line 65 of file BlockChainTests.cpp.

void dev::test::ChainBranch::reset ( )
inline

Definition at line 47 of file BlockChainTests.cpp.

static void dev::test::ChainBranch::resetBlockchain ( )
inlinestatic

Definition at line 80 of file BlockChainTests.cpp.

void dev::test::ChainBranch::restoreFromHistory ( size_t  _importBlockNumber)
inline

Definition at line 48 of file BlockChainTests.cpp.

Member Data Documentation

TestBlockChain dev::test::ChainBranch::blockchain

Definition at line 62 of file BlockChainTests.cpp.

vector<TestBlock> dev::test::ChainBranch::importedBlocks

Definition at line 63 of file BlockChainTests.cpp.

eth::Network dev::test::ChainBranch::s_tempBlockchainNetwork = eth::Network::MainNetwork
staticprivate

Definition at line 86 of file BlockChainTests.cpp.


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