You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TransactionCleanupIntervalSecondsint`json:"transaction_cleanup_interval_seconds"`// Global default: How often to run cleanup in seconds (default: 3600)
45
-
TransactionRetentionPeriodSecondsint`json:"transaction_retention_period_seconds"`// Global default: How long to keep confirmed transactions in seconds (default: 86400)
46
-
47
-
// RPC Pool configuration
48
-
RPCPoolConfigRPCPoolConfig`json:"rpc_pool_config"`// RPC pool configuration
49
-
50
39
// Unified per-chain configuration
51
40
ChainConfigsmap[string]ChainSpecificConfig`json:"chain_configs"`// Map of chain ID to all chain-specific settings
52
41
@@ -63,52 +52,44 @@ type ChainSpecificConfig struct {
63
52
RPCURLs []string`json:"rpc_urls,omitempty"`// RPC endpoints for this chain
64
53
65
54
// Transaction Cleanup Configuration
66
-
CleanupIntervalSeconds*int`json:"cleanup_interval_seconds,omitempty"`// How often to run cleanup for this chain (optional, uses global default if not set)
67
-
RetentionPeriodSeconds*int`json:"retention_period_seconds,omitempty"`// How long to keep confirmed transactions for this chain (optional, uses global default if not set)
55
+
CleanupIntervalSeconds*int`json:"cleanup_interval_seconds,omitempty"`// How often to run cleanup for this chain (required)
56
+
RetentionPeriodSeconds*int`json:"retention_period_seconds,omitempty"`// How long to keep confirmed transactions for this chain (required)
68
57
69
58
// Event Monitoring Configuration
70
-
EventPollingIntervalSeconds*int`json:"event_polling_interval_seconds,omitempty"`// How often to poll for new events for this chain (optional, uses global default if not set)
59
+
EventPollingIntervalSeconds*int`json:"event_polling_interval_seconds,omitempty"`// How often to poll for new events for this chain (required)
71
60
72
61
// Event Start Cursor
73
62
// If set to a non-negative value, gateway event watchers start from this
74
63
// block/slot for this chain. If set to -1 or not present, start from the
75
64
// latest block/slot (or from DB resume point when available).
0 commit comments