Guest User

Untitled

a guest
May 27th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. var blockHash = bitcoreUtil.formatHashFull(block.calcHash());
  2. var check = blockHash.substring(0, 4);
  3. if (check != '0000') {
  4. console.log("Scrypt block detected. Falling back to RPC");
  5. self.historicSync.start({forceRPC:1}, function(){
  6. sockets.broadcastSyncInfo(self.historicSync.info());
  7. self.log('[p2p_sync] Done resync.');
  8. });
  9. return;
  10. }
Add Comment
Please, Sign In to add comment