2

Is it possible to send some commands to Bitcoin Peers? for example decoderawtransaction command?

2
  • There are plenty of libraries that will decode a raw transaction as well, you don't have to go to a full node to do that.
    – morsecoder
    Commented Jan 26, 2018 at 20:24
  • it is not the main reason, it is just an example.
    – Tailer
    Commented Jan 27, 2018 at 0:11

1 Answer 1

0

The RPC interface of most nodes is password protected, so you can't send RPC commands to an arbitrary peer on the network. If you run your own node though, you can set it up with a password and the the RPC protocol to issue commands.

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.