Skip to content

btcjson command parsing does not support null for optional int32 #1591

@Rjected

Description

@Rjected

As discussed in #1571, it turns out null is not valid for optional *int32 parameters. There are definitely RPC commands with optional ints such as getchaintxstats (implemented in #1571) and getnodeaddresses (implemented in #1590), and we should support entering null on the command line for these parameters, since they're optional.

cc @lindlof, add any other details if you'd like

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