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

Add new QuoteOrder RPC #252

Merged
merged 4 commits into from
May 6, 2021
Merged

Add new QuoteOrder RPC #252

merged 4 commits into from
May 6, 2021

Conversation

guggero
Copy link
Member

@guggero guggero commented May 5, 2021

Fixes #96.

Moves the order details/quote calculation from the CLI to a new RPC.

cc @jamaljsr.

guggero added 4 commits May 5, 2021 15:55
We port over the order quote calculation from the CLI to the order
package so we can also offer the same calculation over RPC.
We create an RPC wrapper around the new order.NewQuote function with the
goal of replacing the calculation that currently only exists in the CLI
with an actual RPC call.
With the same order quote calculation now available as an RPC, we no
longer need to do the calculation in the CLI code and can instead use
the new QuoteOrder call.
@guggero guggero requested review from halseth and wpaulino May 5, 2021 14:03
Copy link
Contributor

@halseth halseth left a comment

Choose a reason for hiding this comment

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

Code looks good! ✅

Goanna optimistically merge this, then let @jamaljsr check whether it has everything necessary.

@halseth halseth merged commit 4e560b6 into lightninglabs:master May 6, 2021
@guggero guggero deleted the quote-order branch May 6, 2021 09:54
@jamaljsr
Copy link
Member

jamaljsr commented May 6, 2021

Confirmed this RPC give me everything I need for the UI. Great work @guggero 🥇

positiveblue pushed a commit to positiveblue/pool that referenced this pull request Oct 11, 2022
…buckets

monitoring: use lesser set of exponentially increasing buckets
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.

feature request: QuoteOrder
4 participants