aboutsummaryrefslogtreecommitdiffstats
path: root/xeth
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-04-25 06:56:17 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-04-25 06:56:17 +0800
commit8d09f95bc7a73aaf567b05028ebdb4f2ac5129e4 (patch)
treeff72b1935c12817594466adfa3334e9f23736924 /xeth
parent7afbd0f20d39ed3957f696f49da8c159735e95d3 (diff)
parented036a2ce7d846297032a803fd7e82a3f84b239a (diff)
downloadgo-tangerine-8d09f95bc7a73aaf567b05028ebdb4f2ac5129e4.tar
go-tangerine-8d09f95bc7a73aaf567b05028ebdb4f2ac5129e4.tar.gz
go-tangerine-8d09f95bc7a73aaf567b05028ebdb4f2ac5129e4.tar.bz2
go-tangerine-8d09f95bc7a73aaf567b05028ebdb4f2ac5129e4.tar.lz
go-tangerine-8d09f95bc7a73aaf567b05028ebdb4f2ac5129e4.tar.xz
go-tangerine-8d09f95bc7a73aaf567b05028ebdb4f2ac5129e4.tar.zst
go-tangerine-8d09f95bc7a73aaf567b05028ebdb4f2ac5129e4.zip
Merge pull request #805 from obscuren/download_improvements
eth, eth/downloader: improve downloader and remove asynchronousness
Diffstat (limited to 'xeth')
-rw-r--r--xeth/xeth.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go
index 251b070e4..693acb910 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -236,6 +236,10 @@ func (self *XEth) CurrentBlock() *types.Block {
return self.backend.ChainManager().CurrentBlock()
}
+func (self *XEth) GasLimit() *big.Int {
+ return self.backend.ChainManager().GasLimit()
+}
+
func (self *XEth) Block(v interface{}) *Block {
if n, ok := v.(int32); ok {
return self.BlockByNumber(int64(n))