Merge bitcoin/bitcoin#35950: Update leveldb subtree to latest master

9f10ef5e96 Squashed 'src/leveldb/' changes from a7f9bdc611..13da2d6758 (fanquake)

Pull request description:

  Includes:
  * https://github.com/bitcoin-core/leveldb-subtree/pull/62
  * https://github.com/bitcoin-core/leveldb-subtree/pull/64 (used in #35911)

ACKs for top commit:
  l0rinc:
    code review ACK 3e76d22de2
  hebasto:
    ACK 3e76d22de2.
  sedited:
    ACK 3e76d22de2

Tree-SHA512: 88b9a673550ab95f99de5fb06c8313464b1a6b962a55aa911d7b8bb362eae71a283663460b1cab2aa99e37a066c3f52cfc834cf679b4db49d172bf91b32ae3fa
This commit is contained in:
merge-script
2026-08-11 21:38:40 +02:00
4 changed files with 17 additions and 4 deletions

12
src/leveldb/.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,12 @@
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: cmake -B build -DBUILD_SHARED_LIBS=OFF
- run: cmake --build build -j$(nproc)
- run: ctest --test-dir build --output-on-failure -j$(nproc)

View File

@@ -5,6 +5,7 @@
#include <sqlite3.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "util/histogram.h"
#include "util/random.h"

View File

@@ -730,9 +730,9 @@ class PosixEnv : public Env {
}
private:
void BackgroundThreadMain();
[[noreturn]] void BackgroundThreadMain();
static void BackgroundThreadEntryPoint(PosixEnv* env) {
[[noreturn]] static void BackgroundThreadEntryPoint(PosixEnv* env) {
env->BackgroundThreadMain();
}

View File

@@ -675,9 +675,9 @@ class WindowsEnv : public Env {
}
private:
void BackgroundThreadMain();
[[noreturn]] void BackgroundThreadMain();
static void BackgroundThreadEntryPoint(WindowsEnv* env) {
[[noreturn]] static void BackgroundThreadEntryPoint(WindowsEnv* env) {
env->BackgroundThreadMain();
}