Fabcoin Core  0.16.2
P2P Digital Currency
Classes | Namespaces | Typedefs | Enumerations | Functions
Common.h File Reference
#include <string>
#include <functional>
#include <libdevcore/Common.h>
#include <libdevcore/FixedHash.h>
#include <libdevcrypto/Common.h>
Include dependency graph for Common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  dev::eth::ImportRoute
 
struct  dev::eth::ImportRequirements
 
class  dev::eth::Signal< Args >
 Super-duper signal mechanism. TODO: replace with somthing a bit heavier weight. More...
 
class  dev::eth::Signal< Args >::HandlerAux
 
struct  dev::eth::TransactionSkeleton
 
struct  dev::eth::WorkingProgress
 Describes the progress of a mining operation. More...
 

Namespaces

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

Typedefs

using dev::eth::LogBloom = h2048
 The log bloom's size (2048-bit). More...
 
using dev::eth::LogBlooms = std::vector< LogBloom >
 Many log blooms. More...
 
using dev::eth::Nonce = h64
 
using dev::eth::BlockNumber = unsigned
 
template<class... Args>
using dev::eth::Handler = std::shared_ptr< typename Signal< Args... >::HandlerAux >
 

Enumerations

enum  dev::eth::RelativeBlock : BlockNumber { dev::eth::RelativeBlock::Latest = LatestBlock, dev::eth::RelativeBlock::Pending = PendingBlock }
 
enum  dev::eth::ImportResult {
  dev::eth::ImportResult::Success = 0, dev::eth::ImportResult::UnknownParent, dev::eth::ImportResult::FutureTimeKnown, dev::eth::ImportResult::FutureTimeUnknown,
  dev::eth::ImportResult::AlreadyInChain, dev::eth::ImportResult::AlreadyKnown, dev::eth::ImportResult::Malformed, dev::eth::ImportResult::OverbidGasPrice,
  dev::eth::ImportResult::BadChain
}
 
enum  dev::eth::IfDropped { dev::eth::IfDropped::Ignore, dev::eth::IfDropped::Retry }
 Import transaction policy. More...
 

Functions

std::string dev::eth::formatBalance (bigint const &_b)
 User-friendly string representation of the amount _b in wei. More...
 
 dev::eth::DEV_SIMPLE_EXCEPTION (InvalidAddress)
 
Address dev::eth::toAddress (std::string const &_s)
 Convert the given string into an address. More...
 
vector< pair< u256, string > > const & dev::eth::units ()
 Get information concerning the currency denominations. More...
 
void dev::eth::badBlock (bytesConstRef _header, std::string const &_err)
 
void dev::eth::badBlock (bytes const &_header, std::string const &_err)