Commit 91dc3c5f authored by Kevin Atkinson's avatar Kevin Atkinson

gx update and fix code to use new Cid type

parent d3f68065
...@@ -25,8 +25,8 @@ type Interface interface { // type Exchanger interface ...@@ -25,8 +25,8 @@ type Interface interface { // type Exchanger interface
// Fetcher is an object that can be used to retrieve blocks // Fetcher is an object that can be used to retrieve blocks
type Fetcher interface { type Fetcher interface {
// GetBlock returns the block associated with a given key. // GetBlock returns the block associated with a given key.
GetBlock(context.Context, *cid.Cid) (blocks.Block, error) GetBlock(context.Context, cid.Cid) (blocks.Block, error)
GetBlocks(context.Context, []*cid.Cid) (<-chan blocks.Block, error) GetBlocks(context.Context, []cid.Cid) (<-chan blocks.Block, error)
} }
// SessionExchange is an exchange.Interface which supports // SessionExchange is an exchange.Interface which supports
......
...@@ -9,15 +9,15 @@ ...@@ -9,15 +9,15 @@
"gxDependencies": [ "gxDependencies": [
{ {
"author": "stebalien", "author": "stebalien",
"hash": "QmWAzSEoqZ6xU6pu8yL8e5WaMb7wtbfbhhN4p1DknUPtr3", "hash": "QmRcHuYzAyswytBuMF78rj3LTChYszomRFXNg4685ZN1WM",
"name": "go-block-format", "name": "go-block-format",
"version": "0.1.11" "version": "0.2.0"
}, },
{ {
"author": "whyrusleeping", "author": "whyrusleeping",
"hash": "QmZFbDTY9jfSBms2MchvYM9oYRbAF19K7Pby47yDBfpPrb", "hash": "QmPSQnBKM9g7BaUcZCvswUJVscQ1ipjmwxN5PXCjkp9EQ7",
"name": "go-cid", "name": "go-cid",
"version": "0.8.0" "version": "0.9.0"
} }
], ],
"gxVersion": "0.12.1", "gxVersion": "0.12.1",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment