rename wallet to lnwallet
This commit is contained in:
parent
9de294c31f
commit
147748d178
@ -1,6 +1,10 @@
|
|||||||
package revocation
|
package revocation
|
||||||
|
|
||||||
import "github.com/btcsuite/btcd/wire"
|
import (
|
||||||
|
"sync"
|
||||||
|
|
||||||
|
"github.com/btcsuite/btcd/wire"
|
||||||
|
)
|
||||||
|
|
||||||
// chainFragment...
|
// chainFragment...
|
||||||
type chainFragment struct {
|
type chainFragment struct {
|
||||||
@ -11,6 +15,8 @@ type chainFragment struct {
|
|||||||
// HyperShaChain...
|
// HyperShaChain...
|
||||||
// * https://github.com/rustyrussell/ccan/blob/master/ccan/crypto/shachain/design.txt
|
// * https://github.com/rustyrussell/ccan/blob/master/ccan/crypto/shachain/design.txt
|
||||||
type HyperShaChain struct {
|
type HyperShaChain struct {
|
||||||
|
sync.RWMutex
|
||||||
|
|
||||||
lastChainIndex uint64
|
lastChainIndex uint64
|
||||||
|
|
||||||
chainFragments []chainFragment
|
chainFragments []chainFragment
|
||||||
|
Loading…
Reference in New Issue
Block a user