mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46: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()),
|
||||
Public: true,
|
||||
}, rpc.API{
|
||||
Namespace: "eth",
|
||||
Version: "1.0",
|
||||
Service: core.NewPublicTransactionPoolApi(s.TxPool(), s.ChainDb(), s.BlockChain(), s.AccountManager()),
|
||||
Public: true,
|
||||
Version: "1.0",
|
||||
Service: core.NewPublicTransactionPoolApi(s.TxPool(), s.ChainDb(), s.BlockChain(), s.AccountManager()),
|
||||
Public: true,
|
||||
}, rpc.API{
|
||||
Namespace: "eth",
|
||||
Version: "1.0",
|
||||
|
|
|
|||
Loading…
Reference in a new issue