Now that compression works, let's use the DataStream protocol
by default if both sides claim support for it.
PeerFactory::ProtoList PeerFactory::supportedProtocols()
{
ProtoList result;
PeerFactory::ProtoList PeerFactory::supportedProtocols()
{
ProtoList result;
- result.append(ProtoDescriptor(Protocol::LegacyProtocol, 0));
result.append(ProtoDescriptor(Protocol::DataStreamProtocol, DataStreamPeer::supportedFeatures()));
result.append(ProtoDescriptor(Protocol::DataStreamProtocol, DataStreamPeer::supportedFeatures()));
+ result.append(ProtoDescriptor(Protocol::LegacyProtocol, 0));