style: format code with gofmt
This commit is contained in:
@@ -823,9 +823,9 @@ type Features struct {
|
||||
// ArbitrageOptimizedConfig represents Arbitrum-optimized arbitrage timing
|
||||
type ArbitrageOptimizedConfig struct {
|
||||
// Opportunity lifecycle (tuned for 250ms blocks)
|
||||
OpportunityTTL time.Duration `yaml:"opportunity_ttl"`
|
||||
MaxPathAge time.Duration `yaml:"max_path_age"`
|
||||
ExecutionDeadline time.Duration `yaml:"execution_deadline"`
|
||||
OpportunityTTL time.Duration `yaml:"opportunity_ttl"`
|
||||
MaxPathAge time.Duration `yaml:"max_path_age"`
|
||||
ExecutionDeadline time.Duration `yaml:"execution_deadline"`
|
||||
|
||||
// Legacy values for rollback
|
||||
LegacyOpportunityTTL time.Duration `yaml:"legacy_opportunity_ttl"`
|
||||
@@ -837,10 +837,10 @@ type ArbitrageOptimizedConfig struct {
|
||||
|
||||
// DynamicTTLConfig represents dynamic TTL calculation settings
|
||||
type DynamicTTLConfig struct {
|
||||
MinTTLBlocks int `yaml:"min_ttl_blocks"`
|
||||
MaxTTLBlocks int `yaml:"max_ttl_blocks"`
|
||||
ProfitMultiplier bool `yaml:"profit_multiplier"`
|
||||
VolatilityAdjustment bool `yaml:"volatility_adjustment"`
|
||||
MinTTLBlocks int `yaml:"min_ttl_blocks"`
|
||||
MaxTTLBlocks int `yaml:"max_ttl_blocks"`
|
||||
ProfitMultiplier bool `yaml:"profit_multiplier"`
|
||||
VolatilityAdjustment bool `yaml:"volatility_adjustment"`
|
||||
}
|
||||
|
||||
// GetOpportunityTTL returns the active opportunity TTL based on feature flags
|
||||
|
||||
Reference in New Issue
Block a user