mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-29 00:57:17 -04:00
Begin separation of JavaFX GUI and seed node CLI
This commit is contained in:
parent
ad1b3ccd1e
commit
f6368754b9
7 changed files with 76 additions and 76 deletions
|
@ -30,9 +30,12 @@ import io.bitsquare.user.User;
|
|||
import io.bitsquare.util.ConfigLoader;
|
||||
|
||||
import com.google.inject.Injector;
|
||||
import com.google.inject.name.Names;
|
||||
|
||||
import java.util.Properties;
|
||||
|
||||
import net.tomp2p.connection.Ports;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
@ -64,6 +67,9 @@ public class BitsquareModule extends AbstractBitsquareModule {
|
|||
install(guiModule());
|
||||
|
||||
bind(ActorSystem.class).toInstance(ActorSystem.create(Bitsquare.getAppName()));
|
||||
|
||||
int randomPort = new Ports().tcpPort();
|
||||
bindConstant().annotatedWith(Names.named("clientPort")).to(randomPort);
|
||||
}
|
||||
|
||||
protected MessageModule messageModule() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue