-
Notifications
You must be signed in to change notification settings - Fork 30
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
multi: update dex client #633
multi: update dex client #633
Conversation
Signed-off-by: Philemon Ukane <[email protected]>
Signed-off-by: Philemon Ukane <[email protected]>
Signed-off-by: Philemon Ukane <[email protected]>
Signed-off-by: Philemon Ukane <[email protected]>
I've noticed a few issues that I'm unable to resolve atm:
I think these issues arose after recent dropdown code changes and the gioui version update. |
I have solved it
|
0d95d17
to
1779424
Compare
1779424
to
756a6cf
Compare
#633 (comment) has been resolved by 756a6cf |
Signed-off-by: Philemon Ukane <[email protected]>
Signed-off-by: Philemon Ukane <[email protected]>
80e0a86
to
7b3143e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trading is not working on dextest, I'll look into why not.
Edit, I found the logs, and trading is working I forgot to build with an adjusted locktime
There aren't many logs, are the dex ones spitting out somewhere? The LTC logs are very loud though:
|
Seeing some weird stuff with bonds. It's spinning somewhere:
|
I've investigated this. dcrdex checks for bond rotation every Same thing happens when a newly expired bond is found. |
In my logs its logging 4 times per millisecond. It should only be once every 20 seconds correct? |
More odd logging, bot the number of times in a millisecond it happens and why it needs usdc.eth:
|
I put in some prints and it looks like |
Aha, thanks. that's the other place bondStateOfDex is being called causing the spamming logs. |
Signed-off-by: Philemon Ukane <[email protected]>
It looks like something else is still being hammered:
|
When I navigate to the dex onboarding page, it calls Seems it should calculate everything once and then use pointers to the results. Like, its's calculating the same bond amount 30 times here:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there's lots of room for optimizing code but otherwise I think it looks good. Can optimize now or later.
Signed-off-by: Philemon Ukane <[email protected]>
Closes #632