Complete validation for debora

This commit is contained in:
Jae Kwon
2015-04-13 13:14:37 -07:00
parent 5b1c1eb0e0
commit 0ffbff108f
4 changed files with 216 additions and 69 deletions

View File

@ -152,8 +152,7 @@ func (n *Node) StartRPC() {
mux := http.NewServeMux()
rpc.RegisterEventsHandler(mux, n.evsw)
rpc.RegisterRPCFuncs(mux, core.Routes)
handler := rpc.AuthenticateHandler(mux)
rpc.StartHTTPServer(listenAddr, handler)
rpc.StartHTTPServer(listenAddr, mux)
}
func (n *Node) Switch() *p2p.Switch {