cfxdb.xbrnetwork.schema

Classes

Schema

XBR Network backend database schema.

Module Contents

class Schema(db)[source]

Bases: object

XBR Network backend database schema.

EXPORTED = None[source]
accounts: cfxdb.xbrnetwork.account.Accounts[source]

Member accounts database table xbrnetwork.Accounts.

static attach(db)[source]

Attach database schema to database instance.

Parameters:

db (zlmdb.Database) – Database to attach schema to.

db[source]
export(txn, fd)[source]
Parameters:
  • txn

  • fd

Returns:

idx_accounts_by_email: cfxdb.xbrnetwork.account.IndexAccountsByEmail[source]

Index “by email” of member accounts xbrnetwork.IndexAccountsByEmail.

idx_accounts_by_username: cfxdb.xbrnetwork.account.IndexAccountsByUsername[source]

Index “by username” of member accounts xbrnetwork.IndexAccountsByUsername.

idx_accounts_by_wallet: cfxdb.xbrnetwork.account.IndexAccountsByWallet[source]

Index “by wallet” of member accounts xbrnetwork.IndexAccountsByWallet.

idx_user_key_by_account: cfxdb.xbrnetwork.userkey.IndexUserKeyByAccount[source]

Index “by pubkey” of user keys xbrnetwork.IndexUserKeyByAccount.

user_keys: cfxdb.xbrnetwork.userkey.UserKeys[source]

User client keys database table xbrnetwork.UserKeys.

verified_actions: cfxdb.xbrnetwork.vaction.VerifiedActions[source]

Verified actions database table xbrnetwork.VerifiedActions.