zmqutil.h raw
1 // Copyright (c) 2014-present 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_ZMQ_ZMQUTIL_H
6 #define BITCOIN_ZMQ_ZMQUTIL_H
7
8 #include <string>
9
10 void zmqError(const std::string& str);
11
12 /** Prefix for unix domain socket addresses (which are local filesystem paths) */
13 const std::string ADDR_PREFIX_IPC = "ipc://"; // used by libzmq, example "ipc:///root/path/to/file"
14
15 #endif // BITCOIN_ZMQ_ZMQUTIL_H
16