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

libdexc: upgrade to v1 dcrdex and initialize market maker #3959

Merged
merged 2 commits into from
Aug 26, 2024

Conversation

buck54321
Copy link
Member

@alexlyp I think you were already looking at the upgrade part, but the market maker initialization wasn't obvious. I've also flipped the new switch to use dcrdex branding in Decrediton.

This currently points to the tip of the release-v1.0 branch. This will build with Go 1.23 now. There will be a couple more commits on that branch before release. I can update later, or you can update if you were working separately on the upgrade.

@buck54321
Copy link
Member Author

Updated to tip of release-v1.0 and squashed. I don't expect any more substantive changes.

c.wg.Add(1)
go func() {
defer c.wg.Done()
ccore.Run(c.ctx)
}()
<-ccore.Ready()

mmCM := dex.NewConnectionMaster(c.mm)
if err := mmCM.ConnectOnce(c.ctx); err != nil {
return fmt.Errorf("Error connecting market maker")
Copy link
Member

Choose a reason for hiding this comment

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

Capitalized error return.

@alexlyp alexlyp merged commit 38a1ee7 into decred:master Aug 26, 2024
1 check passed
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.

3 participants