2021-12-30 19:36:57 +02:00
|
|
|
// Copyright (c) 2014-2021 The Bitcoin Core developers
|
2018-07-17 12:51:23 +02:00
|
|
|
// Distributed under the MIT software license, see the accompanying
|
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
|
|
|
#ifndef BITCOIN_ZMQ_ZMQUTIL_H
|
|
|
|
#define BITCOIN_ZMQ_ZMQUTIL_H
|
|
|
|
|
2021-06-08 13:21:08 +08:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
void zmqError(const std::string& str);
|
2018-07-17 12:51:23 +02:00
|
|
|
|
2024-03-13 11:41:04 -04:00
|
|
|
/** Prefix for unix domain socket addresses (which are local filesystem paths) */
|
|
|
|
const std::string ADDR_PREFIX_IPC = "ipc://"; // used by libzmq, example "ipc:///root/path/to/file"
|
|
|
|
|
2018-07-17 12:51:23 +02:00
|
|
|
#endif // BITCOIN_ZMQ_ZMQUTIL_H
|