erigon icon indicating copy to clipboard operation
erigon copied to clipboard

pending blocks support?

Open huglester opened this issue 6 years ago • 6 comments

Hello

I am working with theGraph

and logs show this message: body: '{"jsonrpc":"2.0","id":48,"error":{"code":-32000,"message":"pending blocks are not supported"}}\n',

any idea if this can be somehow enabled? parity works here.

thanks

huglester avatar Oct 18 '20 17:10 huglester

pending blocks require access to the transaction pool, which RPC daemon current does not have. We will enable this functionality as a part of support for mining, which we plan to enable by the end of this year

AlexeyAkhunov avatar Oct 18 '20 17:10 AlexeyAkhunov

thanks. probably can be closed for now?

huglester avatar Oct 18 '20 17:10 huglester

Would love to see this as well.

contextlimit avatar Oct 20 '20 02:10 contextlimit

FYI: I finished adding TxPool to RpcDaemon. Now working on adding pending transactions. Then will switch to pending blocks.

AskAlexSharov avatar May 04 '21 02:05 AskAlexSharov

@huglester , @ericmuyser , hi - It was released. (not totally in all handlers, but much where)

AskAlexSharov avatar May 22 '21 08:05 AskAlexSharov

assume that is fixed, closing

mandrigin avatar Jun 30 '22 16:06 mandrigin