![]() |
Ethereum
PoC-8
The C++ Implementation of Ethereum
|
#include <unordered_map>#include <functional>#include <libdevcore/CommonData.h>#include <libdevcore/Exceptions.h>Go to the source code of this file.
Classes | |
| class | dev::eth::PrecompiledRegistrar |
Namespaces | |
| dev | |
| dev::eth | |
Macros | |
| #define | ETH_REGISTER_PRECOMPILED(Name) static std::pair<bool, bytes> __eth_registerPrecompiledFunction ## Name(bytesConstRef _in); static PrecompiledExecutor __eth_registerPrecompiledFactory ## Name = ::dev::eth::PrecompiledRegistrar::registerExecutor(#Name, &__eth_registerPrecompiledFunction ## Name); static std::pair<bool, bytes> __eth_registerPrecompiledFunction ## Name |
| #define | ETH_REGISTER_PRECOMPILED_PRICER(Name) static bigint __eth_registerPricerFunction ## Name(bytesConstRef _in); static PrecompiledPricer __eth_registerPricerFactory ## Name = ::dev::eth::PrecompiledRegistrar::registerPricer(#Name, &__eth_registerPricerFunction ## Name); static bigint __eth_registerPricerFunction ## Name |
Typedefs | |
| using | dev::eth::PrecompiledExecutor = std::function< std::pair< bool, bytes >(bytesConstRef _in)> |
| using | dev::eth::PrecompiledPricer = std::function< bigint(bytesConstRef _in)> |
Functions | |
| dev::eth::DEV_SIMPLE_EXCEPTION (ExecutorNotFound) | |
| dev::eth::DEV_SIMPLE_EXCEPTION (PricerNotFound) | |
Definition in file Precompiled.h.
| #define ETH_REGISTER_PRECOMPILED | ( | Name | ) | static std::pair<bool, bytes> __eth_registerPrecompiledFunction ## Name(bytesConstRef _in); static PrecompiledExecutor __eth_registerPrecompiledFactory ## Name = ::dev::eth::PrecompiledRegistrar::registerExecutor(#Name, &__eth_registerPrecompiledFunction ## Name); static std::pair<bool, bytes> __eth_registerPrecompiledFunction ## Name |
Definition at line 69 of file Precompiled.h.
| #define ETH_REGISTER_PRECOMPILED_PRICER | ( | Name | ) | static bigint __eth_registerPricerFunction ## Name(bytesConstRef _in); static PrecompiledPricer __eth_registerPricerFactory ## Name = ::dev::eth::PrecompiledRegistrar::registerPricer(#Name, &__eth_registerPricerFunction ## Name); static bigint __eth_registerPricerFunction ## Name |
Definition at line 70 of file Precompiled.h.