package
0.0.0-20191201205449-f379a713d0c2
Repository: https://github.com/rjected/lit.git
Documentation: pkg.go.dev

# README

lit/lncore

This package, lncore, makes up the base of a bunch of stuff used across Lit, including database interface.

# Functions

AreCoinsCompatible checks to see if two coin-specific objects are for the same coin.
ParseLnAddr will verify that the string passed is a valid LN address, as in ln1pmclh89haeswrw0unf8awuyqeu4t2uell58nea.

# Constants

CstateBreaking means it's the break tx has been broadcast but not included and spendable yet.
CstateClosed means nothing else should be done with the channel anymore.
CstateClosing means the close tx has been broadcast but not included yet.
CstateError means something went horribly wrong and we may need extra intervention.
CstateInit means it hasn't been broadcast yet.
CstateOK means it's been included and the channel is active.
CstateUnconfirmed means it's been broadcast but not included yet.

# Structs

ChannelInfo .
No description provided by the author
PeerInfo .
Txid represents a transaction on the blockchain.
Utxo is an unspent transaction output that we could be able to spend.

# Interfaces

CoinSpecific is a meta-interface for coin-specific types.
LitChannelStorage .
LitPeerStorage is storage for peer data.
LitStorage is an abstract wrapper layer around an arbitrary database.
LitWalletStorage is storage for wallet data.

# Type aliases

ChannelHandle is "something" to concisely uniquely identify a channel.
ChannelState .
LnAddr is just a bech32-encoded pubkey.