Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressLookup ¶
type AddressLookup interface {
// AddressHasTransactions returns true if the address has any confirmed or
// unconfirmed transaction history.
AddressHasTransactions(ctx context.Context, address string) (bool, error)
Close()
}
AddressLookup checks onchain address usage against the configured chain source.
func NewAddressLookup ¶
NewAddressLookup returns an AddressLookup backed by the same chain source LDK uses: esplora if LDK_ESPLORA_SERVER is set, otherwise electrum. Bitcoind has no address index, so bitcoind users also fall back to electrum.
Click to show internal directories.
Click to hide internal directories.