Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetChanPointFundingTxid ¶
func GetChanPointFundingTxid(chanPoint *lnrpc.ChannelPoint) (*chainhash.Hash, error)
GetChanPointFundingTxid returns the given channel point's funding txid in raw bytes.
Types ¶
type NodeID ¶
type NodeID [33]byte
NodeID is an LN node ID.
func (*NodeID) FromString ¶
FromString decodes s into an NodeID. s must contain an hex-encoded ID of the correct length.
func (NodeID) MarshalJSON ¶
MarshalJSON marshals the id into a json string.
func (*NodeID) UnmarshalJSON ¶
UnmarshalJSON unmarshals the json representation of a NodeID.
Click to show internal directories.
Click to hide internal directories.