Mist is an interesting wallet. I want to know all messages that Mist sends to geth, and receives from geth. Because to sniff the messages between Mist and geth is too inconvenient, my idea is to modify the source code of Mist, and then compiles/runs it.

How can I modify the source code of Mist to dump all messages communicated with geth?

Is it possible to give a parameter to enable Mist to dump all messages communicated with geth?

1 Answer 1


If you don't mind working on a testnet, there's actually a very easy way to do this!

Testrpc will happily print every RPC call it receives on the terminal. By setting mist to use testrpc you can see not only every RPC call, but even details of gas usage.

  • Thanks to Matthew's answer. In fact, my goal is to use Mist for a specific private-net. Commented Nov 22, 2016 at 10:04
  • I have tested testrpc. The testrpc shows every jsonrpc's method, but not show params. How to show method as well as params? Commented Nov 23, 2016 at 7:50
  • I don't think testrpc has an option to show params per se. However, it might be easier to modify the code to do so--this appears to be the section. Commented Nov 23, 2016 at 13:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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