Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnhelixifyAndReverse ¶
UnhelixifyAndReverse takes a claimID and returns its bytes
Types ¶
type Channel ¶
type Channel struct { Name string `json:"name"` ChannelID string `json:"channel_id"` HoldingAddress string `json:"holding_address"` HoldingPublicKey string `json:"holding_public_key"` SigningPrivateKey string `json:"signing_private_key"` }
Channel structure representing an exported LBRY channel
func ImportChannel ¶
ImportChannel creates a Channel representation from the serialization
func (*Channel) Keys ¶
func (l *Channel) Keys() (*btcec.PrivateKey, *btcec.PublicKey)
Keys will return the private and public key of a channel
func (*Channel) Sign ¶
Sign will sign the data with the channels private key returning the signature and a timestamp it was signed. This is used in the signature itself so it is required input to verify the signature. This ensures someone cannot fudge a timestamp of a signature and allows for expiration times of signatures.
Click to show internal directories.
Click to hide internal directories.