mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-05-08 17:19:45 +00:00
expand docs
This commit is contained in:
parent
a23e44a8df
commit
ad2b4b66e4
@ -69,6 +69,12 @@ pub unsafe extern "C" fn wallet_ffi_create_account_public(
|
||||
/// account record so the account can immediately be used with
|
||||
/// `wallet_ffi_register_private_account`.
|
||||
///
|
||||
/// The identifier is chosen at random and is not encoded in the mnemonic seed.
|
||||
/// Once the account is initialized, the identifier is embedded in the encrypted
|
||||
/// transaction payload and can be recovered by running `sync-private` from the
|
||||
/// same mnemonic. An account that was created locally but has never been initialized
|
||||
/// cannot be recovered from the seed alone.
|
||||
///
|
||||
/// # Parameters
|
||||
/// - `handle`: Valid wallet handle
|
||||
/// - `out_account_id`: Output pointer for the new account ID (32 bytes)
|
||||
|
||||
@ -250,6 +250,12 @@ enum WalletFfiError wallet_ffi_create_account_public(struct WalletHandle *handle
|
||||
* account record so the account can immediately be used with
|
||||
* `wallet_ffi_register_private_account`.
|
||||
*
|
||||
* The identifier is chosen at random and is not encoded in the mnemonic seed.
|
||||
* Once the account is initialized, the identifier is embedded in the encrypted
|
||||
* transaction payload and can be recovered by running `sync-private` from the
|
||||
* same mnemonic. An account that was created locally but has never been initialized
|
||||
* cannot be recovered from the seed alone.
|
||||
*
|
||||
* # Parameters
|
||||
* - `handle`: Valid wallet handle
|
||||
* - `out_account_id`: Output pointer for the new account ID (32 bytes)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user