support making deals with data directly from IPFS nodes

This commit is contained in:
Łukasz Magiera
2020-04-30 01:56:45 +02:00
parent 014092443f
commit 5ec76d4b7b
7 changed files with 236 additions and 4 deletions
+5
View File
@@ -16,6 +16,7 @@ type Common struct {
// FullNode is a full node config
type FullNode struct {
Common
Client Client
Metrics Metrics
}
@@ -54,6 +55,10 @@ type Metrics struct {
PubsubTracing bool
}
type Client struct {
UseIpfs bool
}
func defCommon() Common {
return Common{
API: API{