public int getLastProtocolVersion() {
    return lastProtocolVersion.get();
  }
Return This peer's current chain state.

@return This peer's current chain state.
ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/EthPeer.java