mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 14:16:44 +00:00
move miner and admin namespace to auth rpc
This commit is contained in:
parent
b992b105ef
commit
199bebc223
1 changed files with 6 additions and 4 deletions
|
|
@ -380,12 +380,14 @@ func (s *Ethereum) APIs() []rpc.API {
|
|||
{
|
||||
Namespace: "miner",
|
||||
Service: NewMinerAPI(s),
|
||||
Authenticated: true,
|
||||
}, {
|
||||
Namespace: "eth",
|
||||
Service: downloader.NewDownloaderAPI(s.handler.downloader, s.blockchain, s.eventMux),
|
||||
}, {
|
||||
Namespace: "admin",
|
||||
Service: NewAdminAPI(s),
|
||||
Authenticated: true,
|
||||
}, {
|
||||
Namespace: "debug",
|
||||
Service: NewDebugAPI(s),
|
||||
|
|
|
|||
Loading…
Reference in a new issue