mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-05 05:01:16 +00:00
251d02084688c67523e9ec92ec79ee657454ab93 init, wallet: replace hardcoded output types with `FormatAllOutputTypes` (Sebastian Falbesoner) e3ba0757a9410336e904a1b108d86165f347fc52 rpc, wallet: replace remaining hardcoded output types with `FormatAllOutputTypes` (Sebastian Falbesoner) Pull request description: This PR takes use of the `FormatAllOutputTypes` helper (introduced in PR #32432, commit 8cc9845b8ddf4f93a02c622e7df8d1095dc1a640) to get rid of the remaining hardcoded output types in wallet RPC and command line arguments documentation [1]. Note that it can't be used in the [`createmultisig` RPC](fc162299f0/src/rpc/output_script.cpp (L100)), as this one is only for pre-taproot output types and hence doesn't contain "bech32m" in the list. [1] instances were found via `$ git grep legacy.*p2sh-segwit ./src/rpc/ ./src/wallet/` ACKs for top commit: nervana21: tACK [251d020](251d020846) maflcko: review ACK 251d02084688c67523e9ec92ec79ee657454ab93 🌨 pablomartin4btc: re-utACK 251d02084688c67523e9ec92ec79ee657454ab93 rkrux: crACK 251d02084688c67523e9ec92ec79ee657454ab93 Tree-SHA512: 23d1025d068f3a44b115a34b217b808fcae59fc574e35a899f0d43a85512935c90675d2e98c621287e02adc3a9f4a08289a26596c66e2122262af0cd2dfbde72