forked from paritytech/substrate-api-sidecar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefaultControllers.ts
39 lines (38 loc) · 1.06 KB
/
defaultControllers.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import { ControllerConfig } from '../types/chains-config';
/**
* Controllers that Sidecar will always default to. This will always be
* the optimal controller selection for Polkadot and Kusama.
*/
export const defaultControllers: ControllerConfig = {
controllers: {
Blocks: true,
BlocksExtrinsics: true,
AccountsStakingPayouts: true,
AccountsBalanceInfo: true,
AccountsStakingInfo: true,
AccountsVestingInfo: true,
NodeNetwork: true,
NodeVersion: true,
NodeTransactionPool: true,
RuntimeCode: true,
RuntimeSpec: true,
RuntimeMetadata: true,
TransactionDryRun: true,
TransactionMaterial: true,
TransactionFeeEstimate: true,
TransactionSubmit: true,
TransactionTransfer: true,
PalletsMiningSpeedBoostRatesTokenMining: true,
PalletsMiningSpeedBoostRatesHardwareMining: true,
PalletsStakingProgress: true,
PalletsStorage: true,
StakeBondController: true,
StakeBondExtraController: true,
StakeUnbondController: true,
StakeValidatorRewardController: true,
StakeElectedInfoController: true,
},
options: {
finalizes: true,
},
};