Function tari_wallet_ffi::wallet_add_base_node_peer[][src]

#[no_mangle]pub unsafe extern "C" fn wallet_add_base_node_peer(
    wallet: *mut TariWallet,
    public_key: *mut TariPublicKey,
    address: *const c_char,
    error_out: *mut c_int
) -> bool

Adds a base node peer to the TariWallet

Arguments

wallet - The TariWallet pointer public_key - The TariPublicKey pointer address - The pointer to a char array error_out - Pointer to an int which will be modified to an error code should one occur, may not be null. Functions as an out parameter.

Returns

bool - Returns if successful or not

Safety

None