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

dex/networks/ltc: witness limits fixes and decoder simplifications #2299

Merged
merged 2 commits into from Apr 19, 2023

Conversation

chappjc
Copy link
Member

@chappjc chappjc commented Apr 14, 2023

ltcsuite is adopting our MW tx deserialization code, and it revealed a small usability issue with the decoder API, which this fixes.

This also updates the maxWitnessItemsPerInput and maxWitnessItemSize to match the current values following the btcsuite backports in ltcsuite/ltcd#25

Override the Read implementing io.Reader and make it do the mirroring.
Any read will cause mirroring now automatically.
@chappjc chappjc modified the milestone: 0.6.1 Apr 14, 2023
Copy link
Member

@buck54321 buck54321 left a comment

Choose a reason for hiding this comment

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

ltcsuite is adopting our MW tx deserialization code

Nice!

This is testing well on loadbot, simnet trade tests, and TestOnlineDeserializeBlock, as well as manual self trading.

@chappjc
Copy link
Member Author

chappjc commented Apr 19, 2023

Nice!

They're still just throwing a way the MW tx haha, but yup, very cool

This is testing well on loadbot, simnet trade tests, and TestOnlineDeserializeBlock, as well as manual self trading.

Thanks for testing it so thoroughly.

@chappjc chappjc merged commit 493e764 into decred:master Apr 19, 2023
5 checks passed
@chappjc chappjc deleted the ltc-update branch April 19, 2023 15:36
@chappjc chappjc added this to the 0.6.1 milestone Apr 21, 2023
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.

None yet

2 participants