config: Fevm.EnableEthPRC
This commit is contained in:
+2
-2
@@ -108,8 +108,8 @@ func DefaultFullNode() *FullNode {
|
||||
MaxFilterHeightRange: 2880, // conservative limit of one day
|
||||
},
|
||||
Fevm: FevmConfig{
|
||||
EnableEthHashToFilecoinCidMapping: false,
|
||||
EthTxHashMappingLifetimeDays: 0,
|
||||
EnableEthPRC: false,
|
||||
EthTxHashMappingLifetimeDays: 0,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -401,11 +401,10 @@ see https://lotus.filecoin.io/storage-providers/advanced-configurations/market/#
|
||||
},
|
||||
"FevmConfig": []DocField{
|
||||
{
|
||||
Name: "EnableEthHashToFilecoinCidMapping",
|
||||
Name: "EnableEthPRC",
|
||||
Type: "bool",
|
||||
|
||||
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.`,
|
||||
Comment: `EnableEthPRC enables eth_ rpc, and enables storing a mapping of eth transaction hashes to filecoin message Cids.`,
|
||||
},
|
||||
{
|
||||
Name: "EthTxHashMappingLifetimeDays",
|
||||
|
||||
@@ -695,9 +695,9 @@ 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
|
||||
// EnableEthPRC enables eth_ rpc, and enables storing a mapping of eth transaction hashes to filecoin message Cids.
|
||||
EnableEthPRC 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
|
||||
EthTxHashMappingLifetimeDays int
|
||||
|
||||
Reference in New Issue
Block a user