The most famous opensource pool uses eth_getBlockByNumber method with parameter "pending" to get block template and generate jobs from it. But now, in parity, I found that this parameter is deprecated and I would like to understand why. Also, if this is really bad way to get a block template from the node, I would like to know how to do it right? Perhaps I need to use another method?


This is an rpc call that is implemented across clients and I doubt Parity has any plans to deprecate this, as it would break too many application.

There is however a strong desire to stop support for account management and hence most of the rpcs to do with account management have a deprecation notice.

You can view them here: https://github.com/paritytech/parity-ethereum/search?q=self.deprecation_notice.print&unscoped_q=self.deprecation_notice.print

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.