Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | List of all members
dev::eth::GasPricer Class Referenceabstract

#include <GasPricer.h>

Inheritance diagram for dev::eth::GasPricer:
[legend]

Public Member Functions

 GasPricer ()=default
 
virtual ~GasPricer ()=default
 
virtual u256 ask (Block const &) const =0
 
virtual u256 bid (TransactionPriority _p=TransactionPriority::Medium) const =0
 
virtual void update (BlockChain const &)
 

Detailed Description

Definition at line 45 of file GasPricer.h.

Constructor & Destructor Documentation

dev::eth::GasPricer::GasPricer ( )
default
virtual dev::eth::GasPricer::~GasPricer ( )
virtualdefault

Member Function Documentation

virtual u256 dev::eth::GasPricer::ask ( Block const &  ) const
pure virtual

Implemented in dev::test::ZeroGasPricer, dev::eth::TrivialGasPricer, and dev::eth::BasicGasPricer.

Here is the caller graph for this function:

virtual u256 dev::eth::GasPricer::bid ( TransactionPriority  _p = TransactionPriority::Medium) const
pure virtual
virtual void dev::eth::GasPricer::update ( BlockChain const &  )
inlinevirtual

Reimplemented in dev::eth::BasicGasPricer.

Definition at line 54 of file GasPricer.h.


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