TARAXA
|
#include <execinfo.h>
#include <json/json.h>
#include <libdevcore/RLP.h>
#include <boost/asio.hpp>
#include <boost/format.hpp>
#include <boost/iostreams/device/back_inserter.hpp>
#include <boost/iostreams/stream.hpp>
#include <boost/iostreams/stream_buffer.hpp>
#include <boost/thread.hpp>
#include <iostream>
#include <list>
#include <shared_mutex>
#include <streambuf>
#include <string>
#include <unordered_set>
Go to the source code of this file.
Classes | |
class | taraxa::StatusTable< K, V > |
class | ExpirationCache< Key > |
class | ExpirationBlockNumberCache< Key > |
class | ExpirationCacheMap< Key, Value > |
class | ThreadSafeMap< Key, Value > |
class | ThreadSafeSet< Key > |
Namespaces | |
taraxa | |
Typedefs | |
using | taraxa::stream = std::basic_streambuf< uint8_t > |
using | taraxa::bufferstream = boost::iostreams::stream_buffer< boost::iostreams::basic_array_source< uint8_t > > |
using | taraxa::vectorstream = boost::iostreams::stream_buffer< boost::iostreams::back_insert_device< std::vector< uint8_t > >> |
Functions | |
std::string | taraxa::jsonToUnstyledString (const Json::Value &value) |
template<typename T > | |
std::weak_ptr< T > | taraxa::as_weak (std::shared_ptr< T > sp) |
template<typename Int1 , typename Int2 > | |
auto | taraxa::int_pow (Int1 x, Int2 y) |
template<typename T > | |
std::vector< T > | taraxa::asVector (const Json::Value &json) |
std::vector< uint64_t > | taraxa::asUInt64Vector (const Json::Value &json) |
template<typename T > | |
bool | taraxa::read (stream &stm, T &value) |
template<typename T > | |
bool | taraxa::write (stream &stm, T const &value) |
void | taraxa::thisThreadSleepForSeconds (unsigned sec) |
void | taraxa::thisThreadSleepForMilliSeconds (unsigned millisec) |
void | taraxa::thisThreadSleepForMicroSeconds (unsigned microsec) |
unsigned long | taraxa::getCurrentTimeMilliSeconds () |
std::string | taraxa::getFormattedVersion (std::initializer_list< uint32_t > list) |
template<typename... TS> | |
std::string | taraxa::fmt (const std::string &pattern, const TS &...args) |
template<typename T > | |
auto | slice (std::vector< T > const &v, std::size_t from=-1, std::size_t to=-1) |
template<typename T > | |
auto | getRlpBytes (T const &t) |
auto getRlpBytes | ( | T const & | t | ) |
auto slice | ( | std::vector< T > const & | v, |
std::size_t | from = -1 , |
||
std::size_t | to = -1 |
||
) |