fundingmanager: add max pending channel check

This commit is contained in:
Andrey Samokhvalov committed 2016-10-22 02:15:35 +03:00
1 parent 19d8abade8
commit 7196c4bb1c
5 files changed
+220 -18

No files matched your search

+6
View File
@@ -7,6 +7,12 @@ import (
"github.com/roasbeef/btcd/wire"
)
const (
// Is returned by remote peer when number of pending channels exceed max
// value.
ErrorMaxPendingChannels = 1
)
// ErrorGeneric represents a generic error bound to an exact channel. The
// message format is purposefully general in order to allow expression of a wide
// array of possible errors. Each ErrorGeneric message is directed at a particular