-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENG-370] Rename relayer to sentinel (#95)
* Consolidate mev metrics * Fix linter * Mev metric names * relayer to sentinel for logs * relayer to sentinel for code * Rename relayer to sentinel * Add warnings * print warning only if relayer config is set and sentinel config is not set Co-authored-by: Jacob Gadikian <[email protected]> Co-authored-by: bpiv400 <[email protected]>
- Loading branch information
1 parent
e7bfc7a
commit 851797b
Showing
11 changed files
with
195 additions
and
146 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
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 |
---|---|---|
|
@@ -1084,9 +1084,13 @@ func (cfg *ConsensusConfig) ValidateBasic() error { | |
// SidecarConfig | ||
|
||
// Sidecar defines configuration for gossiping the private sidecar | ||
// mempool among the relayer and the nodes that belong to a particular proposer | ||
// mempool among the sentinel and the nodes that belong to a particular proposer | ||
type SidecarConfig struct { | ||
RootDir string `mapstructure:"home"` | ||
RootDir string `mapstructure:"home"` | ||
// Temporarily support both Sentinel and Relayer names | ||
SentinelRPCString string `mapstructure:"sentinel_rpc_string"` | ||
SentinelPeerString string `mapstructure:"sentinel_peer_string"` | ||
|
||
RelayerRPCString string `mapstructure:"relayer_rpc_string"` | ||
RelayerPeerString string `mapstructure:"relayer_peer_string"` | ||
|
||
|
@@ -1100,9 +1104,9 @@ func DefaultSidecarConfig() *SidecarConfig { | |
|
||
func TestSidecarConfig() *SidecarConfig { | ||
return &SidecarConfig{ | ||
RelayerRPCString: "test-api.skip.money", | ||
RelayerPeerString: "[email protected]:26656", | ||
APIKey: "api-key", | ||
SentinelRPCString: "test-api.skip.money", | ||
SentinelPeerString: "[email protected]:26656", | ||
APIKey: "api-key", | ||
} | ||
} | ||
|
||
|
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
Oops, something went wrong.