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

Candidate for 5.0.17 release #2067

Merged
merged 66 commits into from
Dec 19, 2023
Merged

Candidate for 5.0.17 release #2067

merged 66 commits into from
Dec 19, 2023

Conversation

kushti and others added 30 commits October 11, 2023 18:41
Test for garbage-collecting utxo with invalid ergo tree
Change logging maxHistory to 1 week
Minor refactorings
Moved some scorex.core classes into org.ergoplatform

To simplify creation of alternative clients for Ergo.
val scanId = ScanId @@ scanIdInt.toShort
val considerUnconfirmed = minConfNum == -1
withWallet(_.scanUnspentBoxes(scanId, considerUnconfirmed, minHeight, maxHeight).map {
_.filter(boxConfirmationFilter(_, minConfNum, maxConfNum))
.slice(offset, offset + limit)
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't the slicing be pushed down to the data extraction stack?


val ASC: Direction = 1.asInstanceOf[Direction]
val DESC: Direction = 0.asInstanceOf[Direction]
val INVALID: Direction = (-1).asInstanceOf[Direction]
Copy link
Member

Choose a reason for hiding this comment

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

@ccellado, maybe .toByte would be more clean, don't you think?

Copy link
Member Author

Choose a reason for hiding this comment

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

removed asInstanceOf in e93daf0

@kushti kushti merged commit f48d3d5 into master Dec 19, 2023
4 checks passed
@kushti kushti deleted the v5.0.17 branch December 19, 2023 18:02
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

5 participants