Karl-Johan Alm
54011e7aa2
refactor: use CWallet const shared pointers when possible
...
While const shared_ptr<X> gives us an immutable shared pointer to a mutable X (we can't set it to some other X later), shared_ptr<const X> gives us a shared pointer to an immutable X. Importantly, we can recast shared_ptr<X> into shared_ptr<const X>, but not the other way around. We do this for two reasons: because it makes the code safer to guarantee the wallet is not modified, and because it further dispells the misconception that const shared_ptr<X> gives immutability to X.
2021-10-25 16:12:21 +09:00
..
2021-10-22 15:14:07 +02:00
2021-10-05 11:10:37 +02:00
2021-10-16 13:35:57 -07:00
2021-09-29 14:10:29 +02:00
2021-10-20 11:54:03 +05:30
2021-10-12 14:36:51 +13:00
2021-10-05 11:10:47 -04:00
2021-10-13 07:19:13 +02:00
2021-10-05 11:10:47 -04:00
2021-10-21 16:26:59 +01:00
2021-10-21 16:26:59 +01:00
2021-10-22 12:32:16 +02:00
2021-10-25 16:12:19 +09:00
2021-10-21 16:26:59 +01:00
2021-09-30 07:41:57 +08:00
2021-10-20 18:36:40 -04:00
2021-10-22 17:16:58 +02:00
2021-10-11 20:45:56 +08:00
2021-10-19 12:28:13 +02:00
2021-10-25 16:12:21 +09:00
2021-09-27 06:57:20 -04:00
2021-10-05 11:10:47 -04:00
2021-09-28 22:21:10 -04:00
2021-09-28 22:21:10 -04:00
2021-10-22 13:55:05 +02:00
2021-09-28 22:21:10 -04:00
2021-10-05 11:10:37 +02:00
2021-10-20 15:52:54 +02:00
2021-10-12 12:45:55 +02:00
2021-10-01 13:51:10 +00:00
2021-10-20 15:52:08 +02:00
2021-10-14 17:49:52 +05:30
2021-10-01 13:51:10 +00:00
2021-10-05 10:42:34 +02:00
2021-10-11 09:17:28 +02:00
2021-10-05 10:42:34 +02:00
2021-10-15 10:01:56 +02:00
2021-09-30 12:06:27 +13:00
2021-10-05 11:10:47 -04:00
2021-10-22 04:03:45 +03:00
2021-10-05 11:10:47 -04:00
2021-10-05 23:53:33 +02:00
2021-10-04 22:45:43 +02:00
2021-10-05 11:10:47 -04:00
2021-10-05 11:10:47 -04:00
2021-10-05 23:53:33 +02:00
2021-10-11 21:45:49 +10:00
2021-10-11 21:45:49 +10:00
2021-10-21 10:30:04 +08:00
2021-09-24 15:40:04 +08:00
2021-10-15 01:02:45 +00:00
2021-10-13 21:09:54 +01:00
2021-10-11 20:46:25 +08:00
2021-10-11 20:46:25 +08:00
2021-10-01 13:51:10 +00:00
2021-10-05 11:11:18 +02:00
2021-09-30 07:41:57 +08:00
2021-10-22 17:16:58 +02:00
2021-09-28 22:21:10 -04:00
2021-10-07 13:22:02 +02:00
2021-10-21 19:44:38 +02:00
2021-09-28 22:21:10 -04:00
2021-09-28 22:21:10 -04:00
2021-10-22 12:32:16 +02:00
2021-10-05 23:53:33 +02:00
2021-09-24 15:40:04 +08:00
2021-10-19 15:47:53 +02:00
2021-10-01 13:51:10 +00:00
2021-09-29 18:46:30 +02:00
2021-09-27 06:57:20 -04:00
2021-10-05 11:10:47 -04:00
2021-09-27 06:57:20 -04:00
2021-10-22 12:32:08 +02:00
2021-10-22 12:32:08 +02:00
2021-10-22 12:32:16 +02:00
2021-10-22 12:32:16 +02:00
2021-10-12 14:36:51 +13:00