Skip to content

Commit

Permalink
Re-enable node permissioning.
Browse files Browse the repository at this point in the history
Also:

* update usage info options
* update relevant logging
  • Loading branch information
joelburget committed Nov 6, 2017
1 parent f76983c commit 81f0c92
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions cmd/geth/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ var (
utils.GpoPercentileFlag,
utils.ExtraDataFlag,
configFileFlag,
utils.EnableNodePermissionFlag,
utils.RaftModeFlag,
utils.RaftBlockTimeFlag,
utils.RaftJoinExistingFlag,
Expand Down
6 changes: 2 additions & 4 deletions cmd/geth/usage.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,9 @@ var AppHelpFlagGroups = []flagGroup{
},
},
{
Name: "RAFT",
Name: "QUORUM",
Flags: []cli.Flag{
utils.RaftModeFlag,
utils.RaftBlockTimeFlag,
utils.RaftJoinExistingFlag,
utils.EnableNodePermissionFlag,
},
},
{
Expand Down
2 changes: 1 addition & 1 deletion p2p/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ func (srv *Server) SetupConn(fd net.Conn, flags connFlag, dialDest *discover.Nod
if dialDest != nil {
node = dialDest.ID.String()
direction = "OUTGOING"
log.Info("Connection Direction <%v>", direction)
log.Trace("Node Permissioning", "Connection Direction", direction)
}

if !isNodePermissioned(node, currentNode, srv.DataDir, direction) {
Expand Down

0 comments on commit 81f0c92

Please sign in to comment.