PeerAddress masterNodeAddress = new PeerAddress(Number160.createHash(seedNodeId), seedNodeIP, seedNodePort,
seedNodePort);
FutureDiscover futureDiscover = peer.discover().peerAddress(masterNodeAddress).start();
futureDiscover.awaitUninterruptibly();
if (futureDiscover.isSuccess()) {
log.info("Discover with direct connection successful. Address = " + futureDiscover.peerAddress());
//cachedPeers.put(id, peer);
//bootstrap
FutureBootstrap fb = peer.bootstrap().peerAddress(masterNodeAddress).start();
fb.awaitUninterruptibly();