Skip to content

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

@yyforyongyu yyforyongyu self-requested a review December 6, 2024 10:07
@bullet-tooth bullet-tooth force-pushed the chore/refactor-bitcoind-conn branch from 9c0adae to 06b6f33 Compare December 13, 2024 15: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.

1 participant