aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-11-11 12:18:04 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2016-11-25 19:15:28 +0800
commit18d51d1de8e5bb31def0773c95db009ba57e46e8 (patch)
tree70e5fc54e240c0353882f66c6205c4f8a84cd631 /eth
parent01d5fc670b3618a82e2242e7b24bef03878a48ba (diff)
downloaddexon-18d51d1de8e5bb31def0773c95db009ba57e46e8.tar
dexon-18d51d1de8e5bb31def0773c95db009ba57e46e8.tar.gz
dexon-18d51d1de8e5bb31def0773c95db009ba57e46e8.tar.bz2
dexon-18d51d1de8e5bb31def0773c95db009ba57e46e8.tar.lz
dexon-18d51d1de8e5bb31def0773c95db009ba57e46e8.tar.xz
dexon-18d51d1de8e5bb31def0773c95db009ba57e46e8.tar.zst
dexon-18d51d1de8e5bb31def0773c95db009ba57e46e8.zip
common/registrar: delete the old registrar code
The registrar was broken, unmaintained and there is a much better replacement: ENS. (cherry picked from commit 6ca8f57b08d550613175260cab7633adcacbe6ab)
Diffstat (limited to 'eth')
-rw-r--r--eth/backend.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/eth/backend.go b/eth/backend.go
index 2351a62c8..7e4941978 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -32,7 +32,6 @@ import (
"github.com/ethereum/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/httpclient"
- "github.com/ethereum/go-ethereum/common/registrar/ethreg"
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/eth/downloader"
@@ -127,7 +126,6 @@ type Ethereum struct {
eventMux *event.TypeMux
pow *ethash.Ethash
- httpclient *httpclient.HTTPClient
accountManager *accounts.Manager
ApiBackend *EthApiBackend
@@ -173,7 +171,6 @@ func New(ctx *node.ServiceContext, config *Config) (*Ethereum, error) {
pow: pow,
shutdownChan: make(chan bool),
stopDbUpgrade: stopDbUpgrade,
- httpclient: httpclient.New(config.DocRoot),
netVersionId: config.NetworkId,
NatSpec: config.NatSpec,
PowTest: config.PowTest,
@@ -356,10 +353,6 @@ func (s *Ethereum) APIs() []rpc.API {
Version: "1.0",
Service: s.netRPCService,
Public: true,
- }, {
- Namespace: "admin",
- Version: "1.0",
- Service: ethreg.NewPrivateRegistarAPI(s.chainConfig, s.blockchain, s.chainDb, s.txPool, s.accountManager),
},
}...)
}