From 0cc74fce72e0c79849109ee5d7afe707991b3512 Mon Sep 17 00:00:00 2001 From: Ryan Ofsky Date: Mon, 20 Nov 2023 15:49:55 -0500 Subject: multiprocess: Add type conversion code for serializable types Allow any C++ object that has Serialize and Unserialize methods and can be serialized to a bitcoin CDataStream to be converted to a capnproto Data field and passed as arguments or return values to capnproto methods using the Data type. Extend IPC unit test to cover this and verify the serialization happens correctly. --- src/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 99b2184cf2..746c4df677 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1096,6 +1096,7 @@ ipc/capnp/libbitcoin_ipc_a-protocol.$(OBJEXT): $(libbitcoin_ipc_mpgen_input:=.h) if BUILD_MULTIPROCESS LIBBITCOIN_IPC=libbitcoin_ipc.a libbitcoin_ipc_a_SOURCES = \ + ipc/capnp/common-types.h \ ipc/capnp/context.h \ ipc/capnp/init-types.h \ ipc/capnp/protocol.cpp \ -- cgit v1.2.3