make MsgIndex configurable, disabled by default.

This commit is contained in:
vyzo
2023-03-13 12:01:04 +02:00
parent 3c945e9e3c
commit db8b593c9b
2 changed files with 10 additions and 1 deletions
+6
View File
@@ -28,6 +28,7 @@ type FullNode struct {
Chainstore Chainstore
Cluster UserRaftConfig
Fevm FevmConfig
Index IndexConfig
}
// // Common
@@ -726,3 +727,8 @@ type Events struct {
// Set a timeout for subscription clients
// Set upper bound on index size
}
type IndexConfig struct {
// EnableMsgIndex enables indexing of messages on chain.
EnableMsgIndex bool
}