mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-19 06:31:57 +00:00
docs: use hyphens instead of snake case (#5802)
This commit is contained in:
@@ -45,7 +45,7 @@ go build
|
||||
Use `maverick init` to initialize a single node and `maverick node` to run it. This will run it normally unless you use the misbehaviors flag as follows:
|
||||
|
||||
```bash
|
||||
maverick node --proxy_app persistent_kvstore --misbehaviors double-vote,10
|
||||
maverick node --proxy-app persistent_kvstore --misbehaviors double-vote,10
|
||||
```
|
||||
|
||||
This would cause the node to vote twice in every round at height 10. To add more misbehaviors at different heights, append the next misbehavior and height after the first (with comma separation).
|
||||
|
||||
@@ -818,7 +818,7 @@ func NewNode(config *cfg.Config,
|
||||
|
||||
err = sw.AddPersistentPeers(splitAndTrimEmpty(config.P2P.PersistentPeers, ",", " "))
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("could not add peers from persistent_peers field: %w", err)
|
||||
return nil, fmt.Errorf("could not add peers from persistent-peers field: %w", err)
|
||||
}
|
||||
|
||||
err = sw.AddUnconditionalPeerIDs(splitAndTrimEmpty(config.P2P.UnconditionalPeerIDs, ",", " "))
|
||||
@@ -952,7 +952,7 @@ func (n *Node) OnStart() error {
|
||||
// Always connect to persistent peers
|
||||
err = n.sw.DialPeersAsync(splitAndTrimEmpty(n.config.P2P.PersistentPeers, ",", " "))
|
||||
if err != nil {
|
||||
return fmt.Errorf("could not dial peers from persistent_peers field: %w", err)
|
||||
return fmt.Errorf("could not dial peers from persistent-peers field: %w", err)
|
||||
}
|
||||
|
||||
// Run state sync
|
||||
|
||||
Reference in New Issue
Block a user