Merge pull request #5620 from filecoin-project/feat/disable-owner-worker-fallback

miner: Config to disable owner/worker address fallback
This commit is contained in:
Łukasz Magiera
2021-03-10 11:21:39 +01:00
committed by GitHub
6 changed files with 55 additions and 4 deletions
+10
View File
@@ -95,6 +95,16 @@ type MinerFeeConfig struct {
type MinerAddressConfig struct {
PreCommitControl []string
CommitControl []string
TerminateControl []string
// DisableOwnerFallback disables usage of the owner address for messages
// sent automatically
DisableOwnerFallback bool
// DisableWorkerFallback disables usage of the worker address for messages
// sent automatically, if control addresses are configured.
// A control address that doesn't have enough funds will still be chosen
// over the worker address if this flag is set.
DisableWorkerFallback bool
}
// API contains configs for API endpoint