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?