adjust btc and eth publishers and publisher tests

This commit is contained in:
Ian Norden
2020-03-17 13:05:19 -05:00
parent 7eddf396a5
commit d47ba24373
19 changed files with 334 additions and 220 deletions
+3 -1
View File
@@ -18,6 +18,8 @@ package shared
import (
"math/big"
node "github.com/ipfs/go-ipld-format"
)
// PayloadStreamer streams chain-specific payloads to the provided channel
@@ -71,7 +73,7 @@ type ClientSubscription interface {
// DagPutter is a general interface for a dag putter
type DagPutter interface {
DagPut(raw interface{}) ([]string, error)
DagPut(n node.Node) (string, error)
}
// Cleaner is for cleaning out data from the cache within the given ranges