You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
bitcoind adds the wallet to the URL for a bunch of API calls (eg getnewaddress) for example:
http://localhost:1234/wallet/<wallet-name>
However it is not possible to modify a Client's url (inside Transport), it would be sweet if when implementing an RPC client usingjsonrpc one could do something like
let client = Client::new();let wallet = client.create_wallet()?;let wallet_client = client.use_wallet(&wallet);let address = wallet_client.get_new_address()?;// Original client still usablelet another_wallet = client.some_other_non_wallet_api_call()?;
The text was updated successfully, but these errors were encountered:
tcharding
changed the title
Client url cannot be modifiedClient URL cannot be modified
May 29, 2024
bitcoind
adds the wallet to the URL for a bunch of API calls (eggetnewaddress
) for example:http://localhost:1234/wallet/<wallet-name>
However it is not possible to modify a
Client
's url (insideTransport
), it would be sweet if when implementing an RPC client usingjsonrpc
one could do something likeThe text was updated successfully, but these errors were encountered: