aboutsummaryrefslogtreecommitdiff
path: root/src/test/ipc_test.cpp
AgeCommit message (Collapse)Author
2023-11-28multiprocess: Add type conversion code for UniValue typesRyan Ofsky
Extend IPC unit test to cover this and verify the serialization happens correctly.
2023-11-28multiprocess: Add type conversion code for serializable typesRyan Ofsky
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.
2023-11-28test: add ipc test to test multiprocess type conversion codeRyan Ofsky
Add unit test to test IPC method calls and type conversion between bitcoin c++ types and capnproto messages. Right now there are custom type hooks in bitcoin IPC code, so the test is simple, but in upcoming commits, code will be added to convert bitcoin types to capnproto messages, and the test will be expanded.