Skip to content

Commit

Permalink
config: document EnableP2PHybridMode takes precedence over EnableP2P
Browse files Browse the repository at this point in the history
  • Loading branch information
algorandskiy committed Jun 21, 2024
1 parent fcfab80 commit 63bf1a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/localTemplate.go
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,8 @@ type Local struct {
// When it exceeds this capacity, it redirects the block requests to a different node
BlockServiceMemCap uint64 `version[28]:"500000000"`

// EnableP2P turns on the peer to peer network
// EnableP2P turns on the peer to peer network.
// When both EnableP2P and EnableP2PHybridMode (below) are set, EnableP2PHybridMode takes precedence.
EnableP2P bool `version[31]:"false"`

// EnableP2PHybridMode turns on both websockets and P2P networking.
Expand Down

0 comments on commit 63bf1a9

Please sign in to comment.