Added built in dht seed node

This commit is contained in:
Steve Myers 2014-10-04 19:19:18 -07:00
parent 864c7a15db
commit 5e9f97953f
13 changed files with 357 additions and 16 deletions

View file

@ -48,6 +48,7 @@ import javafx.stage.Stage;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import akka.actor.ActorSystem;
import lighthouse.files.AppDirectory;
public class BitSquare extends Application {
@ -118,11 +119,11 @@ public class BitSquare extends Application {
log.error(e.getMessage());
}
// currently there is not SystemTray support for java fx (planned for version 3) so we use the old AWT
AWTSystemTray.createSystemTray(primaryStage);
final Injector injector = Guice.createInjector(new BitSquareModule());
// currently there is not SystemTray support for java fx (planned for version 3) so we use the old AWT
AWTSystemTray.createSystemTray(primaryStage, injector.getInstance(ActorSystem.class));
walletFacade = injector.getInstance(WalletFacade.class);
messageFacade = injector.getInstance(MessageFacade.class);
Profiler.printMsgWithTime("BitSquare: messageFacade, walletFacade created");