OSDN Git Service

Add write data to chain
[bytom/vapor.git] / config / config.go
index 13d8629..7e38217 100644 (file)
@@ -92,6 +92,8 @@ type BaseConfig struct {
        Signer        string `mapstructure:"signer"`
 
        ConsensusConfigFile string `mapstructure:"consensus_config_file"`
+
+       IpfsAddress string `mapstructure:"ipfs_addr"`
 }
 
 // Default configurable base parameters.
@@ -103,6 +105,7 @@ func DefaultBaseConfig() BaseConfig {
                DBBackend:         "leveldb",
                DBPath:            "data",
                KeysPath:          "keystore",
+               IpfsAddress:       "127.0.0.1:5001",
        }
 }