6a1d8d0682
This commit adds the first concrete implementation of the WalletController interface: BtcWallet. This implementation is simply a series of wrapper functions are the base btcwallet struct. Additionally, for ease of use both the BlockChain IO and Signer interface are also implemented by BtcWallet. Finally a new WalletDriver implementation has been implemented, and will be register by the init() method within this new package.
16 lines
336 B
Go
16 lines
336 B
Go
package lnwallet
|
|
|
|
// Config..
|
|
type Config struct {
|
|
// default csv time
|
|
// default cltv time
|
|
// default wait for funding time
|
|
// default wait for closure time
|
|
// min amount to accept channel
|
|
// min fee imformation
|
|
// * or possibly interface to predict fees
|
|
// max htlcs in flight?
|
|
// possible secret derivation functions
|
|
//
|
|
}
|