Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Migrations contains the list of supported migrations. Migrations = map[int]migration.Migration{ 1: migration.V1MultitenancyMigration, 2: migration.V2StorageInfoDealIDs, 3: migration.V3StorageJobsIndexMigration, 4: migration.V4RecordsMigration, 5: migration.V5DeleteOldMinerIndex, } )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
RepoPath string
MaxMindDBFolder string
Devnet bool
IpfsAPIAddr ma.Multiaddr
LotusAddress ma.Multiaddr
LotusAuthToken string
LotusMasterAddr string
LotusConnectionRetries int
GrpcHostNetwork string
GrpcHostAddress ma.Multiaddr
GrpcServerOpts []grpc.ServerOption
GrpcWebProxyAddress string
GatewayBasePath string
GatewayHostAddr string
IndexRawJSONHostAddr string
MongoURI string
MongoDB string
FFSAdminToken string
FFSUseMasterAddr bool
FFSDealFinalityTimeout time.Duration
FFSMinimumPieceSize uint64
FFSRetrievalNextEventTimeout time.Duration
FFSMaxParallelDealPreparing int
FFSGCAutomaticGCInterval time.Duration
FFSGCStageGracePeriod time.Duration
SchedMaxParallel int
MinerSelector string
MinerSelectorParams string
DealWatchPollDuration time.Duration
AutocreateMasterAddr bool
WalletInitialFunds big.Int
AskIndexQueryAskTimeout time.Duration
AskindexMaxParallel int
AskIndexRefreshInterval time.Duration
AskIndexRefreshOnStart bool
IndexMinersRefreshOnStart bool
IndexMinersOnChainMaxParallel int
IndexMinersOnChainFrequency time.Duration
DisableIndices bool
DisableNonCompliantAPIs bool
}
Config specifies server settings.
Click to show internal directories.
Click to hide internal directories.