-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support regtest #707
base: main
Are you sure you want to change the base?
Support regtest #707
Conversation
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.
Awesome! I'll give it a test. It looks like the UDL is missing LiquidNetwork::Regtest
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.
These are the errors I got running locally. After fixing the ones below I eventually got:
Error response from daemon: failed to mount local volume: mount ./data/mempool-db:/var/lib/docker/volumes/mempool-db-data/_data, flags: 0x1000: no such file or directory
56812c6
to
00fda3e
Compare
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.
Tested ACK (needs a rebase).
It would be good to see (in a followup PR) a more detailed guide, maybe running though the life of a payment end-to-end.
c27996f
to
f14f557
Compare
f14f557
to
3960524
Compare
3960524
to
88c09fc
Compare
This PR is a first step towards #635. It doesn't provide any tests, but it already provides value as it allows using the CLI to manually test most (if not all - haven't fully tested) types of payments supported by the SDK. This is especially useful for chain swaps, as up until now we have been testing on mainnet, given the high fees on testnet3.
Changes:
startup is a bit finicky and sometimes fails)See the
regtest/README.md
for how to start and use the test setup.I've tested basic cases (Sending and receiving to/from BTC address and sending and receiving using bolt11) and these have worked fine.