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 Pool user agent #58

Closed
wants to merge 7 commits into from
Closed

Add Pool user agent #58

wants to merge 7 commits into from

Conversation

guggero
Copy link
Owner

@guggero guggero commented Jan 27, 2021

Depends on lightninglabs/pool#211 and the merge of the pool-ui branch to master.

To make sure the correct user agent string is sent from accounts/orders
created by LiT, we compile in the referenced Pool commit.
To indicate to the server that an account/order was created by the LiT
integrated Pool daemon, we overwrite the global AgentName variable.
The latest version of the Pool protos contains the new initiator field
that we want to set when opening accounts or submitting orders.
Because the auctioneer proto file was moved to its own package, we also
have to fix a bunch of import paths.
Copy link
Contributor

@jamaljsr jamaljsr left a comment

Choose a reason for hiding this comment

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

tACK. Thanks for the quick turnaround 🙌

I ran it locally and see the UA in the http requests. LGTM

@guggero
Copy link
Owner Author

guggero commented Jan 28, 2021

Thanks for the review. Going to re-open this against the upstream repo.

@guggero guggero closed this Jan 28, 2021
@guggero guggero deleted the pool-user-agent branch January 28, 2021 08:21
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.

2 participants