Merge pull request #2027 from mrwhythat/no-incoming-push-amounts-option

Option to disable incoming push amounts on channel opening
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2018-11-02 17:08:05 -07:00
commit f60012b3f9
4 files changed
+78

No files matched your search

+7
View File
@@ -78,6 +78,13 @@ func ErrChanReserveTooLarge(reserve,
}
}
// ErrNonZeroPushAmount is returned by a remote peer that receives a
// FundingOpen request for a channel with non-zero push amount while
// they have 'rejectpush' enabled.
func ErrNonZeroPushAmount() ReservationError {
return ReservationError{errors.New("Non-zero push amounts are disabled")}
}
// ErrMinHtlcTooLarge returns an error indicating that the MinHTLC value the
// remote required is too large to be accepted.
func ErrMinHtlcTooLarge(minHtlc,