koinos / koinos-proto

Official home of the Koinos Protobuf schema. Koinos data types are defined here and generated in a variety of supported languages.
MIT License
4 stars 7 forks source link

Enhance `submit_block` #221

Closed sgerbino closed 6 months ago

sgerbino commented 6 months ago

In order to support block production recovery, we should enhance the submit_block request and response in the following ways:

  1. Add a boolean flag to submit_block_request that indicates whether the blocks origin is from a local block producer or not.
  2. Add repeat int to submit_block_response which is suitable to return an array of indices of failing transactions.
sgerbino commented 6 months ago

Closing this pending further discussion.