package
0.3.8-beta
Repository: https://github.com/lightninglabs/aperture.git
Documentation: pkg.go.dev

# Functions

CreateKey returns a deterministically generated key pair.
DumpGoroutines dumps all currently running goroutines.
EncodePayReq encodes a zpay32 invoice with a fixed key.
GetDestAddr deterministically generates a sweep address for testing.
GetInvoice creates a testnet payment request with the given parameters.
Guard implements a test level timeout.
NewContext instanties a new common test context.
NewMockLnd returns a new instance of LndMockServices that can be used in unit tests.

# Variables

ErrTimeout is returned on timeout.
Timeout is the default timeout when tests wait for something to happen.

# Structs

ConfRegistration contains registration details.
Context contains shared test context functions.
LndMockServices provides a full set of mocked lnd services.
PaymentChannelMessage is the data that passed through SendPaymentChannel.
RouterPaymentChannelMessage is the data that passed through RouterSendPaymentChannel.
SignOutputRawRequest contains input data for a tx signing request.
SingleInvoiceSubscription contains the single invoice subscribers.
SpendRegistration contains registration details.
TrackPaymentMessage is the data that passed through TrackPaymentChannel.