|
2 tygodni temu | |
---|---|---|
.. | ||
btcwallet | 1 miesiąc temu | |
chainfee | 2 tygodni temu | |
chancloser | 2 tygodni temu | |
chanfunding | 2 tygodni temu | |
chanvalidate | 9 miesięcy temu | |
rpcwallet | 1 miesiąc temu | |
test | 1 miesiąc temu | |
README.md | 1 rok temu | |
channel.go | 2 tygodni temu | |
channel_test.go | 2 tygodni temu | |
commit_sort.go | 5 lat temu | |
commit_sort_test.go | 5 lat temu | |
commitment.go | 2 tygodni temu | |
config.go | 3 miesięcy temu | |
errors.go | 2 lat temu | |
interface.go | 1 miesiąc temu | |
log.go | 2 lat temu | |
mock.go | 1 miesiąc temu | |
musig_session.go | 9 miesięcy temu | |
musig_session_test.go | 8 miesięcy temu | |
parameters.go | 3 miesięcy temu | |
parameters_test.go | 2 lat temu | |
rebroadcaster.go | 1 rok temu | |
rebroadcaster_test.go | 8 miesięcy temu | |
reservation.go | 2 tygodni temu | |
revocation_producer.go | 9 miesięcy temu | |
revocation_producer_itest.go | 9 miesięcy temu | |
sigpool.go | 9 miesięcy temu | |
test_utils.go | 2 tygodni temu | |
test_vectors_anchors.json | 1 rok temu | |
test_vectors_legacy.json | 1 rok temu | |
test_vectors_zero_fee_htlc_tx.json | 1 rok temu | |
transactions.go | 9 miesięcy temu | |
transactions_test.go | 2 tygodni temu | |
wallet.go | 2 tygodni temu | |
wallet_test.go | 8 miesięcy temu |
The lnwallet package implements an abstracted wallet controller that is able to drive channel funding workflows, a number of script utilities, witness generation functions for the various Lightning scripts, revocation key derivation, and the commitment update state machine.
The package is used within lnd
as the core wallet of the daemon. The wallet
itself is composed of several distinct interfaces that decouple the
implementation of things like signing and blockchain access. This separation
allows new WalletController
implementations to be easily dropped into
lnd
without disrupting the code base. A series of integration tests at the
interface level are also in place to ensure conformance of the implementation
with the interface.
$ go get -u github.com/lightningnetwork/lnd/lnwallet