This is the first part of #11518. It removes a ~150 lines of unused code from the mininode module:
- remove unused
deliver_sleep_time
andEarlyDisconnectError
code - remove support for pre-BIP31 ping messages
- remove support for alert message
- explicitly don’t support p2p versions lower than 60001
Should be an easy ACK for reviewers. If all extended tests pass, then this code really was dead :)