mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-15 00:17:18 +01:00
qt test: Don't bind to regtest port
The qt tests don't need to bind to the regtest port. By not binding, it will no longer conflict with existing regtest instances and the tests will run as normal.
This commit is contained in:
@@ -54,6 +54,13 @@ int main(int argc, char* argv[])
|
|||||||
|
|
||||||
NodeContext node_context;
|
NodeContext node_context;
|
||||||
std::unique_ptr<interfaces::Node> node = interfaces::MakeNode(&node_context);
|
std::unique_ptr<interfaces::Node> node = interfaces::MakeNode(&node_context);
|
||||||
|
gArgs.ForceSetArg("-listen", "0");
|
||||||
|
gArgs.ForceSetArg("-listenonion", "0");
|
||||||
|
gArgs.ForceSetArg("-discover", "0");
|
||||||
|
gArgs.ForceSetArg("-dnsseed", "0");
|
||||||
|
gArgs.ForceSetArg("-fixedseeds", "0");
|
||||||
|
gArgs.ForceSetArg("-upnp", "0");
|
||||||
|
gArgs.ForceSetArg("-natpmp", "0");
|
||||||
|
|
||||||
bool fInvalid = false;
|
bool fInvalid = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user