aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/xeth.go
diff options
context:
space:
mode:
Diffstat (limited to 'xeth/xeth.go')
-rw-r--r--xeth/xeth.go12
1 files changed, 10 insertions, 2 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go
index 8296e61bb..36c9979f4 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -221,12 +221,20 @@ func (self *XEth) IsMining() bool {
return self.backend.IsMining()
}
+func (self *XEth) EthVersion() string {
+ return string(self.backend.EthVersion())
+}
+
func (self *XEth) NetworkVersion() string {
- return string(self.backend.ProtocolVersion())
+ return string(self.backend.NetVersion())
+}
+
+func (self *XEth) WhisperVersion() string {
+ return string(self.backend.ShhVersion())
}
func (self *XEth) ClientVersion() string {
- return self.backend.Version()
+ return self.backend.ClientVersion()
}
func (self *XEth) SetMining(shouldmine bool) bool {