I have going a PoA network, and everything looks like it works. But I cannot get clique to show up in geth.

> clique
ReferenceError: 'clique' is not defined
    at <anonymous>:1:1

Has anyone any idea about the cause of this?

| improve this question | | | | |
  • Can you please elaborate you question? How to recreate the scenario? – shantanu chandra Sep 1 '18 at 10:37

It needs IPC on the geth connection.

| improve this answer | | | | |

Try removing geth folder from the data folder. Then re-initialise genesis.json to data folder. If your data folder is node1/

geth --datadir node1/ init genesis.json

Test you setup after running the node using geth. Connect to ipc

geth attach ipc:node1/geth.ipc

Check clique after successful connection. Please make sure geth.ipc is there in node1/ folder

| 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.