# Functions
ChainParams returns the *chaincfg.Params instance corresponding to the network that the underlying node is connected to.
currencyFromChain is an adapter function to convert a chain (network) value to a Currency type that's understood by libcore.
No description provided by the author
GetCanonicalDescriptor returns the descriptor in canonical form, along with its computed checksum.
No description provided by the author
New initializes a Bus struct that embeds a btcd RPC client.
# Constants
Initializing is a Status to indicate the initial state of LSS, while it is warming up.
No description provided by the author
NodeDisconnected is a Status to indicate that the bitcoind instance is unreachable.
PendingScan is a Status to indicate that the worker is awaiting import of descriptors.
Ready is a Status to indicate that LSS is ready to accept explorer API requests from Ledger Live.
Scanning is a Status to indicate that the Bitcoin Core node is currently importing account descriptors into its wallet.
Syncing is a Status to indicate that the Bitcoin Core node is currently downloading and validating blocks.
No description provided by the author
# Variables
ErrAddressInfo indicates that an error was encountered while trying to fetch address info.
ErrBitcoindUnreachable indicates that an RPC call to the bitcoind node was not successful.
ErrCreateWallet indicates that the wallet RPC createwallet was not successful.
ErrDeriveAddress indicates that an address could not be derived from a descriptor.
ErrFailedToDetectBlockFilter indicates an irrecoverable error while trying to detect presence of a compact block filter index.
ErrFailedToDetectTxIndex indicates an irrecoverable error while trying to detect presence of a transaction index.
ErrFailedToGetBlock indicates that an error was encountered while trying to get a block.
ErrInvalidDescriptor indicates that a malformed descriptor was encountered.
ErrLoadWallet indicates that the wallet RPC loadwallet was not successful.
ErrMalformedChainHash indicates that a chain hash (transaction or block) could not be parsed.
ErrUnrecognizedChain indicates that the Chain returned by bitcoind in its response to the getblockchaininfo RPC, is unrecognized by LSS.
ErrUnsupportedBitcoindVersion indicates that the connected bitcoind node has a version that is not supported by SatStack.
ErrWalletDisabled indicates that wallet features have been disabled on the connected Bitcoin node.
# Structs
Bus represents a transport allowing access to Bitcoin RPC methods.
No description provided by the author
ExplorerStatus represents the structure of payload returned by GetStatus service method.
see https://developer.bitcoin.org/reference/rpc/importdescriptors.html for specs.
No description provided by the author
No description provided by the author
No description provided by the author