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

Integrate new WebSocket host #213

Merged
merged 12 commits into from
May 15, 2023

Conversation

miiu96
Copy link
Contributor

@miiu96 miiu96 commented Apr 3, 2023

  • integrated the new WebSocket host from the repository mx-chain-communication-go
  • update core

@miiu96 miiu96 changed the title latest version of core Integrate new WebSocket host May 12, 2023
@@ -2,12 +2,14 @@
disabled-indices = []
[config.web-socket]
server-url = "localhost:22111"
is-server = true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe it should be mode = "server"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

# URL for the WebSocket client/server connection
# This value represents the IP address and port number that the WebSocket client or server will use to establish a connection.
url = "localhost:22111"
# This flag will start the WebSocket connector as server or client( can be "client" or "server")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This flag describes the mode to start the WebSocket connector. Can be "client" or "server"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

bogdan-rosianu
bogdan-rosianu previously approved these changes May 12, 2023
@iulianpascalau iulianpascalau self-requested a review May 12, 2023 12:20
}
}

func (i *indexer) ProcessPayload(payload *data.PayloadData) error {
operationAction, ok := i.actions[payload.OperationType]
func (i *indexer) ProcessPayload(payload []byte, topic string) error {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing comment

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

@miiu96 miiu96 merged commit 8971aec into feat/new-outport-structures May 15, 2023
@iulianpascalau iulianpascalau deleted the lastes-version-mx-chain-core-go branch May 15, 2023 07:49
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.

3 participants