Warn about running api and gui at same time

This commit is contained in:
ghubstan 2022-07-06 12:37:54 -03:00
parent 35a7ad114b
commit fc4a2b11e0
No known key found for this signature in database
GPG Key ID: E35592D6800A861E
2 changed files with 13 additions and 0 deletions

View File

@ -410,6 +410,12 @@ public class ProtobufDefinitionParser {
.build();
mdBlocks.add(introBlock);
Template warningsTemplate = new Template("warnings.md");
Block warningsBlock = StringBlock.builder()
.content(warningsTemplate.getContent())
.build();
mdBlocks.add(warningsBlock);
Template examplesSetupTemplate = new Template("examples-setup.md");
Block examplesSetupBlock = StringBlock.builder()
.content(examplesSetupTemplate.getContent())

View File

@ -0,0 +1,7 @@
# Warning
Never run an API Daemon and the Bisq desktop application on the same host at the same time.
The API daemon and the GUI share the same default wallet and connection ports. Beyond inevitable failures due to
fighting over the wallet and ports, doing so will probably corrupt your wallet. Before starting the API daemon, make
sure your GUI is shut down, and vice-versa. Please back up your mainnet wallet early and often with the GUI.