Post
Topic
Board Development & Technical Discussion
Re: How to import many priv keys in one query
by
NotATether
on 14/06/2022, 05:04:05 UTC
Why don't you loop importprivkey?

Since this executes the RPC server for each private key though, it's going to slow down once you reach a hundred PKs or so, especially if your node is somewhere far away n the public internet (then latency also has to be considered).

Quote
I'd make sure I connect to my Bitcoin server via a secure transfer protocol, because there's sensitive info transferred.

The only option would be calling it via an .onion address on Tor, since even the RPC password is sent unencrypted. It is indeed unsafe to issue any RPC call with plain HTTP because of the unencrypted password.