rpc: implement net_listening and net_peerCount JSON-RPC endpoints (#252)

* Add net_listening net_peerCount endpoint

* Add test cases

* Use RPC client from context

* Fix lint issue

* Revert unnecessary changes

* Update JSON RPC documentation
This commit is contained in:
Calvin Lau
2021-07-12 08:26:33 -04:00
committed by GitHub
parent 8f73d556c6
commit 8bfb6b0a67
4 changed files with 86 additions and 5 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ fi
# Compile ethermint
echo "compiling ethermint"
make build-ethermint
make build
# PID array declaration
arr=()