@@ -2,6 +2,13 @@ package blocksub
 
 import (
 	"fmt"
+
+	"github.com/pkg/errors"
+
+	"github.com/filecoin-project/go-filecoin/internal/pkg/block"
+	e "github.com/filecoin-project/go-filecoin/internal/pkg/enccid"
+	"github.com/filecoin-project/go-filecoin/internal/pkg/encoding"
+	"github.com/filecoin-project/go-filecoin/internal/pkg/types"
 )
 
 // BlockTopic returns the network pubsub topic identifier on which new blocks are announced.
package blocksub

import (
	"fmt"
)

// BlockTopic returns the network pubsub topic identifier on which new blocks are announced.
func Topic(networkName string) string {
	return fmt.Sprintf("/fil/blocks/%s", networkName)
}

// Coming soon:
//type Message struct {
//	_           struct{} `cbor:",toarray"`
//	Header      block.Block
//	BLSMsgCids  []e.Cid
//	SECPMsgCids []e.Cid
//}

It would be slightly better to pass BLSMessages as unsigned and SECPMessages as signed since they are already separated and the the bls message signatures are unused