Files
bitcoin/src
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-16 13:35:57 -07:00
2021-09-29 14:10:29 +02:00
2021-10-25 16:12:19 +09:00
2021-10-11 21:45:49 +10:00
2021-10-05 11:11:18 +02:00
2021-10-07 13:22:02 +02:00
2021-09-29 18:46:30 +02:00