aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2016-11-25 19:17:10 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2016-11-25 19:17:10 +0800
commitb8c766a9c5c11d6454f485911d319e079c8ea1e6 (patch)
tree4bc1e3b0726683b7759343f3ba8144a0cf46d93b
parent18d51d1de8e5bb31def0773c95db009ba57e46e8 (diff)
downloaddexon-b8c766a9c5c11d6454f485911d319e079c8ea1e6.tar.gz
dexon-b8c766a9c5c11d6454f485911d319e079c8ea1e6.tar.zst
dexon-b8c766a9c5c11d6454f485911d319e079c8ea1e6.zip
eth: removed http doc backend api
-rw-r--r--eth/backend.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/eth/backend.go b/eth/backend.go
index 7e4941978..d5b767b12 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -31,7 +31,6 @@ import (
"github.com/ethereum/ethash"
"github.com/ethereum/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/common/httpclient"
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/eth/downloader"
@@ -520,12 +519,6 @@ func (self *Ethereum) StopAutoDAG() {
glog.V(logger.Info).Infof("Automatic pregeneration of ethash DAG OFF (ethash dir: %s)", ethash.DefaultDir)
}
-// HTTPClient returns the light http client used for fetching offchain docs
-// (natspec, source for verification)
-func (self *Ethereum) HTTPClient() *httpclient.HTTPClient {
- return self.httpclient
-}
-
// dagFiles(epoch) returns the two alternative DAG filenames (not a path)
// 1) <revision>-<hex(seedhash[8])> 2) full-R<revision>-<hex(seedhash[8])>
func dagFiles(epoch uint64) (string, string) {