mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
rpc: new RPC implementation with pub/sub support
This commit is contained in:
parent
6f56d57600
commit
7f87949ec3
1 changed files with 3 additions and 4 deletions
|
|
@ -266,10 +266,9 @@ func (s *Ethereum) Apis() []rpc.API {
|
||||||
Service: core.NewPublicBlockChainApi(s.BlockChain(), s.AccountManager()),
|
Service: core.NewPublicBlockChainApi(s.BlockChain(), s.AccountManager()),
|
||||||
Public: true,
|
Public: true,
|
||||||
}, rpc.API{
|
}, rpc.API{
|
||||||
Namespace: "eth",
|
Version: "1.0",
|
||||||
Version: "1.0",
|
Service: core.NewPublicTransactionPoolApi(s.TxPool(), s.ChainDb(), s.BlockChain(), s.AccountManager()),
|
||||||
Service: core.NewPublicTransactionPoolApi(s.TxPool(), s.ChainDb(), s.BlockChain(), s.AccountManager()),
|
Public: true,
|
||||||
Public: true,
|
|
||||||
}, rpc.API{
|
}, rpc.API{
|
||||||
Namespace: "eth",
|
Namespace: "eth",
|
||||||
Version: "1.0",
|
Version: "1.0",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue