Ryan Ofsky
a5986e82dd
refactor: Remove CAddressBookData::destdata
...
This is cleanup that doesn't change external behavior.
- Removes awkward `StringMap` intermediate representation
- Simplifies CWallet code, deals with used address and received request
serialization in walletdb.cpp
- Adds test coverage and documentation
- Reduces memory usage
This PR doesn't change externally observable behavior. Internally, only change
in behavior is that EraseDestData deletes directly from database because the
`StringMap` is gone. This is more direct and efficient because it uses a single
btree lookup and scan instead of multiple lookups
Motivation for this cleanup is making changes like #18550 , #18192 , #13756
easier to reason about and less likely to result in unintended behavior and
bugs
Co-authored-by: furszy <matiasfurszyfer@protonmail.com >
2023-04-12 05:30:43 -04:00
..
2023-04-11 14:05:55 -04:00
2023-03-23 12:55:18 +01:00
2023-04-03 14:44:48 +01:00
2023-02-06 13:56:51 -05:00
2022-08-13 13:55:38 +01:00
2023-02-15 14:58:47 +00:00
2023-04-03 14:41:22 +01:00
2023-04-03 14:41:22 +01:00
2023-04-11 15:55:31 -04:00
2023-03-23 12:55:18 +01:00
2023-03-23 12:55:18 +01:00
2022-09-29 16:43:30 +01:00
2023-01-31 18:48:50 +01:00
2022-10-23 15:03:04 +01:00
2023-04-03 14:41:22 +01:00
2023-03-23 12:55:18 +01:00
2022-12-24 23:49:50 +00:00
2023-04-11 15:55:31 -04:00
2023-04-03 14:41:22 +01:00
2023-03-31 17:27:19 +02:00
2023-03-08 17:41:24 -05:00
2023-02-23 17:58:40 -05:00
2023-04-11 16:17:04 +01:00
2023-03-03 15:23:43 +01:00
2023-04-03 14:41:22 +01:00
2023-04-12 05:30:43 -04:00
2023-03-26 20:17:46 +01:00
2022-04-26 10:43:33 +01:00
2023-03-26 20:18:13 +01:00
2023-03-23 12:55:18 +01:00
2023-03-23 12:55:18 +01:00
2023-01-26 18:11:13 -05:00
2023-02-17 13:34:40 -05:00
2023-02-01 10:18:08 -05:00
2022-12-24 23:49:50 +00:00
2023-02-01 11:33:35 +01:00
2022-12-24 23:49:50 +00:00
2023-03-23 12:55:18 +01:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-03-16 13:56:35 +00:00
2023-03-26 20:17:55 +01:00
2023-03-23 12:55:18 +01:00
2023-03-26 20:17:55 +01:00
2023-03-13 17:09:47 +01:00
2023-03-13 17:09:47 +01:00
2023-01-26 10:44:05 +01:00
2023-02-15 14:42:28 -08:00
2023-01-31 19:34:35 +01:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-01-05 09:05:14 +00:00
2023-03-15 16:43:31 +01:00
2023-03-15 16:43:31 +01:00
2022-09-09 10:07:39 +02:00
2023-03-21 13:04:21 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-02-02 09:00:15 -05:00
2023-02-02 09:00:15 -05:00
2023-02-03 18:15:42 +01:00
2023-01-26 10:44:05 +01:00
2023-02-03 18:15:42 +01:00
2023-01-31 11:50:10 +00:00
2023-03-23 12:55:18 +01:00
2023-03-23 12:55:18 +01:00
2023-03-15 16:42:42 +01:00
2023-03-15 16:42:42 +01:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-02-01 11:33:35 +01:00
2023-02-01 11:33:35 +01:00
2023-03-23 12:52:00 +01:00
2023-04-03 14:41:22 +01:00
2022-12-24 23:49:50 +00:00
2023-01-30 15:57:12 +00:00
2022-12-12 21:06:04 +00:00
2022-12-12 21:06:04 +00:00
2023-02-17 13:34:40 -05:00
2023-03-06 19:35:59 -05:00
2022-12-24 23:49:50 +00:00
2023-03-23 12:55:18 +01:00
2023-03-23 12:55:18 +01:00
2023-04-03 14:41:22 +01:00
2022-12-24 23:49:50 +00:00
2023-01-17 18:31:51 +01:00
2023-01-31 19:34:35 +01:00
2023-01-31 11:50:10 +00:00
2023-04-05 11:50:27 +01:00
2023-03-23 12:55:18 +01:00
2023-04-11 15:52:25 -04:00
2022-11-15 19:23:39 -05:00
2022-04-26 16:25:38 -04:00
2022-06-23 15:33:01 +02:00
2022-07-21 10:42:09 +01:00
2023-02-27 13:53:29 +00:00
2022-09-13 17:15:17 +01:00
2022-09-13 17:15:17 +01:00
2022-11-17 14:52:45 +00:00
2023-02-17 17:28:14 -05:00
2023-04-11 16:17:04 +01:00
2023-02-17 13:34:40 -05:00
2023-01-28 15:24:13 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-04-11 11:43:21 +01:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-04-03 14:41:22 +01:00
2023-03-27 16:00:02 +02:00
2023-02-17 13:34:40 -05:00
2023-02-17 13:34:40 -05:00
2023-03-13 17:09:54 +01:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-02-16 10:01:33 +00:00
2023-02-16 09:39:50 +00:00
2023-01-13 09:40:57 +00:00
2023-01-13 09:40:57 +00:00
2023-03-02 14:48:28 +01:00
2023-02-15 14:58:47 +00:00
2023-04-03 14:44:48 +01:00
2023-03-15 19:39:30 -04:00
2023-01-12 13:42:44 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-01-31 11:50:10 +00:00
2023-02-28 12:04:47 -05:00
2023-01-31 11:50:10 +00:00
2023-02-02 10:47:37 +00:00
2023-01-25 09:33:26 +01:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-01-31 11:50:10 +00:00
2023-02-17 13:34:40 -05:00
2023-03-23 12:55:18 +01:00
2023-03-13 17:09:54 +01:00
2023-03-23 12:55:18 +01:00
2023-03-20 12:42:24 -04:00
2023-02-01 11:33:35 +01:00
2023-01-26 10:36:18 +00:00
2023-01-26 10:36:18 +00:00
2022-12-10 14:34:44 -06:00
2023-02-06 13:56:51 -05:00
2023-04-03 14:41:22 +01:00
2023-04-03 14:41:22 +01:00
2023-02-01 11:33:35 +01:00
2023-01-05 09:05:14 +00:00
2023-01-03 19:31:29 -06:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00