Skip to content

helper functions to get shell arguments #139

@pcppcp

Description

@pcppcp

all functions should check if the argument is valid and convert it to the corresponding data type.
return value: 0 on success, -1 otherwise

  • int arg_address(const char *arg, address_t *out)
  • int arg_txhash(const char *arg, tx_hash_t *out)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions