otp
otp copied to clipboard
`net_kernel:allowed/0`, specs and docs
Few changes:
-
net_kernel:allowed/0
is speced and documented. Notice that it is already listed in "documented API exports", but for some reason docs were missing. I think it's a must to have it documented, because if you don't then the user can't figure out ifnet_kernel:allow/1
was called in the past, therefore blocking nodes with the same cookie to connect (which I believe can be very frustrating and and to debug!). This is just a pure getter function, I see no threat exposing it. -
net_kernel:allow/1
was missingignored
value it can return. You'll get it if e.g. your node is started without (s)name. - 2 small typos in comments