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

Support loading a std-persisted ProbabilisticScorer in no-std #2539

Closed
TheBlueMatt opened this issue Aug 29, 2023 · 0 comments · Fixed by #2656
Closed

Support loading a std-persisted ProbabilisticScorer in no-std #2539

TheBlueMatt opened this issue Aug 29, 2023 · 0 comments · Fixed by #2656
Assignees
Milestone

Comments

@TheBlueMatt
Copy link
Collaborator

This is an important use-case for mobile wallets downloading a scorer from their LSP, and we currently "dont support" it, but it works fine (or should, afaict). We should clarify the comment #2526 (comment)

@TheBlueMatt TheBlueMatt added this to the 0.0.118 milestone Aug 29, 2023
TheBlueMatt added a commit to TheBlueMatt/rust-lightning that referenced this issue Oct 12, 2023
Now that the serialization format of `no-std` and `std`
`ProbabilisticScorer`s both just use `Duration` since UNIX epoch
and don't care about time except when decaying, we don't need to
warn users to not mix the scorers across `no-std` and `std` flags.

Fixes lightningdevkit#2539
@TheBlueMatt TheBlueMatt modified the milestones: 0.0.118, 0.0.119 Oct 12, 2023
TheBlueMatt added a commit to TheBlueMatt/rust-lightning that referenced this issue Nov 1, 2023
Now that the serialization format of `no-std` and `std`
`ProbabilisticScorer`s both just use `Duration` since UNIX epoch
and don't care about time except when decaying, we don't need to
warn users to not mix the scorers across `no-std` and `std` flags.

Fixes lightningdevkit#2539
@TheBlueMatt TheBlueMatt linked a pull request Nov 5, 2023 that will close this issue
@TheBlueMatt TheBlueMatt self-assigned this Nov 28, 2023
TheBlueMatt added a commit to TheBlueMatt/rust-lightning that referenced this issue Nov 29, 2023
Now that the serialization format of `no-std` and `std`
`ProbabilisticScorer`s both just use `Duration` since UNIX epoch
and don't care about time except when decaying, we don't need to
warn users to not mix the scorers across `no-std` and `std` flags.

Fixes lightningdevkit#2539
TheBlueMatt added a commit to TheBlueMatt/rust-lightning that referenced this issue Nov 29, 2023
Now that the serialization format of `no-std` and `std`
`ProbabilisticScorer`s both just use `Duration` since UNIX epoch
and don't care about time except when decaying, we don't need to
warn users to not mix the scorers across `no-std` and `std` flags.

Fixes lightningdevkit#2539
TheBlueMatt added a commit to TheBlueMatt/rust-lightning that referenced this issue Nov 29, 2023
Now that the serialization format of `no-std` and `std`
`ProbabilisticScorer`s both just use `Duration` since UNIX epoch
and don't care about time except when decaying, we don't need to
warn users to not mix the scorers across `no-std` and `std` flags.

Fixes lightningdevkit#2539
TheBlueMatt added a commit to TheBlueMatt/rust-lightning that referenced this issue Dec 5, 2023
Now that the serialization format of `no-std` and `std`
`ProbabilisticScorer`s both just use `Duration` since UNIX epoch
and don't care about time except when decaying, we don't need to
warn users to not mix the scorers across `no-std` and `std` flags.

Fixes lightningdevkit#2539
TheBlueMatt added a commit to TheBlueMatt/rust-lightning that referenced this issue Dec 6, 2023
Now that the serialization format of `no-std` and `std`
`ProbabilisticScorer`s both just use `Duration` since UNIX epoch
and don't care about time except when decaying, we don't need to
warn users to not mix the scorers across `no-std` and `std` flags.

Fixes lightningdevkit#2539
TheBlueMatt added a commit to TheBlueMatt/rust-lightning that referenced this issue Dec 6, 2023
Now that the serialization format of `no-std` and `std`
`ProbabilisticScorer`s both just use `Duration` since UNIX epoch
and don't care about time except when decaying, we don't need to
warn users to not mix the scorers across `no-std` and `std` flags.

Fixes lightningdevkit#2539
TheBlueMatt added a commit to TheBlueMatt/rust-lightning that referenced this issue Dec 9, 2023
Now that the serialization format of `no-std` and `std`
`ProbabilisticScorer`s both just use `Duration` since UNIX epoch
and don't care about time except when decaying, we don't need to
warn users to not mix the scorers across `no-std` and `std` flags.

Fixes lightningdevkit#2539
TheBlueMatt added a commit to TheBlueMatt/rust-lightning that referenced this issue Dec 9, 2023
Now that the serialization format of `no-std` and `std`
`ProbabilisticScorer`s both just use `Duration` since UNIX epoch
and don't care about time except when decaying, we don't need to
warn users to not mix the scorers across `no-std` and `std` flags.

Fixes lightningdevkit#2539
TheBlueMatt added a commit to TheBlueMatt/rust-lightning that referenced this issue Dec 13, 2023
Now that the serialization format of `no-std` and `std`
`ProbabilisticScorer`s both just use `Duration` since UNIX epoch
and don't care about time except when decaying, we don't need to
warn users to not mix the scorers across `no-std` and `std` flags.

Fixes lightningdevkit#2539
TheBlueMatt added a commit to TheBlueMatt/rust-lightning that referenced this issue Dec 13, 2023
Now that the serialization format of `no-std` and `std`
`ProbabilisticScorer`s both just use `Duration` since UNIX epoch
and don't care about time except when decaying, we don't need to
warn users to not mix the scorers across `no-std` and `std` flags.

Fixes lightningdevkit#2539
TheBlueMatt added a commit to TheBlueMatt/rust-lightning that referenced this issue Dec 13, 2023
Now that the serialization format of `no-std` and `std`
`ProbabilisticScorer`s both just use `Duration` since UNIX epoch
and don't care about time except when decaying, we don't need to
warn users to not mix the scorers across `no-std` and `std` flags.

Fixes lightningdevkit#2539
TheBlueMatt added a commit to TheBlueMatt/rust-lightning that referenced this issue Dec 13, 2023
Now that the serialization format of `no-std` and `std`
`ProbabilisticScorer`s both just use `Duration` since UNIX epoch
and don't care about time except when decaying, we don't need to
warn users to not mix the scorers across `no-std` and `std` flags.

Fixes lightningdevkit#2539
TheBlueMatt added a commit to TheBlueMatt/rust-lightning that referenced this issue Dec 13, 2023
Now that the serialization format of `no-std` and `std`
`ProbabilisticScorer`s both just use `Duration` since UNIX epoch
and don't care about time except when decaying, we don't need to
warn users to not mix the scorers across `no-std` and `std` flags.

Fixes lightningdevkit#2539
TheBlueMatt added a commit to TheBlueMatt/rust-lightning that referenced this issue Dec 15, 2023
Now that the serialization format of `no-std` and `std`
`ProbabilisticScorer`s both just use `Duration` since UNIX epoch
and don't care about time except when decaying, we don't need to
warn users to not mix the scorers across `no-std` and `std` flags.

Fixes lightningdevkit#2539
yellowred pushed a commit to yellowred/rust-lightning that referenced this issue Dec 19, 2023
Now that the serialization format of `no-std` and `std`
`ProbabilisticScorer`s both just use `Duration` since UNIX epoch
and don't care about time except when decaying, we don't need to
warn users to not mix the scorers across `no-std` and `std` flags.

Fixes lightningdevkit#2539
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 a pull request may close this issue.

1 participant