miner: Improve default address config

This commit is contained in:
Łukasz Magiera 2020-12-02 21:54:38 +01:00
parent 2fd93a55ac
commit c3a0feef96

View File

@ -211,6 +211,11 @@ func DefaultStorageMiner() *StorageMiner {
MaxPublishDealsFee: types.MustParseFIL("0.05"),
MaxMarketBalanceAddFee: types.MustParseFIL("0.007"),
},
Addresses: MinerAddressConfig{
PreCommitControl: []string{},
CommitControl: []string{},
},
}
cfg.Common.API.ListenAddress = "/ip4/127.0.0.1/tcp/2345/http"
cfg.Common.API.RemoteListenAddress = "127.0.0.1:2345"