Skip to content

Stricter validation for CLI options and syntax #11819

@unsystemizer

Description

@unsystemizer

Using 0.15.1 from BitcoinCore.org:

$ bitcoin-qt -rescan 1 -wallet otherWallet.dat 
PaymentServer::ipcSendCommandLine: Payment request file does not exist:  "1"
"PaymentServer::verifySize: Payment request too large (720896 bytes, allowed 50000 bytes)."

Maybe this pilot error could be handled better. For example, Bitcoin-Qt (or bitcoind) could refuse to start.

Note that in the above case Bitcoin-Qt silently ends up using a wrong (default) wallet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions