5#ifndef BITCOIN_TEST_IPC_TEST_H
6#define BITCOIN_TEST_IPC_TEST_H
11#include <validation.h>
16 int add(
int a,
int b) {
return a + b; }
An outpoint - a combination of a transaction hash and an index n into its vout.
CTransactionRef passTransaction(CTransactionRef t)
std::vector< char > passVectorChar(std::vector< char > v)
BlockValidationState passBlockState(BlockValidationState s)
COutPoint passOutPoint(COutPoint o)
UniValue passUniValue(UniValue v)
Path class wrapper to block calls to the fs::path(std::string) implicit constructor and the fs::path:...
void IpcSocketTest(const fs::path &datadir)
Test ipc::Process bind() and connect() methods connecting over a unix socket.
void IpcPipeTest()
Unit test that tests execution of IPC calls without actually creating a separate process.
void IpcSocketPairTest()
Test ipc::Protocol connect() and serve() methods connecting over a socketpair.
std::shared_ptr< const CTransaction > CTransactionRef