Skip to content

Commit

Permalink
returned to orginal position
Browse files Browse the repository at this point in the history
  • Loading branch information
letbecool committed Nov 30, 2017
1 parent dc112c6 commit 510d3e9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions cmd/geth/chaincmd.go
Expand Up @@ -105,6 +105,8 @@ if already existing.`,
utils.FakePoWFlag,
utils.TestnetFlag,
utils.RinkebyFlag,
// utils.RoseFlag,

},
Category: "BLOCKCHAIN COMMANDS",
Description: `
Expand Down
14 changes: 7 additions & 7 deletions p2p/server.go
Expand Up @@ -140,8 +140,8 @@ type Config struct {

//for permission blockchain we need to add few fields.

EnableNodePermission bool `toml:",omitempty"`
DataDir string `toml:",omitempty"`
// EnableNodePermission bool `toml:",omitempty"`
// DataDir string `toml:",omitempty"`


}
Expand Down Expand Up @@ -723,16 +723,16 @@ func (srv *Server) SetupConn(fd net.Conn, flags connFlag, dialDest *discover.Nod



//starting RoseBay Premissioning

//starting Rose Premissioning
/*
currentNode :=srv.NodeInfo().ID
cnodeName :=srv.NodeInfo().Name
log.Trace("RoseBay Permissioning",
log.Trace("Rose Permissioning",
"EnableNodePermission", srv.EnableNodePermission,
"DataDir", srv.DataDir,
"Current Node ID", currentNode,
Expand All @@ -758,10 +758,10 @@ log.Trace("RoseBay Permissioning",
log.Trace("Node Permissioning is Disabled.")
}
//END of RoseBay Permissioning

//END of Rose Permissioning
*/
clog := log.New("id", c.id, "addr", c.fd.RemoteAddr(), "conn", c.flags)
// For dialed connections, check that the remote public key matches.
if dialDest != nil && c.id != dialDest.ID {
Expand Down

0 comments on commit 510d3e9

Please sign in to comment.