You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a Block Node developer
I want to leverage an alternative schema to selectively "shallow parse" protobuf off the wire
So that we can reduce the cost of marshalling all of the objects while also improving maintainability by using an alternative schema rather than the low-level Bytes API.
While discussing the low-level approach using the Bytes API, Jasper thought we might be able to leverage a different schema to handle selectively parsing levels of objects from the top-down rather than parsing by hand.
Tech Notes
Add a new unparsed.proto file to the stream subproject to specify new types
Establish the relationship between the new types that mirrors the spec outlined in hedera-protobufs but relies in the bytes keyword in the definitions to stop PBJ and protoc from processing its children
Gradle's behavior in the stream subproject may need to change to generate types based on the local schema
The text was updated successfully, but these errors were encountered:
As a Block Node developer
I want to leverage an alternative schema to selectively "shallow parse" protobuf off the wire
So that we can reduce the cost of marshalling all of the objects while also improving maintainability by using an alternative schema rather than the low-level
Bytes
API.While discussing the low-level approach using the
Bytes
API, Jasper thought we might be able to leverage a different schema to handle selectively parsing levels of objects from the top-down rather than parsing by hand.Tech Notes
unparsed.proto
file to thestream
subproject to specify new typeshedera-protobufs
but relies in thebytes
keyword in the definitions to stop PBJ and protoc from processing its childrenstream
subproject may need to change to generate types based on the local schemaThe text was updated successfully, but these errors were encountered: