diff options
author | Ryan Ofsky <ryan@ofsky.org> | 2023-11-20 15:49:55 -0500 |
---|---|---|
committer | Ryan Ofsky <ryan@ofsky.org> | 2023-11-28 12:35:50 -0500 |
commit | 6acec6b9ff02b91de132bb1575d75908a8a2d27b (patch) | |
tree | 386e62fb027e0d3ca0d4d2e491e82f8916594825 /src/test/ipc_test.h | |
parent | 0cc74fce72e0c79849109ee5d7afe707991b3512 (diff) | |
download | bitcoin-6acec6b9ff02b91de132bb1575d75908a8a2d27b.tar.xz |
multiprocess: Add type conversion code for UniValue types
Extend IPC unit test to cover this and verify the serialization happens
correctly.
Diffstat (limited to 'src/test/ipc_test.h')
-rw-r--r-- | src/test/ipc_test.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/ipc_test.h b/src/test/ipc_test.h index f100ae8c5d..bcfcc2125c 100644 --- a/src/test/ipc_test.h +++ b/src/test/ipc_test.h @@ -6,12 +6,14 @@ #define BITCOIN_TEST_IPC_TEST_H #include <primitives/transaction.h> +#include <univalue.h> class FooImplementation { public: int add(int a, int b) { return a + b; } COutPoint passOutPoint(COutPoint o) { return o; } + UniValue passUniValue(UniValue v) { return v; } }; void IpcTest(); |