Commit 72fa184
committed
Add a method to update the current
The `UserConfig` is used to set the default configuration on new
channels and also controls some global behavior in
`ChannelManager`, so should probably be updatable without
restarting the node. Here we add such a method.
We also take this opportunity to rename the `UserConfig` related
methods and update their docs since `UserConfig` has been more than
just the default configuration for new channels for some time.
Fixes lightningdevkit#2420UserConfig in ChannelManager
1 parent 1bae740 commit 72fa184
File tree
5 files changed
+15
-8
lines changed- lightning/src/ln
5 files changed
+15
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3801 | 3801 | | |
3802 | 3802 | | |
3803 | 3803 | | |
3804 | | - | |
3805 | | - | |
| 3804 | + | |
| 3805 | + | |
| 3806 | + | |
3806 | 3807 | | |
3807 | 3808 | | |
3808 | 3809 | | |
| 3810 | + | |
| 3811 | + | |
| 3812 | + | |
| 3813 | + | |
| 3814 | + | |
| 3815 | + | |
3809 | 3816 | | |
3810 | 3817 | | |
3811 | 3818 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
866 | 866 | | |
867 | 867 | | |
868 | 868 | | |
869 | | - | |
| 869 | + | |
870 | 870 | | |
871 | 871 | | |
872 | 872 | | |
| |||
1651 | 1651 | | |
1652 | 1652 | | |
1653 | 1653 | | |
1654 | | - | |
| 1654 | + | |
1655 | 1655 | | |
1656 | 1656 | | |
1657 | 1657 | | |
| |||
1830 | 1830 | | |
1831 | 1831 | | |
1832 | 1832 | | |
1833 | | - | |
| 1833 | + | |
1834 | 1834 | | |
1835 | 1835 | | |
1836 | 1836 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1776 | 1776 | | |
1777 | 1777 | | |
1778 | 1778 | | |
1779 | | - | |
| 1779 | + | |
1780 | 1780 | | |
1781 | 1781 | | |
1782 | 1782 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
| 326 | + | |
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| |||
0 commit comments