Skip to main content

Crate hns_wallet_store

Crate hns_wallet_store 

Source
Expand description

Transactional wallet persistence with per-record authenticated encryption.

Structs§

EntityBatchDelete
EntityBatchSave
EntityPrefixSetLease
An opaque, single-consumption compare-and-swap token for one exact entity prefix set observed inside an EntityReadSnapshot.
EntityReadSnapshot
One coherent read-only SQLite snapshot over encrypted wallet entities.
EntityRevisionAssertion
Compare-only entity CAS condition checked in the same transaction as a batch write. The asserted entity is authenticated but not rewritten.
KdfConfig
PendingApproval
SharedWalletStore
One cloneable process-local authority over a wallet database and its decrypted record key. Provider persistence and wallet execution must share this handle so locking cannot leave a second independently unlocked store connection behind.
SharedWalletStoreGuard
Exclusive synchronous access retained by one stateful wallet runtime.
StoredEntity
StoredEntityMetadata
Untrusted encrypted-entity identity and CAS metadata without a value.
StoredWorkflow
WalletStore
WorkflowRevisionAssertion
Compare-only workflow CAS condition checked in the same transaction as a separate workflow write. The asserted workflow is authenticated but not rewritten.

Enums§

EntityKind
A stable, wallet-local storage namespace. Values in every namespace are authenticated and encrypted; the kind and caller-supplied record ID are bound as associated data so ciphertext cannot be relocated.
SecretKind
StoreError

Constants§

MAX_APPROVAL_LIFETIME_SECONDS
MAX_ENTITY_BATCH_OPERATIONS
MAX_ENTITY_LIST_RESULTS
MAX_PASSPHRASE_BYTES
MAX_PENDING_APPROVALS
MAX_PROVIDER_PERMISSIONS
MAX_RECORD_ID_BYTES
MAX_REPLAY_LIFETIME_SECONDS
MAX_REPLAY_ORIGINS
MAX_REPLAY_ROWS
MAX_REPLAY_ROWS_PER_ORIGIN
MAX_SECRET_BYTES
MAX_STATE_BYTES
RECOVERY_SEED_BYTES
Exact output size of bip39::Mnemonic::to_seed_normalized.
SCHEMA_VERSION