![]() |
Ethereum
PoC-8
The C++ Implementation of Ethereum
|
#include "Common.h"#include <libdevcore/Base64.h>#include <libdevcore/Terminal.h>#include <libdevcore/CommonIO.h>#include <libdevcore/Log.h>#include <libdevcore/SHA3.h>#include "Exceptions.h"#include "BlockHeader.h"Go to the source code of this file.
Namespaces | |
| dev | |
| dev::eth | |
Functions | |
| const bytes | dev::eth::c_blockhashContractCode (fromHex("0x600073fffffffffffffffffffffffffffffffffffffffe33141561005957600143035b60011561005357600035610100820683015561010081061561004057005b6101008104905061010082019150610022565b506100e0565b4360003512156100d4576000356001814303035b61010081121515610085576000610100830614610088565b60005b156100a75761010083019250610100820491506101008104905061006d565b610100811215156100bd57600060a052602060a0f35b610100820683015460c052602060c0f350506100df565b600060e052602060e0f35b5b50")) |
| 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... | |
| std::string | dev::eth::formatBalance (bigint const &_b) |
| User-friendly string representation of the amount _b in wei. More... | |
| void | dev::eth::badBlock (bytesConstRef _block, string const &_err) |
Variables | |
| const unsigned | dev::eth::c_protocolVersion = 63 |
| Current protocol version. More... | |
| const unsigned | dev::eth::c_minorProtocolVersion = 2 |
| Current minor protocol version. More... | |
| const unsigned | dev::eth::c_databaseBaseVersion = 9 |
| const unsigned | dev::eth::c_databaseVersionModifier = 0 |
| const unsigned | dev::eth::c_databaseVersion = c_databaseBaseVersion + (c_databaseVersionModifier << 8) + (23 << 9) |
| Current database version. More... | |
| const Address | dev::eth::c_blockhashContractAddress (0xf0) |
| Address of the special contract for block hash storage defined in EIP96. More... | |
Definition in file Common.cpp.