diff --git a/buf.yaml b/buf.yaml index 9a90857..26accf6 100644 --- a/buf.yaml +++ b/buf.yaml @@ -50,7 +50,6 @@ lint: ONEOF_LOWER_SNAKE_CASE: - common/policies.proto - orderer/ab.proto - - orderer/blockattestation.proto - peer/events.proto - peer/lifecycle/db.proto - peer/lifecycle/lifecycle.proto @@ -99,7 +98,6 @@ lint: RPC_REQUEST_RESPONSE_UNIQUE: - gossip/message.proto - orderer/ab.proto - - orderer/blockattestation.proto - peer/chaincode_shim.proto - peer/events.proto - peer/snapshot.proto @@ -108,7 +106,6 @@ lint: - gateway/gateway.proto - gossip/message.proto - orderer/ab.proto - - orderer/blockattestation.proto - peer/chaincode_shim.proto - peer/events.proto - peer/peer.proto @@ -116,7 +113,6 @@ lint: RPC_RESPONSE_STANDARD_NAME: - discovery/protocol.proto - gossip/message.proto - - orderer/blockattestation.proto - peer/chaincode_shim.proto - peer/events.proto - peer/peer.proto @@ -126,7 +122,6 @@ lint: - gateway/gateway.proto - gossip/message.proto - orderer/ab.proto - - orderer/blockattestation.proto - orderer/cluster.proto - peer/chaincode_shim.proto - peer/events.proto diff --git a/orderer/blockattestation.proto b/orderer/blockattestation.proto deleted file mode 100644 index c54cd44..0000000 --- a/orderer/blockattestation.proto +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright the Hyperledger Fabric contributors. All rights reserved. -// -// SPDX-License-Identifier: Apache-2.0 - -syntax = "proto3"; - -option go_package = "github.com/hyperledger/fabric-protos-go/orderer"; -option java_package = "org.hyperledger.fabric.protos.orderer"; - -package orderer; - -import "common/common.proto"; - -message BlockAttestation { - common.BlockHeader header = 1; - common.BlockMetadata metadata = 2; -} - -message BlockAttestationResponse { - oneof Type { - common.Status status = 1; - BlockAttestation block_attestation = 2; - } -} - -service BlockAttestations { - // BlockAttestations receives an Envelope of type DELIVER_SEEK_INFO , then sends back a stream of BlockAttestations. - rpc BlockAttestations(common.Envelope) returns (stream BlockAttestationResponse); -} \ No newline at end of file