#include "mst_state.hpp"
bool iroha::MstState::contains 
( 
const DataType & 
element  ) 
const 
Check, if this MST state contains that element
 Parameters

 Returns
 true, if state contains the element, false otherwise
Create empty state
 Parameters

completer   strategy for determine completed and expired batches 
 Returns
 empty mst state
Erase expired batches
 Parameters

 Returns
 state with expired batches
 Returns
 the batches from the state
bool iroha::MstState::isEmpty 
( 
 ) 
const 
 Returns
 true, if there is no batches inside
Add batch to current state
 Parameters

 Returns
 States with completed and updated batches
Concat internal data of states
 Parameters

 Returns
 States with completed and updated batches
Operator provide difference between this and rhs operator
 Parameters

 Returns
 State that provide difference between left and right states axiom operators: A V B == B V A A V B == B V (A \ B)
bool iroha::MstState::operator== 
( 
const MstState & 
rhs  ) 
const 
Compares two different MstState's
 Parameters

 Returns
 true is rhs equal to this or false otherwise
The documentation for this class was generated from the following files: