Examples of connectToLocalHost()


Examples of com.google.bitcoin.kits.WalletAppKit.connectToLocalHost()

                super.addWalletExtensions();
                wallet().addExtension(new StoredPaymentChannelServerStates(wallet(), peerGroup()));
            }
        };
        if (params == RegTestParams.get()) {
            appkit.connectToLocalHost();
        }
        appkit.setUserAgent("PayFile Server", "1.0").startAndWait();

        System.out.println(appkit.wallet().toString(false, true, true, appkit.chain()));
View Full Code Here

Examples of org.bitcoinj.kits.WalletAppKit.connectToLocalHost()

            log.error("App is already running. Please terminate the other instance or use a different directory (--dir=...)");
            return;
        }
        int minPeersSupportingGetUTXO = 2;   // Increase when the feature eventually rolls out to the network.
        if (options.has("local-node") || params == RegTestParams.get()) {
            kit.connectToLocalHost();
            minPeersSupportingGetUTXO = 1// Only local matters.
        }
        // Eventually take this out when getutxo is merged, released and people have upgraded.
        kit.setBlockingStartup(true)
           .setAutoSave(true)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.