Fabcoin Core  0.16.2
P2P Digital Currency
Namespaces | Functions
JsonHelper.cpp File Reference
#include "JsonHelper.h"
#include <libevmcore/Instruction.h>
#include <libethcore/SealEngine.h>
#include <libethereum/Client.h>
#include <libwebthree/WebThree.h>
#include <libethcore/CommonJS.h>
#include <libethcore/ICAP.h>
#include <libwhisper/Message.h>
#include <libwhisper/WhisperHost.h>
#include <jsonrpccpp/common/exception.h>
Include dependency graph for JsonHelper.cpp:

Go to the source code of this file.

Namespaces

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

Functions

Json::Value dev::toJson (unordered_map< u256, u256 > const &_storage)
 
Json::Value dev::toJson (map< h256, pair< u256, u256 >> const &_storage)
 
Json::Value dev::toJson (Address const &_address)
 
Json::Value dev::p2p::toJson (p2p::PeerSessionInfo const &_p)
 
Json::Value dev::eth::toJson (dev::eth::BlockHeader const &_bi, SealEngineFace *_sealer)
 
Json::Value dev::eth::toJson (dev::eth::Transaction const &_t, std::pair< h256, unsigned > _location, BlockNumber _blockNumber)
 
Json::Value dev::eth::toJson (dev::eth::BlockHeader const &_bi, BlockDetails const &_bd, UncleHashes const &_us, Transactions const &_ts, SealEngineFace *_face)
 
Json::Value dev::eth::toJson (dev::eth::BlockHeader const &_bi, BlockDetails const &_bd, UncleHashes const &_us, TransactionHashes const &_ts, SealEngineFace *_face)
 
Json::Value dev::eth::toJson (dev::eth::TransactionSkeleton const &_t)
 
Json::Value dev::eth::toJson (dev::eth::TransactionReceipt const &_t)
 
Json::Value dev::eth::toJson (dev::eth::LocalisedTransactionReceipt const &_t)
 
Json::Value dev::eth::toJson (dev::eth::Transaction const &_t)
 
Json::Value dev::eth::toJson (dev::eth::LocalisedTransaction const &_t)
 
Json::Value dev::eth::toJson (dev::eth::LocalisedLogEntry const &_e)
 
Json::Value dev::eth::toJson (dev::eth::LogEntry const &_e)
 
Json::Value dev::eth::toJson (std::unordered_map< h256, dev::eth::LocalisedLogEntries > const &_entriesByBlock, vector< h256 > const &_order)
 
Json::Value dev::eth::toJsonByBlock (LocalisedLogEntries const &_entries)
 
TransactionSkeleton dev::eth::toTransactionSkeleton (Json::Value const &_json)
 
dev::eth::LogFilter dev::eth::toLogFilter (Json::Value const &_json)
 
dev::eth::LogFilter dev::eth::toLogFilter (Json::Value const &_json, Interface const &_client)
 
Json::Value dev::shh::toJson (h256 const &_h, shh::Envelope const &_e, shh::Message const &_m)
 
shh::Message dev::shh::toMessage (Json::Value const &_json)
 
shh::Envelope dev::shh::toSealed (Json::Value const &_json, shh::Message const &_m, Secret const &_from)
 
pair< shh::Topics, Publicdev::shh::toWatch (Json::Value const &_json)
 
h256 dev::rpc::h256fromHex (string const &_s)
 

Detailed Description

Authors
: Gav Wood i@gav.nosp@m.wood.nosp@m..com
Date
2014

Definition in file JsonHelper.cpp.