Skip to content

Commit

Permalink
Merge pull request ethereum#214 from jpmorganchase/node-permissioning
Browse files Browse the repository at this point in the history
Re-enable node permissioning
  • Loading branch information
patrickmn authored Nov 6, 2017
2 parents f76983c + 81f0c92 commit 6a6b52c
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 6a6b52c

Please sign in to comment.