Fabcoin Core  0.16.2
P2P Digital Currency
Namespaces | Functions
GasPricer.cpp File Reference
#include <libethashseal/Ethash.h>
#include <libethereum/BlockChain.h>
#include <libethereum/ChainParams.h>
#include <libethereum/GasPricer.h>
#include <libethereum/BasicGasPricer.h>
#include <test/libtesteth/TestHelper.h>
#include <test/libtestutils/BlockChainLoader.h>
Include dependency graph for GasPricer.cpp:

Go to the source code of this file.

Namespaces

 dev
 Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Originally by RenĂ© Nyffenegger.
 
 dev::test
 

Functions

void dev::test::executeGasPricerTest (string const &name, double _etherPrice, double _blockFee, string const &bcTestPath, TransactionPriority _txPrio, u256 _expectedAsk, u256 _expectedBid, eth::Network _sealEngineNetwork=eth::Network::TransitionnetTest)
 
 BOOST_AUTO_TEST_CASE (trivialGasPricer)
 
 BOOST_AUTO_TEST_CASE (basicGasPricerNoUpdate)
 
 BOOST_AUTO_TEST_CASE (basicGasPricer_RPC_API_Test_Frontier)
 
 BOOST_AUTO_TEST_CASE (basicGasPricer_RPC_API_Test_Homestead)
 
 BOOST_AUTO_TEST_CASE (basicGasPricer_bcValidBlockTest)
 
 BOOST_AUTO_TEST_CASE (basicGasPricer_bcUncleTest_Frontier)
 
 BOOST_AUTO_TEST_CASE (basicGasPricer_bcUncleTest_Homestead)
 
 BOOST_AUTO_TEST_CASE (basicGasPricer_bcUncleHeaderValiditiy_Frontier)
 
 BOOST_AUTO_TEST_CASE (basicGasPricer_bcUncleHeaderValiditiy_Homestead)
 
 BOOST_AUTO_TEST_CASE (basicGasPricer_notxs_frontier)
 
 BOOST_AUTO_TEST_CASE (basicGasPricer_notxs_homestead)
 
 BOOST_AUTO_TEST_CASE (basicGasPricer_highGasUsage_LowestPrio)
 
 BOOST_AUTO_TEST_CASE (basicGasPricer_highGasUsage_LowPrio)
 
 BOOST_AUTO_TEST_CASE (basicGasPricer_highGasUsage_MediumPrio)
 
 BOOST_AUTO_TEST_CASE (basicGasPricer_highGasUsage_HighPrio)
 
 BOOST_AUTO_TEST_CASE (basicGasPricer_highGasUsage_HighestPrio)
 

Function Documentation

BOOST_AUTO_TEST_CASE ( trivialGasPricer  )

Definition at line 54 of file GasPricer.cpp.

BOOST_AUTO_TEST_CASE ( basicGasPricerNoUpdate  )

Definition at line 65 of file GasPricer.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( basicGasPricer_RPC_API_Test_Frontier  )

Definition at line 92 of file GasPricer.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( basicGasPricer_RPC_API_Test_Homestead  )

Definition at line 99 of file GasPricer.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( basicGasPricer_bcValidBlockTest  )

Definition at line 106 of file GasPricer.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( basicGasPricer_bcUncleTest_Frontier  )

Definition at line 111 of file GasPricer.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( basicGasPricer_bcUncleTest_Homestead  )

Definition at line 118 of file GasPricer.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( basicGasPricer_bcUncleHeaderValiditiy_Frontier  )

Definition at line 125 of file GasPricer.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( basicGasPricer_bcUncleHeaderValiditiy_Homestead  )

Definition at line 132 of file GasPricer.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( basicGasPricer_notxs_frontier  )

Definition at line 139 of file GasPricer.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( basicGasPricer_notxs_homestead  )

Definition at line 146 of file GasPricer.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( basicGasPricer_highGasUsage_LowestPrio  )

Definition at line 153 of file GasPricer.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( basicGasPricer_highGasUsage_LowPrio  )

Definition at line 160 of file GasPricer.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( basicGasPricer_highGasUsage_MediumPrio  )

Definition at line 167 of file GasPricer.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( basicGasPricer_highGasUsage_HighPrio  )

Definition at line 174 of file GasPricer.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( basicGasPricer_highGasUsage_HighestPrio  )

Definition at line 181 of file GasPricer.cpp.

Here is the call graph for this function: