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
TransferSession emits BlockData structs when it receives a Block message from a BDX exchange. This BlockData struct does not currently include the BlockCount field, since only Synchronous BDX is implemented right now, so Blocks will always come one at a time.
Once Asynchronous BDX is implemented, BlockData will need to also contain the BlockCount field, since it is not guaranteed that messages will come in order. The application will need to order them using BlockCount.
Proposed Solution
add BlockCount to BlockData struct
make sure BlockCount is filled in when Block messages are received, and also modify existing unit tests
The text was updated successfully, but these errors were encountered:
Problem
TransferSession
emitsBlockData
structs when it receives aBlock
message from a BDX exchange. ThisBlockData
struct does not currently include theBlockCount
field, since only Synchronous BDX is implemented right now, so Blocks will always come one at a time.Once Asynchronous BDX is implemented,
BlockData
will need to also contain theBlockCount
field, since it is not guaranteed that messages will come in order. The application will need to order them usingBlockCount
.Proposed Solution
BlockCount
toBlockData
structBlockCount
is filled in whenBlock
messages are received, and also modify existing unit testsThe text was updated successfully, but these errors were encountered: