Activate lightwalletd RPCs in Docker image when RPC port is set #7166
Labels
A-devops
Area: Pipelines, CI/CD and Dockerfiles
A-rpc
Area: Remote Procedure Call interfaces
C-bug
Category: This is a bug
I-usability
Zebra is hard to understand or use
Motivation
Some users might want to use the Docker image with
lightwalletd
, but without configuringgetblocktemplate-rpcs
. So let's work out how to do that!Previously, the Dockerfile only activated the RPC port when it was set, but I agree that doesn't make sense with
getblocktemplate-rpcs
:8c90f65#diff-5b838857fc3410c2438196effdbdcffae6548bdba431a4a938e76a0be62d008eL49
So we might want logic like:
getblocktemplate-rpcs
is activated, activate the default RPC port if it is unsetThis covers the 3 different use cases of mining, light wallet, and no RPCs.
Originally posted by @teor2345 in #7162 (review)
The text was updated successfully, but these errors were encountered: