Bitcoin Core 29.99.0
P2P Digital Currency
Namespaces | Functions
type-optional.h File Reference
#include <mp/util.h>
Include dependency graph for type-optional.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mp
 Functions to serialize / deserialize common bitcoin types.
 

Functions

template<typename LocalType , typename Value , typename Output >
void mp::CustomBuildField (TypeList< std::optional< LocalType > >, Priority< 1 >, InvokeContext &invoke_context, Value &&value, Output &&output)
 
template<typename LocalType , typename Input , typename ReadDest >
decltype(auto) mp::CustomReadField (TypeList< std::optional< LocalType > >, Priority< 1 >, InvokeContext &invoke_context, Input &&input, ReadDest &&read_dest)