Bitcoin Core 28.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
ipc_test.h
Go to the documentation of this file.
1// Copyright (c) 2023 The Bitcoin Core developers
2// Distributed under the MIT software license, see the accompanying
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5#ifndef BITCOIN_TEST_IPC_TEST_H
6#define BITCOIN_TEST_IPC_TEST_H
7
9#include <univalue.h>
10
12{
13public:
14 int add(int a, int b) { return a + b; }
17};
18
19void IpcTest();
20
21#endif // BITCOIN_TEST_IPC_TEST_H
An outpoint - a combination of a transaction hash and an index n into its vout.
Definition transaction.h:29
COutPoint passOutPoint(COutPoint o)
Definition ipc_test.h:15
int add(int a, int b)
Definition ipc_test.h:14
UniValue passUniValue(UniValue v)
Definition ipc_test.h:16
void IpcTest()
Unit test that tests execution of IPC calls without actually creating a separate process.
Definition ipc_test.cpp:26