Rusty Russell
e39c80bf8b
lightningd: simplify datastore internal db API.
...
The wallet_datastore_first() SELECT statement only iterates from the
given key (if any), relying on the caller to notice when the key no
longer applies. (e.g. startkey = ["foo", "bar"] will return key
["foo", "bar"] then ["foo", "bar", "child" ], then ["foo", "baz"]).
The only caller (listdatastore) would notice the keychange and stop
looping, but reallly wallet_datastore_next() should do this. When I
tried to use it for migrations, I got very confused!
Also, several places want a simple "wallet_datastore_get()" function,
so provide that.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2023-07-25 14:47:12 +09:30
..
2023-07-25 14:47:12 +09:30
2021-10-28 15:51:38 +02:00
2023-07-11 11:41:15 +09:30
2023-06-29 11:28:47 -04:00
2023-07-19 19:13:57 +09:30
2023-07-19 19:13:57 +09:30
2023-07-22 13:11:08 +09:30
2023-07-19 19:13:57 +09:30
2023-07-25 10:49:34 +09:30
2023-07-22 13:11:08 +09:30
2023-03-25 15:28:02 +10:30
2023-07-22 13:11:08 +09:30
2023-07-22 13:11:08 +09:30
2023-03-25 15:28:02 +10:30
2023-03-25 15:28:02 +10:30
2023-07-22 13:11:08 +09:30
2022-09-16 12:31:45 +09:30
2023-01-21 08:05:31 -06:00
2022-02-07 13:02:09 +10:30
2023-07-09 16:49:48 +09:30
2023-07-09 16:49:48 +09:30
2023-02-05 20:40:47 +01:00
2023-07-25 14:47:12 +09:30
2023-07-11 11:41:15 +09:30
2023-01-13 10:42:42 +10:30
2023-07-09 16:49:48 +09:30
2023-04-10 07:31:12 +09:30
2023-03-18 15:55:49 +10:30
2022-09-24 15:22:27 +09:30
2023-06-29 11:28:47 -04:00
2023-04-10 17:26:47 +09:30
2022-10-26 11:29:06 +10:30
2022-10-26 11:29:06 +10:30
2023-04-07 21:22:56 +09:30
2020-09-08 09:42:00 +09:30
2023-07-23 13:48:37 +09:30
2023-07-23 13:48:37 +09:30
2022-03-05 15:03:34 +10:30
2019-05-31 17:57:10 +02:00
2023-07-19 19:13:57 +09:30
2023-07-19 19:13:57 +09:30
2023-07-25 14:47:12 +09:30
2023-07-23 13:48:37 +09:30
2023-07-19 19:13:57 +09:30
2023-07-19 19:13:57 +09:30
2023-07-19 19:13:57 +09:30
2023-07-19 19:13:57 +09:30
2023-07-23 13:48:37 +09:30
2023-04-10 17:26:47 +09:30
2022-03-10 09:40:09 +10:30
2023-07-13 18:59:37 +09:30
2022-09-19 10:18:55 +09:30
2023-04-10 17:26:47 +09:30
2023-07-11 11:41:15 +09:30
2021-12-28 04:42:42 +10:30
2023-01-30 13:24:29 +10:30
2021-12-01 05:44:28 +10:30
2023-07-19 19:13:57 +09:30
2023-07-19 19:13:57 +09:30
2023-07-22 13:11:08 +09:30
2023-01-13 10:42:42 +10:30
2023-07-19 19:13:57 +09:30
2023-06-20 20:08:25 +09:30
2023-07-24 09:05:40 +09:30
2022-09-19 10:18:55 +09:30
2023-07-22 13:11:08 +09:30
2023-07-22 08:52:55 +09:30
2022-02-08 11:15:52 +10:30
2022-02-08 11:15:52 +10:30
2023-07-09 16:49:48 +09:30
2023-01-17 14:13:45 +10:30
2022-07-15 12:24:00 -05:00
2022-09-16 12:31:45 +09:30
2021-06-25 09:49:33 +09:30
2023-07-19 19:13:57 +09:30
2022-09-16 12:31:45 +09:30
2023-07-19 19:13:57 +09:30
2023-07-19 19:13:57 +09:30
2022-08-09 16:31:36 -05:00
2021-06-16 10:29:17 +09:30
2023-07-25 14:47:12 +09:30
2023-07-25 14:47:12 +09:30
2023-04-10 17:26:47 +09:30
2023-07-24 16:30:31 +02:00
2023-07-19 19:13:57 +09:30
2023-07-23 13:48:37 +09:30
2023-07-23 13:48:37 +09:30
2023-07-19 19:13:57 +09:30
2022-08-31 12:18:28 +03:00