38fd7d206f
This commit adds an optional error message to the channel acceptor's reponse to allow operators to inform (or insult) unsuccessful channel initiators as to the reason for their rejection. This field is added in addition to the existing accept field to maintain backwards compatibity. If we were to deprecate accept and interpret a non-nil error as rejecting the channel, then received a response with accept=false and a nil error, the server cannot tell whether this is a legacy rejection or new mesage type acceptance (due to nil error), so we keep both fields. |
||
---|---|---|
.. | ||
acceptor_test.go | ||
chainedacceptor.go | ||
errors.go | ||
interface.go | ||
log.go | ||
rpcacceptor_test.go | ||
rpcacceptor.go |