-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes to deal with the limitations of mongodb, grpc-gatway and bson
fix: oneof doesn't play well with grpc gateway (apparently) Instead of the (much cleaner) oneof, we will have a single message in the event per proof mech. only one of them will be present in any event fix: mongo cant store unsigned integers of any size So we use a different message for storing the proof details for mongo. It encodes the idtimestamp as a fixed lenght hex string. this preserves the sortable and comparible properties. For now we keep the other unsigned types as they wont use the full range of bits until a single tenant log has 2^63 events in it. fix: the field ordinals for merkle log messages were benignly 'wrong'. All message fields for merkle log messages start at ordinal 1 now AB#8859
- Loading branch information
Robin Bryce
committed
Jan 19, 2024
1 parent
965ae2a
commit 327d1e7
Showing
2 changed files
with
37 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters