Skip to content
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

rpcserver: roll back #330 #354

Merged
merged 1 commit into from
Apr 19, 2022

Conversation

guggero
Copy link
Member

@guggero guggero commented Apr 11, 2022

To fix an accidental market segregation for lnd 0.14.x users that didn't
set an explicit channel type in their bid orders, we roll back the
changes from #330.
We can re-enable this default value selection once a large number of ask
orders support the new channel type.

Fixes #349.

To fix an accidental market segregation for lnd 0.14.x users that didn't
set an explicit channel type in their bid orders, we roll back the
changes from lightninglabs#330.
We can re-enable this default value selection once a large number of ask
orders support the new channel type.
@lightninglabs-deploy
Copy link
Collaborator

@Roasbeef: review reminder

Copy link
Member

@Roasbeef Roasbeef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ⛩

@Roasbeef
Copy link
Member

What if we also made this default commitment type be ChannelTypeScriptEnforced if neither side explicitly specified a type? This way we don't fragment the order book (this rollback), but can optimistically promote the latest channel type (script enforce in this case) from the PoV of the maker (the one opening the channel in the first place).

@guggero
Copy link
Member Author

guggero commented Apr 19, 2022

What if we also made this default commitment type be ChannelTypeScriptEnforced if neither side explicitly specified a type? This way we don't fragment the order book (this rollback), but can optimistically promote the latest channel type (script enforce in this case) from the PoV of the maker (the one opening the channel in the first place).

I think the problem with this is that we don't know if both nodes actually support the script enforced channel type on the lnd level. That's why we added this version based bump in the first place, to signal readiness. Or did I misunderstand what you meant?

@guggero guggero merged commit a272222 into lightninglabs:master Apr 19, 2022
@Roasbeef
Copy link
Member

I think the problem with this is that we don't know if both nodes actually support the script enforced channel type on the lnd level.

Assuming we can use the order versioning sent as a proxy, then I think that should work?

@guggero guggero deleted the rollback-default-channel-type branch September 23, 2022 09:31
positiveblue pushed a commit to positiveblue/pool that referenced this pull request Oct 11, 2022
…chans-created

venue: populate `NumChansCreated`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ask orders don't get fulfilled
4 participants