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
It would be very convenient if it were possible to configure a client using the default port and cookie file location for a particular network. For example, Client::with_network_and_host("localhost", Network::Bitcoin) would use localhost:8333 as the url, and DEFAULT_DATA_DIR/.cookie as the cookie file for auth.
The default port part is easy, since that's fixed for every network. The default data dir location is a little trickier, because that varies by OS, but it shouldn't be too bad.
The text was updated successfully, but these errors were encountered:
It would be very convenient if it were possible to configure a client using the default port and cookie file location for a particular network. For example,
Client::with_network_and_host("localhost", Network::Bitcoin)
would uselocalhost:8333
as the url, andDEFAULT_DATA_DIR/.cookie
as the cookie file for auth.The default port part is easy, since that's fixed for every network. The default data dir location is a little trickier, because that varies by OS, but it shouldn't be too bad.
The text was updated successfully, but these errors were encountered: