Commit d68dbf8
committed
Don't persist inbound committed onions in prod
A few PRs ago, we started persisting inbound committed HTLC onions in Channels.
These onions were persisted to lay groundwork for reconstructing the
ChannelManager's pending HTLC maps from them in a future version. However,
we've since discovered a different direction where we can instead reconstruct
these same maps using persistent monitor events, which may mean that we don't
need to persist these onions.
Since persisting a bunch of onions on every manager write is a big commitment
that we're not fully confident in yet, switch it off for now until we either
confirm the monitor events direction and can delete all this onion persisting
code OR realize that we definitely do need it.1 parent 4cbd074 commit d68dbf8
3 files changed
Lines changed: 18 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
540 | 540 | | |
541 | 541 | | |
542 | 542 | | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
548 | 547 | | |
549 | 548 | | |
550 | 549 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | | - | |
372 | | - | |
| 371 | + | |
373 | 372 | | |
374 | 373 | | |
375 | 374 | | |
| |||
7982 | 7981 | | |
7983 | 7982 | | |
7984 | 7983 | | |
7985 | | - | |
7986 | | - | |
| 7984 | + | |
| 7985 | + | |
| 7986 | + | |
7987 | 7987 | | |
7988 | 7988 | | |
7989 | 7989 | | |
| |||
15570 | 15570 | | |
15571 | 15571 | | |
15572 | 15572 | | |
| 15573 | + | |
15573 | 15574 | | |
15574 | 15575 | | |
15575 | 15576 | | |
| |||
15590 | 15591 | | |
15591 | 15592 | | |
15592 | 15593 | | |
15593 | | - | |
| 15594 | + | |
15594 | 15595 | | |
15595 | | - | |
| 15596 | + | |
| 15597 | + | |
15596 | 15598 | | |
15597 | 15599 | | |
15598 | 15600 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17600 | 17600 | | |
17601 | 17601 | | |
17602 | 17602 | | |
17603 | | - | |
| 17603 | + | |
| 17604 | + | |
17604 | 17605 | | |
17605 | | - | |
17606 | | - | |
17607 | | - | |
17608 | | - | |
17609 | | - | |
17610 | | - | |
17611 | | - | |
| 17606 | + | |
| 17607 | + | |
| 17608 | + | |
| 17609 | + | |
17612 | 17610 | | |
17613 | 17611 | | |
17614 | 17612 | | |
| |||
19636 | 19634 | | |
19637 | 19635 | | |
19638 | 19636 | | |
19639 | | - | |
19640 | 19637 | | |
19641 | 19638 | | |
19642 | 19639 | | |
| |||
0 commit comments