diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-12-05 02:56:11 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-12-15 01:36:51 +0800 |
commit | d8370a4e15f00afeb783f7f3be8b47e93c4338d2 (patch) | |
tree | 2d11ad491a7545977ee0a00a0bb7751b714355d3 /eth/backend.go | |
parent | fa187a366dda1894179635eeec2a929bfacc4ad3 (diff) | |
download | go-tangerine-d8370a4e15f00afeb783f7f3be8b47e93c4338d2.tar.gz go-tangerine-d8370a4e15f00afeb783f7f3be8b47e93c4338d2.tar.zst go-tangerine-d8370a4e15f00afeb783f7f3be8b47e93c4338d2.zip |
core, eth, node, rpc: port the admin and debug API
Diffstat (limited to 'eth/backend.go')
-rw-r--r-- | eth/backend.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/eth/backend.go b/eth/backend.go index ad98635a5..d51446d51 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -295,6 +295,19 @@ func (s *Ethereum) APIs() []rpc.API { Version: "1.0", Service: filters.NewPublicFilterAPI(s.ChainDb(), s.EventMux()), Public: true, + }, { + Namespace: "admin", + Version: "1.0", + Service: NewPrivateAdminAPI(s), + }, { + Namespace: "debug", + Version: "1.0", + Service: NewPublicDebugAPI(s), + Public: true, + }, { + Namespace: "debug", + Version: "1.0", + Service: NewPrivateDebugAPI(s), }, } } |