mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-27 19:47:30 -03:00
8ffbd6c378
- this prevents an interference with the IPC message queue (which is used for URI processing) when running a testnet and mainnet instance in parallel - to check for testnet, I had to raise the ParseParameters() call in main() to the topmost position
16 lines
429 B
C++
16 lines
429 B
C++
#ifndef QTIPCSERVER_H
|
|
#define QTIPCSERVER_H
|
|
|
|
#include <string>
|
|
|
|
// Define Bitcoin-Qt message queue name for mainnet
|
|
#define BITCOINURI_QUEUE_NAME_MAINNET "BitcoinURI"
|
|
// Define Bitcoin-Qt message queue name for testnet
|
|
#define BITCOINURI_QUEUE_NAME_TESTNET "BitcoinURI-testnet"
|
|
|
|
extern std::string strBitcoinURIQueueName;
|
|
|
|
void ipcScanRelay(int argc, char *argv[]);
|
|
void ipcInit(int argc, char *argv[]);
|
|
|
|
#endif // QTIPCSERVER_H
|