consensus/clique: implement getSigner API method (#22987)

* clique: implement getSignerForBlock

* consensus/clique: use blockNrOrHash in getSignerForBlock

* consensus/clique: implement getSigner

* consensus/clique: fixed rlp decoding

* consensus/clique: use Author instead of getSigner

* consensus/clique: nit nit nit

* consensus/clique: nit nit nit
This commit is contained in:
Marius van der Wijden
2021-07-13 13:40:22 +02:00
committed by GitHub
parent c49e065fea
commit b9e6e43722
2 changed files with 57 additions and 0 deletions

View File

@ -108,6 +108,12 @@ web3._extend({
call: 'clique_status',
params: 0
}),
new web3._extend.Method({
name: 'getSigner',
call: 'clique_getSigner',
params: 1,
inputFormatter: [null]
}),
],
properties: [
new web3._extend.Property({