|
Monero
|
Classes | |
| struct | context |
| struct | is_valid |
| struct | minimal_chain |
| Object for "minimal" block serialization. More... | |
| struct | minimal_txpool |
| Object for "minimal" tx serialization. More... | |
Typedefs | |
| using | chain_writer = void(epee::byte_stream &, std::uint64_t, epee::span< const cryptonote::block >) |
| using | txpool_writer = void(epee::byte_stream &, epee::span< const cryptonote::txpool_event >) |
Functions | |
| template<typename T > | |
| bool | operator< (const context< T > &lhs, const context< T > &rhs) noexcept |
| template<typename T > | |
| bool | operator< (const context< T > &lhs, const boost::string_ref rhs) noexcept |
| template<typename T , std::size_t N> | |
| void | verify_sorted (const std::array< context< T >, N > &elems, const char *name) |
| void | write_header (epee::byte_stream &buf, const boost::string_ref name) |
| template<typename T > | |
| void | json_pub (epee::byte_stream &buf, const T value) |
| void | toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const minimal_chain self) |
| void | toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const minimal_txpool self) |
| void | json_full_chain (epee::byte_stream &buf, const std::uint64_t height, const epee::span< const cryptonote::block > blocks) |
| void | json_minimal_chain (epee::byte_stream &buf, const std::uint64_t height, const epee::span< const cryptonote::block > blocks) |
| void | json_full_txpool (epee::byte_stream &buf, epee::span< const cryptonote::txpool_event > txes) |
| void | json_minimal_txpool (epee::byte_stream &buf, epee::span< const cryptonote::txpool_event > txes) |
| template<typename T , std::size_t N> | |
| epee::span< const context< T > > | get_range (const std::array< context< T >, N > &contexts, const boost::string_ref value) |
| template<std::size_t N, typename T > | |
| void | add_subscriptions (std::array< std::size_t, N > &subs, const epee::span< const context< T >> range, context< T > const *const first) |
| template<std::size_t N, typename T > | |
| void | remove_subscriptions (std::array< std::size_t, N > &subs, const epee::span< const context< T >> range, context< T > const *const first) |
| template<std::size_t N, typename T , typename... U> | |
| std::array< epee::byte_slice, N > | make_pubs (const std::array< std::size_t, N > &subs, const std::array< context< T >, N > &contexts, U &&... args) |
| template<std::size_t N> | |
| std::size_t | send_messages (void *const socket, std::array< epee::byte_slice, N > &messages) |
| expect< bool > | relay_block_pub (void *const relay, void *const pub) noexcept |
Variables | |
| constexpr const char | txpool_signal [] = "tx_signal" |
| constexpr const std::array< context< chain_writer >, 2 > | chain_contexts |
| constexpr const std::array< context< txpool_writer >, 2 > | txpool_contexts |
| using anonymous_namespace{zmq_pub.cpp}::chain_writer = typedef void(epee::byte_stream&, std::uint64_t, epee::span<const cryptonote::block>) |
| using anonymous_namespace{zmq_pub.cpp}::txpool_writer = typedef void(epee::byte_stream&, epee::span<const cryptonote::txpool_event>) |
| void anonymous_namespace{zmq_pub.cpp}::add_subscriptions | ( | std::array< std::size_t, N > & | subs, |
| const epee::span< const context< T >> | range, | ||
| context< T > const *const | first | ||
| ) |
| epee::span<const context<T> > anonymous_namespace{zmq_pub.cpp}::get_range | ( | const std::array< context< T >, N > & | contexts, |
| const boost::string_ref | value | ||
| ) |
| void anonymous_namespace{zmq_pub.cpp}::json_full_chain | ( | epee::byte_stream & | buf, |
| const std::uint64_t | height, | ||
| const epee::span< const cryptonote::block > | blocks | ||
| ) |
| void anonymous_namespace{zmq_pub.cpp}::json_full_txpool | ( | epee::byte_stream & | buf, |
| epee::span< const cryptonote::txpool_event > | txes | ||
| ) |
| void anonymous_namespace{zmq_pub.cpp}::json_minimal_chain | ( | epee::byte_stream & | buf, |
| const std::uint64_t | height, | ||
| const epee::span< const cryptonote::block > | blocks | ||
| ) |
| void anonymous_namespace{zmq_pub.cpp}::json_minimal_txpool | ( | epee::byte_stream & | buf, |
| epee::span< const cryptonote::txpool_event > | txes | ||
| ) |
| void anonymous_namespace{zmq_pub.cpp}::json_pub | ( | epee::byte_stream & | buf, |
| const T | value | ||
| ) |
name:... where ... is JSON and name is directly copied (no quotes - not JSON). | std::array<epee::byte_slice, N> anonymous_namespace{zmq_pub.cpp}::make_pubs | ( | const std::array< std::size_t, N > & | subs, |
| const std::array< context< T >, N > & | contexts, | ||
| U &&... | args | ||
| ) |
|
noexcept |
|
noexcept |
|
noexcept |
| void anonymous_namespace{zmq_pub.cpp}::remove_subscriptions | ( | std::array< std::size_t, N > & | subs, |
| const epee::span< const context< T >> | range, | ||
| context< T > const *const | first | ||
| ) |
| std::size_t anonymous_namespace{zmq_pub.cpp}::send_messages | ( | void *const | socket, |
| std::array< epee::byte_slice, N > & | messages | ||
| ) |
| void anonymous_namespace{zmq_pub.cpp}::toJsonValue | ( | rapidjson::Writer< epee::byte_stream > & | dest, |
| const minimal_chain | self | ||
| ) |
| void anonymous_namespace{zmq_pub.cpp}::toJsonValue | ( | rapidjson::Writer< epee::byte_stream > & | dest, |
| const minimal_txpool | self | ||
| ) |
| void anonymous_namespace{zmq_pub.cpp}::verify_sorted | ( | const std::array< context< T >, N > & | elems, |
| const char * | name | ||
| ) |
| void anonymous_namespace{zmq_pub.cpp}::write_header | ( | epee::byte_stream & | buf, |
| const boost::string_ref | name | ||
| ) |
|
constexpr |
|
constexpr |
|
constexpr |