Explain config more clearly

This commit is contained in:
Geoff Stuart 2023-01-16 08:17:34 -05:00
parent 3b283681a9
commit 72f42505b9
3 changed files with 4 additions and 1 deletions

View File

@ -345,6 +345,7 @@
[Fevm]
# EnableEthHashToFilecoinCidMapping enables storing a mapping of eth transaction hashes to filecoin message Cids
# You will not be able to look up ethereum transactions by their hash if this is disabled.
#
# type: bool
# env var: LOTUS_FEVM_ENABLEETHHASHTOFILECOINCIDMAPPING

View File

@ -404,7 +404,8 @@ see https://lotus.filecoin.io/storage-providers/advanced-configurations/market/#
Name: "EnableEthHashToFilecoinCidMapping",
Type: "bool",
Comment: `EnableEthHashToFilecoinCidMapping enables storing a mapping of eth transaction hashes to filecoin message Cids`,
Comment: `EnableEthHashToFilecoinCidMapping enables storing a mapping of eth transaction hashes to filecoin message Cids
You will not be able to look up ethereum transactions by their hash if this is disabled.`,
},
{
Name: "EthTxHashMappingLifetimeDays",

View File

@ -696,6 +696,7 @@ type ActorEventConfig struct {
type FevmConfig struct {
// EnableEthHashToFilecoinCidMapping enables storing a mapping of eth transaction hashes to filecoin message Cids
// You will not be able to look up ethereum transactions by their hash if this is disabled.
EnableEthHashToFilecoinCidMapping bool
// EthTxHashMappingLifetimeDays the transaction hash lookup database will delete mappings that have been stored for more than x days
// Set to 0 to keep all mappings