note to self on steps after funding broadcast
This commit is contained in:
1 parent
cd8a4ccfa5
commit
46ad8389b2
1 file changed
+7
-1
+7
-1
@@ -3,7 +3,6 @@ package wallet
|
|||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"encoding/binary"
|
"encoding/binary"
|
||||||
"encoding/hex"
|
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"math"
|
"math"
|
||||||
@@ -654,6 +653,13 @@ func (l *LightningWallet) handleFundingCounterPartySigs(msg *addCounterPartySigs
|
|||||||
})
|
})
|
||||||
|
|
||||||
// TODO(roasbeef): broadcast now?
|
// TODO(roasbeef): broadcast now?
|
||||||
|
// * create goroutine, listens on blockconnected+blockdisconnected channels
|
||||||
|
// * after six blocks, then will create an LightningChannel struct and
|
||||||
|
// send over reservation.
|
||||||
|
// * will need a multi-plexer to fan out, to listen on ListenConnectedBlocks
|
||||||
|
// * should prob be a separate struct/modele
|
||||||
|
// * use NotifySpent in order to catch non-cooperative spends of revoked
|
||||||
|
// commitment txns. Hmm using p2sh or bare multi-sig?
|
||||||
msg.err <- writeErr
|
msg.err <- writeErr
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user