// check if known block connecting the downloaded chain to our blockchain
plog.DebugDetailf("AddBlockHashes: peer <%s> (head: %s) found block %s in the blockchain",peerId,hex(bestpeer.currentBlockHash),hex(hash))
iflen(nodes)==1{
plog.DebugDetailf("AddBlockHashes: singleton section pushed to blockchain peer <%s> (head: %s) found block %s in the blockchain",peerId,hex(bestpeer.currentBlockHash),hex(hash))
// create new section if needed and push it to the blockchain
sec=self.newSection(nodes)
sec.addSectionToBlockChain(bestpeer)
...
...
@@ -379,6 +399,8 @@ LOOP:
and td together with blockBy are recorded on the node
*/
iflen(nodes)==0&&child!=nil{
plog.DebugDetailf("AddBlockHashes: child section [%s] pushed to blockchain peer <%s> (head: %s) found block %s in the blockchain",sectionhex(child),peerId,hex(bestpeer.currentBlockHash),hex(hash))