// Calculate cumulative chain weight of this blockchain subset, from common block to highest mutual block held by all peers in this group.
LOGGER.debug(String.format("About to calculate chain weight based on %d blocks for peer %s with common block %.8s (peer has %d blocks after common block)",peerBlockSummariesAfterCommonBlock.size(),peer,Base58.encode(commonBlockSummary.getSignature()),peerAdditionalBlocksAfterCommonBlock));
LOGGER.debug(String.format("Chain weight of peer %s based on %d blocks (%d - %d) is %s",peer,peerBlockSummariesAfterCommonBlock.size(),peerBlockSummariesAfterCommonBlock.get(0).getHeight(),peerBlockSummariesAfterCommonBlock.get(peerBlockSummariesAfterCommonBlock.size()-1).getHeight(),formatter.format(peerChainWeight)));