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

сhore: Refactor bitcoind conn and client #966

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

bullet-tooth
Copy link

@bullet-tooth bullet-tooth commented Nov 21, 2024

Why?

In the current version of the code, bitcoind_conn and bitcoind_client know each other's internals, which leads to deep coupling and high complexity.

Proposed Changes

  • Now bitcoind_conn acts as a low-level component and knows nothing about bitcoind_client
  • And bitcoind_client acts as a high-level component and uses bitcoind_conn as a communication layer and subscribes to its events

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.

1 participant