Vasil Dimov
8bb34f07df
Explicitly close all AutoFiles that have been written
...
There is no way to report a close error from `AutoFile` destructor.
Such an error could be serious if the file has been written to because
it may mean the file is now corrupted (same as if write fails).
So, change all users of `AutoFile` that use it to write data to
explicitly close the file and handle a possible error.
2025-06-16 15:33:15 +02:00
Ava Chow
04a7a7a28c
build, wallet, doc: Remove BDB
2025-05-06 12:21:32 -07:00
MarcoFalke
fade0b5e5e
scripted-diff: Use std::span over Span
...
-BEGIN VERIFY SCRIPT-
ren() { sed -i "s!\<$1\>!$2!g" $( git grep -l "$1" -- "./src" ":(exclude)src/span.h" ":(exclude)src/leveldb/db/log_test.cc" ) ; }
ren Span std::span
ren AsBytes std::as_bytes
ren AsWritableBytes std::as_writable_bytes
sed -i 's!SpanPopBack(Span!SpanPopBack(std::span!g' ./src/span.h
-END VERIFY SCRIPT-
2025-03-12 19:45:37 +01:00
Sebastian Falbesoner
1786be7b4a
scripted-diff: drop config/ subdir for bitcoin-config.h, rename to bitcoin-build-config.h
...
Follow-up for PR #30856 , commit 0dd66251 .
-BEGIN VERIFY SCRIPT-
sed -i "s|config/bitcoin-config\.h|bitcoin-build-config.h|g" $(git grep -l config/bitcoin-config\.h)
sed -i "s|bitcoin-config\.h|bitcoin-build-config.h|g" $(git grep -l "bitcoin-config\.h" ./src ./test ./cmake)
git mv ./cmake/bitcoin-config.h.in ./cmake/bitcoin-build-config.h.in
-END VERIFY SCRIPT-
2024-10-10 12:22:12 +02:00
Hennadii Stepanov
c07fdd6546
fuzz: Don't compile BDB-specific code on MSVC in wallet_bdb_parser.cpp
2024-09-06 12:19:27 +01:00
MarcoFalke
fa7bc9bbca
fuzz: Fix wallet_bdb_parser 32-bit unhandled fseek error
2024-06-19 13:39:43 +02:00
Ava Chow
9ddf39dd87
fuzz: Handle missing BDBRO errors
...
Adds error messages that were not being handled. Also removes error
messages that no longer exist.
2024-05-29 05:01:21 -04:00
MarcoFalke
fac7298529
fuzz: Fix wallet_bdb_parser stdlib error matching
2024-05-24 14:21:30 +02:00
TheCharlatan
4d7a3ae78e
Berkeley RO Database fuzz test
2024-05-16 15:03:13 -04:00