-
Notifications
You must be signed in to change notification settings - Fork 433
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove IMessageSerializer, use IZeroMessageSerializer for all messages (
#4292) * change to zero serializer * fix get length * temp change * change to zero intializer * update message pad * add and use zero serializer * use zero serializer * update messgae serialization service * rewrite functions to use byte buffer * update P2P messages serializer * update serializers * update tests * remove zero message serializer * fix failing tests * fix netty rlp has been read * fix length calc * fix serializers * update * optimize byte array allocations * fix span creation * remove redundant to array * fix block body serializer * fix receipts serializer * Fix/buffer reallocation (#4306) * serialization * reuse buffer * Fix reciepts decoder * fix reciepts serializer * fix zero packet splitter * implement func to use stream encoder * Clean up * fix ChainLevelDecoder * add comment * add GetLength private to reduce length calculations * convert all to inner serializer to use get length to allocate buffer * Kill more allocations * kill bit more allocations * less allocs * fix build * use rlp stream * remove rlp.encode from zeroPacketSplitter * restore WriteAdaptivePacketType(in IByteBuffer buffer) and fix tests * fix length calc * Remove test console outputs Co-authored-by: lukasz.rozmej <[email protected]>
- Loading branch information
1 parent
31be552
commit a0d0d68
Showing
56 changed files
with
1,237 additions
and
846 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
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
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
Oops, something went wrong.