Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor message #2113

Merged
merged 31 commits into from Feb 26, 2024
Merged

Refactor message #2113

merged 31 commits into from Feb 26, 2024

Conversation

ccellado
Copy link
Collaborator

@ccellado ccellado commented Feb 8, 2024

Closes #2105

Removing akka.util.ByteString dependency is not possible, since all deserialization is consumed by akka.Tcp, which it's tied to.
Extracted MessageBase trait from Message.
Since other network solutions could require its own data classes and scorex.util.Serialization not available, due to tis specialty, it for now will be on the ergo-core library user's side to decide how to decode and encode those messages.

Node's Message serializer now requires MessageBase, so any inherited message type should work

ccellado and others added 30 commits December 21, 2023 15:32
Move appropriate specs to core
Move appropriate specs to core
# Conflicts:
#	ergo-core/README.md
#	ergo-core/src/main/scala/org/ergoplatform/network/message/InvSpec.scala
#	src/main/scala/org/ergoplatform/network/message/BasicMessagesRepo.scala
Fix tag filename
More tests for ContextExtension semantics
fix proofHash related sporadic concurrency bug
Fix for ergoplatform#2106 : MaxHeaders constant is used instead of epochLength related value in chainSlice limit
Add changes to ergo-core readme
@ccellado ccellado changed the base branch from master to v5.0.20 February 8, 2024 14:35
Add changes to ergo-core readme
@ccellado ccellado requested a review from kushti February 15, 2024 15:52
@ccellado ccellado changed the base branch from v5.0.20 to v5.0.21 February 23, 2024 03:38
@kushti kushti merged commit e7dbd1c into ergoplatform:v5.0.21 Feb 26, 2024
3 of 4 checks passed
@ccellado ccellado deleted the refactor_message branch March 1, 2024 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor Message class
3 participants