Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
rpc.cpp File Reference
#include <base58.h>
#include <key.h>
#include <key_io.h>
#include <primitives/block.h>
#include <primitives/transaction.h>
#include <psbt.h>
#include <rpc/client.h>
#include <rpc/request.h>
#include <rpc/server.h>
#include <span.h>
#include <streams.h>
#include <test/fuzz/FuzzedDataProvider.h>
#include <test/fuzz/fuzz.h>
#include <test/fuzz/util.h>
#include <test/util/setup_common.h>
#include <tinyformat.h>
#include <uint256.h>
#include <univalue.h>
#include <util/strencodings.h>
#include <util/string.h>
#include <util/time.h>
#include <algorithm>
#include <cassert>
#include <cstdint>
#include <cstdlib>
#include <exception>
#include <iostream>
#include <memory>
#include <optional>
#include <stdexcept>
#include <vector>
Include dependency graph for rpc.cpp:

Go to the source code of this file.

Functions

void initialize_rpc ()
 FUZZ_TARGET (rpc,.init=initialize_rpc)
template<typename C, typename S, typename UnaryOp>
auto Join (const C &container, const S &separator, UnaryOp unary_op)
 Join all container items.
template<typename T>
std::string ToString (const T &t)
 Locale-independent version of std::to_string.

Function Documentation

◆ FUZZ_TARGET()

FUZZ_TARGET ( rpc ,
. init = initialize_rpc )

Definition at line 368 of file rpc.cpp.

Here is the call graph for this function:

◆ initialize_rpc()

void initialize_rpc ( )

Definition at line 346 of file rpc.cpp.

Here is the caller graph for this function:

◆ Join()

template<typename C, typename S, typename UnaryOp>
auto util::Join ( const C & container,
const S & separator,
UnaryOp unary_op )

Join all container items.

Typically used to concatenate strings but accepts containers with elements of any type.

Parameters
containerThe items to join
separatorThe separator
unary_opApply this operator to each item

Definition at line 205 of file string.h.

◆ ToString()

template<typename T>
std::string util::ToString ( const T & t)

Locale-independent version of std::to_string.

Definition at line 246 of file string.h.