qiyichain / peculiar

Golang implemention of Qiyi chain which is a high-performance permissioned public chain
https://qiyichain.cn
GNU Lesser General Public License v3.0
3 stars 1 forks source link

PR: add eth_checkWhitelist rpc implemention #11

Closed youngqqcn closed 2 years ago

youngqqcn commented 2 years ago

add eth_checkWhitelist rpc implemention for #10

teslapatrick commented 2 years ago

非posa engine的节点,应该也不用查

googgoog commented 2 years ago

。good

---Original--- From: @.> Date: Mon, Aug 22, 2022 21:14 PM To: @.>; Cc: @.>;"Review @.>; Subject: Re: [qiyichain/peculiar] PR: add eth_checkWhitelist rpc implemention (PR #11)

非posa engine的节点,应该也不用查

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because your review was requested.Message ID: @.***>

youngqqcn commented 2 years ago
curl  -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"eth_checkWhitelist","params":["0xf513e4e5Ded9B510780D016c482fC158209DE9AA"],"id":1}' 172.16.100.104:8545 -s | jq

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": true
}