Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var blockHash = bitcoreUtil.formatHashFull(block.calcHash());
- var check = blockHash.substring(0, 4);
- if (check != '0000') {
- console.log("Scrypt block detected. Falling back to RPC");
- self.historicSync.start({forceRPC:1}, function(){
- sockets.broadcastSyncInfo(self.historicSync.info());
- self.log('[p2p_sync] Done resync.');
- });
- return;
- }
Add Comment
Please, Sign In to add comment