BIP-61
Reject P2P message.
Lets a node tell another node why it refused a block or payment it was sent.
A reason code helps different Bitcoin programs work together and spot problems. It can also warn light wallets that something is wrong, for example when a payment is refused because its fee is too low.
Read BIP-61 in full on GitHubAll BIPs