remove extra event doc

This commit is contained in:
Jennifer Wang
2023-01-19 19:53:21 -05:00
parent 6601d9031d
commit 63d4c10b9e
4 changed files with 5 additions and 65 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ func DefaultFullNode() *FullNode {
Fevm: FevmConfig{
EnableEthRPC: false,
EthTxHashMappingLifetimeDays: 0,
Events: EventsConfig{
Events: Events{
DisableRealTimeFilterAPI: false,
DisableHistoricFilterAPI: false,
FilterTTL: Duration(time.Hour * 24),
+2 -8
View File
@@ -341,7 +341,7 @@ see https://lotus.filecoin.io/storage-providers/advanced-configurations/market/#
Comment: ``,
},
},
"EventsConfig": []DocField{
"Events": []DocField{
{
Name: "DisableRealTimeFilterAPI",
Type: "bool",
@@ -419,7 +419,7 @@ Set to 0 to keep all mappings`,
},
{
Name: "Events",
Type: "EventsConfig",
Type: "Events",
Comment: ``,
},
@@ -455,12 +455,6 @@ Set to 0 to keep all mappings`,
Comment: ``,
},
{
Name: "Events",
Type: "EventsConfig",
Comment: ``,
},
{
Name: "Fevm",
Type: "FevmConfig",
+2 -3
View File
@@ -27,7 +27,6 @@ type FullNode struct {
Fees FeeConfig
Chainstore Chainstore
Cluster UserRaftConfig
Events EventsConfig
Fevm FevmConfig
}
@@ -669,10 +668,10 @@ type FevmConfig struct {
// Set to 0 to keep all mappings
EthTxHashMappingLifetimeDays int
Events EventsConfig
Events Events
}
type EventsConfig struct {
type Events struct {
// EnableEthRPC enables APIs that
// DisableRealTimeFilterAPI will disable the RealTimeFilterAPI that can create and query filters for actor events as they are emitted.
// The API is enabled when EnableEthRPC is true, but can be disabled selectively with this flag.