Closed Nelbert442 closed 9 months ago
Tested successfully against a node with wss:// prefix using the following parameter: --daemon-address=wss://<node_ip>
Updated explorer to add support for same prefixes
e.g. go run explorer.go --daemon-address=wss://<someaddress>:40402 --http-address=0.0.0.0:8853
Description
This change will allow walletapi package calls to leverage the Connect() function to more appropriately connect to various defined endpoints (whether via the endpoint parameter or defined in --daemon-address params).
Supported prefix endpoint uris:
If endpoint is not defined within the Connect() call, such as in walletapi.Keep_Connectivity(), then the default will be utilized (127.0.0.1:xxxx) or if an argument was passed into globals then it will be used (whichever is returned from get_daemon_address().
Type of change
Please select the right one.
Which part is impacted ?
Checklist:
License
Im am contributing & releasing the code under DERO Research License (which can be found here).