MCPcopy Create free account
hub / github.com/bither/bither-desktop-java / startPeer

Method startPeer

src/main/java/net/bither/utils/PeerUtil.java:34–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32 private static boolean peerCanRun = true;
33
34 public static void startPeer() {
35 peerCanRun = true;
36 new Thread(new Runnable() {
37 @Override
38 public void run() {
39 startPeerInBackground();
40 }
41 }).start();
42
43 }
44
45 private static synchronized void startPeerInBackground() {
46 try {

Callers 15

successMethod · 0.95
runMethod · 0.95
setVersionCodeMethod · 0.95
runMethod · 0.95
recoveryMethod · 0.95
addAddressListByDescMethod · 0.95
stopMonitorMethod · 0.95
runMethod · 0.95
finishGenerateMethod · 0.95
finishGenerateMethod · 0.95
finishGenerateMethod · 0.95

Calls 1

startMethod · 0.45

Tested by

no test coverage detected