What is the ipc for?

starstarstarstar Member Posts: 19
It apparently becomes important when I want to attach a console to a running node. When running a testnet node in a datadir ("~/testnet/"), should I place a (empty) file in "~/testnet/" and invoke using
geth --testnet ipc:"~/testnet/geth.ipc" attach console
?

Comments

  • o0ragman0oo0ragman0o Member, Moderator Posts: 1,291 mod
    @starstar Look for the ipc path when you first start geth. Use that path to attach. IPC (interprocess communication) is the local pipe between your client and UI and is only local to your host. It exports all the managment API's while RPC (remote procedure call) only exports the publicly safe API's by default
Sign In or Register to comment.