cfxdb.xbr.catalog¶
Classes¶
|
|
Catalogs table, mapping from |
|
Catalogs-by-owner index with |
|
Module Contents¶
- class Catalog(from_fbs=None)[source]¶
Bases:
objectXBRNetwork.FbsRepositorydatabase object.- property meta: str[source]¶
The XBR market metadata published by the market owner. IPFS Multihash pointing to a RDF/Turtle file with market metadata.
- property signature: bytes[source]¶
When signed off-chain and submitted via
XBRMarket.createMarketFor.
- property terms: str[source]¶
The XBR market terms set by the market owner. IPFS Multihash pointing to a ZIP archive file with market documents.
- property tid: bytes[source]¶
Transaction hash of the transaction this change was committed to the blockchain under.
- property timestamp: numpy.datetime64[source]¶
Database transaction time (epoch time in ns) of insert or last update.
- class Catalogs(slot=None, compress=None, build=None, cast=None)[source]¶
Bases:
zlmdb.MapUuidFlatBuffersCatalogs table, mapping from
oid|UUIDtocfxdb.xbr.FbsRepository
- class IndexCatalogsByOwner(slot=None, compress=None)[source]¶
Bases:
zlmdb.MapBytes20TimestampUuidCatalogs-by-owner index with
(owner_adr|bytes[20], created|int) -> catalog_id|UUIDmapping.