Skip to main content

Module user

Module user 

Source
Expand description

User ID-like types: User, UserPk, NodePk, Scid

Structs§

GetNewScidsRequest
A request to get at least min_scids Scids from the LSP, inclusive of any existing Scids. The node requests this from the LSP when it detects that it needs the LSP to generate a few more.
InvalidNodePkProofSignature
MaybeScid
An upgradeable version of Option<Scid>.
MaybeUser
An upgradeable version of Option<User>.
NodePk
A Lightning node’s secp256k1 public key (the node_id). Serialized as a 66-character hex string.
NodePkProof
A Proof-of-Key-Possession for a given NodePk.
NodePkStruct
Upgradeable API struct for a node pk.
Scid
A newtype for the short_channel_id (scid) used throughout LDK.
ScidStruct
Upgradeable API struct for a scid.
Scids
Upgradeable API struct for multiple scids.
ShortUserPk
A UserPk shortened to its first four bytes (8 hex chars).
User
A Lexe user, as represented in the DB.
UserPk
A Lexe user’s primary identifier, derived from the root seed. Serialized as a 64-character hex string.
UserPkSet
Upgradeable API struct for a set of user pks
UserPkStruct
Upgradeable API struct for a user pk.
UserScid
Represents an entry in the user_scid table.
UserScids
Upgradable API struct representing multiple user_scid entries.