pokt-network / poktroll

The official Shannon upgrade implementation of the Pocket Network Protocol implemented using Rollkit.dev
MIT License
15 stars 6 forks source link

[RelayMiner] Support https backend urls #507

Closed red-0ne closed 2 months ago

red-0ne commented 2 months ago

Summary

Make RelayMiner support forwarding relay requests to https backends.

It infers the protocol to use from the backend_url schema and constructs the appropriate client.

Updates the RelayMiner config parser and make it accept https backend urls.

Issue

The RelayMiner is not capable of forwarding relay requests to https backend_urls, which is a quite widespread setup among node runners.

https://github.com/pokt-network/poktroll/issues/499#issuecomment-2078487122

image

Type of change

Select one or more:

Testing

Local Testing (only if making code changes)

PR Testing (only if making code changes)

Sanity Checklist