Skip to content

RFQ modifications derived from the tap channels proof-of-concept #904

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

Merged
merged 21 commits into from
May 21, 2024

Conversation

ffranr
Copy link
Contributor

@ffranr ffranr commented May 16, 2024

This PR incorporates changes to the RFQ service based on the tap channels proof-of-concept code.

@ffranr ffranr self-assigned this May 16, 2024
@ffranr ffranr added the rfq label May 16, 2024
@ffranr ffranr changed the title RFQ modifications derived from the tap channel proof-of-concept RFQ modifications derived from the tap channels proof-of-concept May 16, 2024
@ffranr
Copy link
Contributor Author

ffranr commented May 16, 2024

I still need to unpack the WIP: rfq commit.

@ffranr ffranr force-pushed the rfq-poc-modifications branch 2 times, most recently from 6c3e7ea to 3a3de0b Compare May 17, 2024 15:43
@ffranr ffranr marked this pull request as ready for review May 17, 2024 15:44
@ffranr ffranr requested review from guggero and GeorgeTsagk May 17, 2024 15:44
@dstadulis dstadulis added this to the v0.4 milestone May 17, 2024
Copy link
Member

@guggero guggero left a comment

Choose a reason for hiding this comment

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

Very nice PR, well done! Super easy to review.
A couple of small-is things, think this is super close already 💯

ffranr added 8 commits May 20, 2024 11:28
This test is disabled until we can set the `WireCustomRecords` field
in the `UpdateAddHtlc` p2p message first hop.
- Bump lnd to commit 7953d67dbc28.
- Bump lndclient to commit cd497ef6.
- Bump lnd/tlv to commit v1.2.6.
We add the asset ID field as a workaround for RFQ session persistence.
We add the asset ID field as a workaround for RFQ session persistence.
This method will allow us to derive a TLV record from an RFQ ID.
ffranr and others added 6 commits May 21, 2024 00:27
This commit is a temporary simplification that allows the channels
proof-of-concept to function.
This commit also sets a timeout which was previously missing.
This commit introduces code allowing the RFQ order manager to inspect
htlc custom records and determine if asset balance modifications comply
with the corresponding agreed RFQ quote.
This commit modifies the RPC endpoints `AddAssetBuyOrder` and
`AddAssetSellOrder` such that they are blocking. A timeout parameter is
also added to each endpoint.
@ffranr ffranr force-pushed the rfq-poc-modifications branch from 3a3de0b to 2219033 Compare May 20, 2024 23:33
@ffranr ffranr requested review from guggero and GeorgeTsagk May 21, 2024 03:25
Copy link
Member

@guggero guggero left a comment

Choose a reason for hiding this comment

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

Very nice, awesome work! LGTM 🎉

Copy link
Member

@GeorgeTsagk GeorgeTsagk left a comment

Choose a reason for hiding this comment

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

Lgtm!

@guggero guggero added this pull request to the merge queue May 21, 2024
github-merge-queue bot pushed a commit that referenced this pull request May 21, 2024
RFQ modifications derived from the tap channels proof-of-concept
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 21, 2024
@guggero guggero added this pull request to the merge queue May 21, 2024
@guggero guggero removed this pull request from the merge queue due to a manual request May 21, 2024
@guggero guggero added this pull request to the merge queue May 21, 2024
Merged via the queue into main with commit db8f681 May 21, 2024
14 checks passed
@guggero guggero deleted the rfq-poc-modifications branch May 21, 2024 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

4 participants