Key Exchange¶
PaymentChannel¶
- cfxdb.xbrmm.PaymentChannel¶
alias of
Channel
- class cfxdb.xbrmm.PaymentChannels(slot=None, compress=None, build=None, cast=None)[source]¶
Bases:
MapUuidFlatBuffers
XBR payment channels by
channel_oid
.Map
zlmdb.MapUuidFlatBuffers
fromchannel_oid
tocfxdb.xbr.Channel
- class cfxdb.xbrmm.IndexPaymentChannelByDelegate(slot=None, compress=None)[source]¶
Bases:
MapBytes20TimestampUuid
Index:
(delegate_adr, created_timestamp) -> channel_oid
- cfxdb.xbrmm.PaymentChannelBalance¶
alias of
ChannelBalance
- class cfxdb.xbrmm.PaymentChannelBalances(slot=None, compress=None, build=None, cast=None)[source]¶
Bases:
MapUuidFlatBuffers
XBR payment channels current balances by
channel_oid
.Map
zlmdb.MapBytes20FlatBuffers
fromchannel_oid
tocfxdb.xbr.Balance
Offer¶
- class cfxdb.xbrmm.Offer(from_fbs=None)[source]¶
Data encryption key offerings by XBR providers.
- property timestamp: datetime64¶
Offer transaction time (epoch time in ns)
- property valid_from: datetime64¶
Timestamp from which the offer is valid (epoch time in ns).
- property signature: bytes¶
Seller delegate signature for the offer. The signature covers all information of the original offer placement request and requestor.
- property categories: dict¶
Dictionary of optional user defined categories the specific data that is provided falls under.
- property expires: datetime64¶
Optional data at which this offer expires (epoch time in ns).
- property copies: int¶
Optional maximum number of times this data encryption key is to be sold or 0 for unlimited.
- class cfxdb.xbrmm.Offers(slot=None, compress=None, build=None, cast=None)[source]¶
Bases:
MapUuidFlatBuffers
Persisted data encryption key offers.
Map
zlmdb.MapBytes32FlatBuffers
fromoffer_id
tocfxdb.xbr.Offer
- class cfxdb.xbrmm.IndexOfferByKey(slot=None, compress=None)[source]¶
Bases:
MapUuidUuid
Index: key_id -> offer_id