Files
bitcoin/src/wallet
merge-script 0c6f2af97b Merge bitcoin/bitcoin#36127: wallet: remove unused code
9f0543d69a wallet: remove unused DatabaseOptions members (jeanpablo)
bbed824a64 wallet: remove unused warnings parameter from CreateFromDump (jeanpablo)
2f6aa41d3d wallet: remove unused WalletDatabase::m_refcount (jeanpablo)
f64b3fa70f wallet: remove unused CHDChain keypool index members (jeanpablo)
4afc7bc40d wallet: remove unused COutput::ToString (jeanpablo)
a0e9aac428 wallet: remove unused DescriptorScriptPubKeyMan::AddDescriptorKey (jeanpablo)

Pull request description:

  Six unused items in src/wallet, one per commit.

  `DescriptorScriptPubKeyMan::AddDescriptorKey`, a private wrapper that
  lost its caller in #28333.

  `COutput::ToString`, no callers. It was used by `COutput::print()`,
  which went away with the other `print()` methods in wallet.

  The two `CHDChain` keypool index members, whose last uses went away with
  `LegacySPKM` in #28710.

  `WalletDatabase::m_refcount`. Only BDB ever maintained it, and BDB went
  away in #28710.

  The `warnings` parameter of `CreateFromDump`, never written, along with
  the loop that printed it in wallet-tool. The `push_back` went away with
  the `-format` option in #31250.

  The two BDB-only members of `DatabaseOptions`, `use_shared_memory` and
  `max_log_mb`. Their last readers went away with BDB in #28710, along
  with the `-privdb` and `-dblogsize` options that set them.

ACKs for top commit:
  pablomartin4btc:
    ACK 9f0543d69a
  vicjuma:
    ACK 9f0543d69a

Tree-SHA512: 0996043a116ee2c653b8c3e2987fbe6d5c4573db1477dfc1b06a433334af160c44382bb1ed0fe234dcaeda09f15b07c7e5d2c2f81fce63c780ef4cac1c30fb29
2026-09-07 14:12:18 +01:00
..