-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a663963
commit f121e17
Showing
10 changed files
with
86 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,13 @@ | ||
package aggsender | ||
|
||
import ( | ||
"github.com/0xPolygon/cdk/bridgesync" | ||
"github.com/0xPolygon/cdk/config/types" | ||
"github.com/0xPolygon/cdk/reorgdetector" | ||
) | ||
|
||
// Config is the configuration for the AggSender | ||
type Config struct { | ||
DBPath string `mapstructure:"DBPath"` | ||
AggLayerUrl string `mapstructure:"AggLayerUrl"` | ||
CertificateSendInterval types.Duration `mapstructure:"CertificateSendInterval"` | ||
L1BridgeSyncer bridgesync.Config `mapstructure:"L1BridgeSyncer"` | ||
L2BridgeSyncer bridgesync.Config `mapstructure:"L2BridgeSyncer"` | ||
SequencerPrivateKey types.KeystoreFileConfig `mapstructure:"SequencerPrivateKey"` | ||
ReorgDetectorL1 reorgdetector.Config `mapstructure:"ReorgDetectorL1"` | ||
ReorgDetectorL2 reorgdetector.Config `mapstructure:"ReorgDetectorL2"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters