Commit 90521f3
committed
Persist LSPS2 get_info responses
Reuse opening fee offers while they remain valid and match the
configured LSP token. This avoids repeated LSPS2 round trips across
node restarts while retaining a fresh-response fallback.
Evict cached offers when a buy request fails so a retry fetches
updated parameters.
This commit was created with assistance from OpenAI Codex.1 parent 1cc60c8 commit 90521f3
3 files changed
Lines changed: 538 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
| |||
0 commit comments