-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Neutrino integration tests #1881
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
Neutrino integration tests #1881
Conversation
b6f4aa7 to
8560366
Compare
8560366 to
168ea16
Compare
|
App dependents merged, this can now be revived! |
92932b4 to
830925c
Compare
1de70f1 to
e26255f
Compare
0fbbbe6 to
08c7fc3
Compare
6b47f1d to
ae38e83
Compare
33620b3 to
c7c297f
Compare
|
Dependency merged, and comments addressed. PTAl @wpaulino |
wpaulino
left a comment
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 🧪
Glad to finally have these out. Needs one last rebase now that the Neutrino dependency update has been merged.
|
Ready to land after a rebase that removes the first commit! |
This commit gives the current chainbackend the ability to connect and disconnect the chain backend at will. We do this to let the chain backend initiate the connection to the miner, not the other way around. This is a preparation for using Neutrino as a backend, as it only allows making outbound connections. We must also move the setup of the chainbackend to after to miner, to know the address to connect to.
Defaults to running itests with btcd.
We slightly alter testUnconfirmedChannelFunding to instead of using an external deposit to test unconfirmed channel funding, we use one of our own unconfirmed change outputs. This is done since Neutrino currently has now way of knowing about incoming unconfirmed outputs.
Needed for neutrino itest on darwin.
c7c297f to
34032ef
Compare
|
Rebased. |
| } | ||
|
|
||
| // NewBackend starts and returns a NeutrinoBackendConfig for the node. | ||
| func NewBackend(miner string) (*NeutrinoBackendConfig, func(), error) { |
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.
Nice usage of the build tag here!
Roasbeef
left a comment
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 👒
This PR enables integration tests for Neutrino. It us currently blocked by a number of other PRs, but putting it put to make Travis comfortable with this new node type.
Blocked by: