support making deals with data directly from IPFS nodes
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user