diff options
Diffstat (limited to 'src/headless.cpp')
| -rw-r--r-- | src/headless.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/headless.cpp b/src/headless.cpp index 646476f..cdb8ac9 100644 --- a/src/headless.cpp +++ b/src/headless.cpp | |||
| @@ -80,6 +80,7 @@ int main(int argc, char* argv[]) | |||
| 80 | " -datadir=<dir> data directory (default ~/.bitflash)\n" | 80 | " -datadir=<dir> data directory (default ~/.bitflash)\n" |
| 81 | " -port=<n> P2P listen port (default 8433)\n" | 81 | " -port=<n> P2P listen port (default 8433)\n" |
| 82 | " -rvrelay=host:port rendezvous meeting relay (has a seed default)\n" | 82 | " -rvrelay=host:port rendezvous meeting relay (has a seed default)\n" |
| 83 | " -announcerelay=h:p announce a relay you run so nodes discover it\n" | ||
| 83 | " -connectbtf=<a>.btf keep a connection to a specific .btf peer\n" | 84 | " -connectbtf=<a>.btf keep a connection to a specific .btf peer\n" |
| 84 | " -solomine mine without waiting for a peer (testing)\n" | 85 | " -solomine mine without waiting for a peer (testing)\n" |
| 85 | " -debug verbose logging\n", | 86 | " -debug verbose logging\n", |
| @@ -96,6 +97,8 @@ int main(int argc, char* argv[]) | |||
| 96 | addrProxy = CAddress(mapArgs["/proxy"].c_str()); | 97 | addrProxy = CAddress(mapArgs["/proxy"].c_str()); |
| 97 | if (mapArgs.count("/rvrelay")) | 98 | if (mapArgs.count("/rvrelay")) |
| 98 | vBtfMeetingRelays = { mapArgs["/rvrelay"] }; | 99 | vBtfMeetingRelays = { mapArgs["/rvrelay"] }; |
| 100 | if (mapArgs.count("/announcerelay")) | ||
| 101 | strBtfAnnounceRelay = mapArgs["/announcerelay"]; | ||
| 99 | if (mapArgs.count("/connectbtf")) | 102 | if (mapArgs.count("/connectbtf")) |
| 100 | strBtfConnect = mapArgs["/connectbtf"]; | 103 | strBtfConnect = mapArgs["/connectbtf"]; |
| 101 | if (mapArgs.count("/debug")) | 104 | if (mapArgs.count("/debug")) |