0

If I am running a bitcoin node, and for example I run a sendtoaddress cli command, is it easy for anybody to see what IP that command came from initially

1
  • 2
    usually nodes allow rpc calls only from 127.0.0.1 or from whitelisted ip addresses
    – amaclin
    Commented Aug 4, 2018 at 19:55

1 Answer 1

2

Yes, it is. If the node is running with -debug=rpc, then all RPC events will be logged, including RPC commands and where they came from.

Note that Bitcoin nodes do not communicate over RPC nor is the RPC interface typically exposed to the internet. Furthermore, the RPC interface is authenticated; connecting to it and being able to send a command requires knowing the username and password configured for that node.

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.