channeldb: switch to Open/Create methods rather than New
Commit includes basic tests for Open/Create. Additionally, rather than relying on btcwallet’s addmgr for encryption/decryption, this package now exposes a simple crypto system interface.
This commit is contained in:
1 parent
3faa2c2ef5
commit
631e76519e
3 files changed
+135
-36
No files matched your search
@@ -1 +1,7 @@
|
||||
package channeldb
|
||||
|
||||
import "fmt"
|
||||
|
||||
var (
|
||||
ErrNoExists = fmt.Errorf("channel db has not yet been created")
|
||||
)
|
||||
Reference in new issue
Block a user