mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
There is only a single protocol now, caller should just be concerned about whether to enable port mapping or not.
14 lines
401 B
C
14 lines
401 B
C
// Copyright (c) 2011-2020 The Bitcoin Core developers
|
|
// Distributed under the MIT software license, see the accompanying
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
#ifndef BITCOIN_MAPPORT_H
|
|
#define BITCOIN_MAPPORT_H
|
|
|
|
static constexpr bool DEFAULT_NATPMP = false;
|
|
|
|
void StartMapPort(bool enable);
|
|
void InterruptMapPort();
|
|
void StopMapPort();
|
|
|
|
#endif // BITCOIN_MAPPORT_H
|