aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/eth_js.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-09-10 00:02:54 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-09-15 19:45:53 +0800
commit0a7d059b6a4365c671386855289bfdc3178e2d60 (patch)
tree41a01bf186506d820f652fa7b5c2bebb081ea999 /rpc/api/eth_js.go
parent071e2cd08e5492b5f4bae4f7dda03c5d47a0cd1d (diff)
downloadgo-tangerine-0a7d059b6a4365c671386855289bfdc3178e2d60.tar
go-tangerine-0a7d059b6a4365c671386855289bfdc3178e2d60.tar.gz
go-tangerine-0a7d059b6a4365c671386855289bfdc3178e2d60.tar.bz2
go-tangerine-0a7d059b6a4365c671386855289bfdc3178e2d60.tar.lz
go-tangerine-0a7d059b6a4365c671386855289bfdc3178e2d60.tar.xz
go-tangerine-0a7d059b6a4365c671386855289bfdc3178e2d60.tar.zst
go-tangerine-0a7d059b6a4365c671386855289bfdc3178e2d60.zip
eth, rpc: standardize the chain sync progress counters
Diffstat (limited to 'rpc/api/eth_js.go')
-rw-r--r--rpc/api/eth_js.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpc/api/eth_js.go b/rpc/api/eth_js.go
index 393dac22f..81bb341bf 100644
--- a/rpc/api/eth_js.go
+++ b/rpc/api/eth_js.go
@@ -42,6 +42,10 @@ web3._extend({
new web3._extend.Property({
name: 'pendingTransactions',
getter: 'eth_pendingTransactions'
+ }),
+ new web3._extend.Property({
+ name: 'syncing',
+ getter: 'eth_syncing'
})
]
});