Feature - Add bitcoind/litecoind support to broker #265
Conversation
This is a pretty significant breaking change and for anyone that has a broker running will require pretty big changes (including re-syncing, etc). Can we note this as a breaking change somewhere and include some migration documentation? |
@treygriffith The changes should be minimal and should not require a lot of downtime. In the best-case scenario, the nodes for currencies (bitcoind/litecoind) should be interchangable as LND owns the wallet. You'll only be required to startup the bitcoind/litecoind nodes, get them synced, then change the docker config and you should be all set. Now in our case, if we swapped the instances, I would probably expect LND to yell about "Block out of order" and we'd have to remove the Either way, we will figure out a migration plan. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as soon as we have migration docs
Description
This adds litecoind/bitcoind support to the broker in the form of build commands.
All currency networks, other than simnet, make use of bitcoind/litecoind.
BREAKING CHANGE:
This PR may have unintended consequences when a user upgrades. This PR changes the default currency daemons from btcd/ltcd to bitcoind/litecoind.
Tasks:
docker-compose up -d
More information will be posted in changelog
Related PRs
sparkswap/lnd-engine#102
sparkswap/lnd-engine#100
https://github.com/sparkswap/relayer/pull/169
sparkswap/lnd#15
Todos