Lőrinc
056cb3c0d2
refactor: clear up blockstorage/streams in preparation for optimization
...
Made every OpenBlockFile#fReadOnly value explicit.
Replaced hard-coded values in ReadRawBlock with STORAGE_HEADER_BYTES.
Changed `STORAGE_HEADER_BYTES` and `UNDO_DATA_DISK_OVERHEAD` to `uint32_t` to avoid casts.
Also added `LIFETIMEBOUND` to the `AutoFile` parameter of `BufferedFile`, which stores a reference to the underlying `AutoFile`, allowing Clang to emit warnings if the referenced `AutoFile` might be destroyed while `BufferedFile` still exists.
Without this attribute, code with lifetime violations wouldn't trigger compiler warnings.
Co-authored-by: maflcko <6399679+maflcko@users.noreply.github.com >
2025-04-14 11:57:14 +02:00
..
2025-04-06 12:42:00 +02:00
2025-03-12 19:46:54 +01:00
2025-03-13 11:13:13 +00:00
2025-03-12 19:46:54 +01:00
2025-02-13 12:30:15 -05:00
2025-03-25 08:41:59 -04:00
2025-02-19 17:20:57 +01:00
2025-03-21 16:46:54 +08:00
2025-03-17 15:59:05 +08:00
2025-02-21 10:43:01 +01:00
2025-03-05 15:36:56 +00:00
2025-04-14 11:57:14 +02:00
2025-03-26 18:58:02 +10:00
2025-04-02 20:49:18 +01:00
2025-03-25 08:41:59 -04:00
2025-03-29 20:46:54 +01:00
2025-04-13 23:44:46 +02:00
2025-03-17 13:10:10 +08:00
2025-03-24 09:34:54 -04:00
2025-04-02 13:17:49 +08:00
2025-04-01 18:33:33 +02:00
2025-03-23 21:58:39 +01:00
2025-02-12 15:10:28 -05:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-03-13 11:13:13 +00:00
2025-03-25 10:37:42 +01:00
2025-03-13 11:13:13 +00:00
2025-02-13 12:30:15 -05:00
2025-03-06 15:39:58 -06:00
2025-03-27 15:48:44 -04:00
2025-03-24 09:49:46 -04:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-02-21 10:41:27 +01:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-03-04 14:23:18 -05:00
2025-02-13 12:30:15 -05:00
2025-02-13 12:30:15 -05:00
2025-03-12 19:47:01 +01:00
2025-03-25 10:38:34 +01:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-02-21 10:41:27 +01:00
2025-03-23 11:12:33 -04:00
2025-03-24 16:54:40 -04:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-02-21 10:41:27 +01:00
2025-03-19 08:59:08 +01:00
2025-01-22 11:29:05 +01:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-03-20 13:41:54 +08:00
2025-02-21 10:43:41 +01:00
2025-01-22 15:01:23 -05:00
2025-03-20 13:41:54 +08:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-04-13 23:44:46 +02:00
2025-04-14 11:57:14 +02:00
2025-02-21 10:43:01 +01:00
2025-03-31 21:14:08 +08:00
2025-03-31 13:07:37 -04:00
2025-03-31 13:07:37 -04:00
2025-02-07 13:55:57 -05:00
2025-02-07 13:55:57 -05:00
2025-01-29 18:05:16 -05:00
2025-02-12 15:10:28 -05:00
2025-03-12 19:45:37 +01:00
2025-03-23 11:12:33 -04:00
2025-03-11 16:00:54 +00:00