diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-11-25 19:17:10 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-11-25 19:17:10 +0800 |
commit | b8c766a9c5c11d6454f485911d319e079c8ea1e6 (patch) | |
tree | 4bc1e3b0726683b7759343f3ba8144a0cf46d93b /eth | |
parent | 18d51d1de8e5bb31def0773c95db009ba57e46e8 (diff) | |
download | go-tangerine-b8c766a9c5c11d6454f485911d319e079c8ea1e6.tar go-tangerine-b8c766a9c5c11d6454f485911d319e079c8ea1e6.tar.gz go-tangerine-b8c766a9c5c11d6454f485911d319e079c8ea1e6.tar.bz2 go-tangerine-b8c766a9c5c11d6454f485911d319e079c8ea1e6.tar.lz go-tangerine-b8c766a9c5c11d6454f485911d319e079c8ea1e6.tar.xz go-tangerine-b8c766a9c5c11d6454f485911d319e079c8ea1e6.tar.zst go-tangerine-b8c766a9c5c11d6454f485911d319e079c8ea1e6.zip |
eth: removed http doc backend api
Diffstat (limited to 'eth')
-rw-r--r-- | eth/backend.go | 7 |
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) { |