Ethereum  PoC-8
The C++ Implementation of Ethereum
Common.cpp File Reference
#include "Common.h"
#include "Exceptions.h"
#include "Log.h"
#include <aleth/buildinfo.h>

Go to the source code of this file.

Namespaces

 dev
 

Functions

int64_t dev::utcTime ()
 Get the current time in seconds since the epoch in UTC. More...
 
string dev::inUnits (bigint const &_b, strings const &_units)
 Converts given int to a string and appends one of a series of units according to its size. More...
 
void dev::setDefaultOrCLocale ()
 
bool dev::isTrue (std::string const &_m)
 
bool dev::isFalse (std::string const &_m)
 

Variables

char const * dev::Version = aleth_get_buildinfo()->project_version
 
bytes const dev::NullBytes
 
std::string const dev::EmptyString