bitcoinknots / bitcoin

Bitcoin Knots enhanced Bitcoin node/wallet software
MIT License
199 stars 60 forks source link

createwallet RPC method: Various features unusable with positional params and bitcoin-cli #34

Closed luke-jr closed 2 years ago

luke-jr commented 2 years ago

bitcoin-cli has no way to omit positional params, but when creating a watch-only wallet, createwallet will error if passphrase is provided. This effectively prevents such commands from using the later parameters (avoid_reuse, descriptors, load_on_startup, and external_signer).

(n.b. all of those inaccessible params should really be an options Object when using positional parameters anyway; why does the interface suck? :/ )

luke-jr commented 2 years ago

wrong issue tracker