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
3 stars 7 forks source link

[FEATURE]: Add new chain RPC `propose_block` #237

Closed sgerbino closed 3 months ago

sgerbino commented 3 months ago

Is there an existing issue for this?

New feature

Add a new request and response to chain RPC called propose_block_request and propose_block_response. The request should be identical to submit_block however the response will be different in that it provides a list of transaction indices that have failed.

Proposed response message:

message propose_block_response {
  optional protocol.block_receipt receipt = 1;
  repeated uint32 failed_transaction_indices = 2;
}

Anything else?

No response