From 7d20ee6b58cdbc4eaafd968c6220cdb397b6e723 Mon Sep 17 00:00:00 2001 From: tal Date: Thu, 8 Apr 2021 14:10:03 +0300 Subject: [PATCH] Adds a comment to exported function (GHOSTDAG). --- domain/consensus/processes/ghostdag2/ghostdagimpl.go | 1 + 1 file changed, 1 insertion(+) diff --git a/domain/consensus/processes/ghostdag2/ghostdagimpl.go b/domain/consensus/processes/ghostdag2/ghostdagimpl.go index fedeb98dd..9a91cbac0 100644 --- a/domain/consensus/processes/ghostdag2/ghostdagimpl.go +++ b/domain/consensus/processes/ghostdag2/ghostdagimpl.go @@ -18,6 +18,7 @@ type ghostdagHelper struct { headerStore model.BlockHeaderStore } +// New creates a new instance of this alternative GHOSTDAG impl func New( databaseContext model.DBReader, dagTopologyManager model.DAGTopologyManager,