Update README.md (#5914)

the rpc_daemon README.md is out of date and miss the eth_subscribe logs
event
This commit is contained in:
net.wyman 2022-11-01 09:56:22 +08:00 committed by GitHub
parent 9ffc457cbb
commit 98420edd30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -264,8 +264,10 @@ The following table shows the current implementation status of Erigon's RPC daem
| eth_submitWork | Yes | | | eth_submitWork | Yes | |
| | | | | | | |
| eth_subscribe | Limited | Websock Only - newHeads, | | eth_subscribe | Limited | Websock Only - newHeads, |
| | | newPendingTransactionsWithBody, |
| | | newPendingTransactions, | | | | newPendingTransactions, |
| | | newPendingBlock | | | | newPendingBlock |
| | | logs |
| eth_unsubscribe | Yes | Websock Only | | eth_unsubscribe | Yes | Websock Only |
| | | | | | | |
| engine_newPayloadV1 | Yes | | | engine_newPayloadV1 | Yes | |

View File

@ -439,7 +439,7 @@ func (ff *Filters) SubscribeLogs(out chan *types.Log, crit filters.FilterCriteri
} }
addresses, topics := ff.logsSubs.getAggMaps() addresses, topics := ff.logsSubs.getAggMaps()
for addr := range addresses { for addr := range addresses {
lfr.Addresses = append(lfr.Addresses, gointerfaces.ConvertAddressToH160(addr)) lfr.Addresses = append(lfr.Addresses, gointerfaces.ConvertAddressToH160(addr))
} }