Package com.google.bitcoin.net.discovery

Examples of com.google.bitcoin.net.discovery.DnsDiscovery


        BlockChain chain = new BlockChain(networkParams, wallet, blockStore);

        peerGroup = new PeerGroup(networkParams, chain);
        peerGroup.setUserAgent("BitcoinJKit", "0.9");
        peerGroup.addPeerDiscovery(new DnsDiscovery(networkParams));
        peerGroup.addWallet(wallet);

        onBalanceChanged();
        trackPendingTransactions(wallet);
View Full Code Here

TOP

Related Classes of com.google.bitcoin.net.discovery.DnsDiscovery

Copyright © 2018 www.massapicom. 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.