Skip to content

Move websocket initialization code out of node constructor#4068

Merged
pwojcikdev merged 2 commits intonanocurrency:developfrom
pwojcikdev:websocket-init-cleanup
Jan 24, 2023
Merged

Move websocket initialization code out of node constructor#4068
pwojcikdev merged 2 commits intonanocurrency:developfrom
pwojcikdev:websocket-init-cleanup

Conversation

@pwojcikdev
Copy link
Copy Markdown
Contributor

The node constructor is currently a very crowded place, which makes it harder than needed to understand and work with. Ideally, node should only concern itself with high level initialization, leaving details to be implemented in component classes. This PR is an attempt to take a bite out of this problem and move websocket setup code to a dedicated class.

@pwojcikdev pwojcikdev force-pushed the websocket-init-cleanup branch from 31312a7 to 26aadc4 Compare January 23, 2023 17:19
@pwojcikdev pwojcikdev merged commit 6c90bc2 into nanocurrency:develop Jan 24, 2023
@pwojcikdev pwojcikdev deleted the websocket-init-cleanup branch January 24, 2023 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants