Authenticate by providing a username and password.
If you are connecting to a local bitcoind you
should instead use cookie based authentication.
If you are connecting to a remote bitcoind, you
should use the Bitcoin Core-provided script
rpcauth.py to generate credentials. This will
give you a rpcauth=... string you can put in
your remote bitcoind configuration, as well as
a set of rpcuser=... and rpcpassword=... you
can put in your local bitcoin.conf configuration
file or provide directly to this class.
See also
rpcauth.py,
canonical Python script provided by Bitcoin Core to generate the
auth credentials.
Authenticate by providing a username and password. If you are connecting to a local
bitcoind
you should instead use cookie based authentication. If you are connecting to a remotebitcoind
, you should use the Bitcoin Core-provided scriptrpcauth.py
to generate credentials. This will give you arpcauth=...
string you can put in your remotebitcoind
configuration, as well as a set ofrpcuser=...
andrpcpassword=...
you can put in your localbitcoin.conf
configuration file or provide directly to this class.rpcauth.py, canonical Python script provided by Bitcoin Core to generate the auth credentials.