Eth/63 labels (#764)

Add labels for Eth/63 messages for fast sync
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
pull/2/head
Danno Ferrin 6 years ago committed by GitHub
parent 37b0023a37
commit 8d3fb7e4ae
  1. 8
      ethereum/eth/src/main/java/tech/pegasys/pantheon/ethereum/eth/EthProtocol.java

@ -98,6 +98,14 @@ public class EthProtocol implements SubProtocol {
return "BlockBodies";
case EthPV62.NEW_BLOCK:
return "NewBlock";
case EthPV63.GET_NODE_DATA:
return "GetNodeData";
case EthPV63.NODE_DATA:
return "NodeData";
case EthPV63.GET_RECEIPTS:
return "GetReceipts";
case EthPV63.RECEIPTS:
return "Receipts";
default:
return INVALID_MESSAGE_NAME;
}

Loading…
Cancel
Save