mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-21 07:39:08 +01:00
251d020846init, wallet: replace hardcoded output types with `FormatAllOutputTypes` (Sebastian Falbesoner)e3ba0757a9rpc, 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, commit8cc9845b8d) 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 ACK251d020846🌨 pablomartin4btc: re-utACK251d020846rkrux: crACK251d020846Tree-SHA512: 23d1025d068f3a44b115a34b217b808fcae59fc574e35a899f0d43a85512935c90675d2e98c621287e02adc3a9f4a08289a26596c66e2122262af0cd2dfbde72