[][src]Function cashaccount_sys::cashacc_parse_opreturn

pub unsafe extern "C" fn cashacc_parse_opreturn(
    opreturn: *const c_char,
    len: c_uint,
    store_payload: bool,
    account: *mut CashAccount
) -> c_int

Parse CashAccount from an OP_RETURN script \param opreturn Pointer to script \param opreturn_len Length of the script \param store_payload If payload is to be stored. If you just need to verify that script contains a cashaccount and get the name, you can set to false for increased performance. \param account The variable where the result is stored \return Number of payloads found, or error code on error