Bitcoin Core 28.99.0
P2P Digital Currency
Classes | Concepts | Functions
ipc::capnp Namespace Reference

Classes

struct  Context
 Cap'n Proto context struct. More...
 

Concepts

concept  Deserializable
 Detect if type has a deserialize_type constructor, which is used to deserialize types like CTransaction that can't be unserialized into existing objects because they are immutable.
 

Functions

template<typename S >
auto Wrap (S &s)
 Construct a ParamStream wrapping a data stream with serialization parameters needed to pass transaction objects between bitcoin processes. More...
 
std::unique_ptr< ProtocolMakeCapnpProtocol ()
 

Function Documentation

◆ MakeCapnpProtocol()

std::unique_ptr< Protocol > ipc::capnp::MakeCapnpProtocol ( )

Definition at line 102 of file protocol.cpp.

Here is the caller graph for this function:

◆ Wrap()

template<typename S >
auto ipc::capnp::Wrap ( S s)

Construct a ParamStream wrapping a data stream with serialization parameters needed to pass transaction objects between bitcoin processes.

In the future, more params may be added here to serialize other objects that require serialization parameters. Params should just be chosen to serialize objects completely and ensure that serializing and deserializing objects with the specified parameters produces equivalent objects. It's also harmless to specify serialization parameters here that are not used.

Definition at line 30 of file common-types.h.

Here is the caller graph for this function: