Skip to content

Commit 7e524b1

Browse files
Merge #7249: refactor: remove BlockAssembler from friends of CChainstateHelper
a184703 refactor: remove BlockAssembler from friends of CChainstateHelper (Konstantin Akimov) Pull request description: ## Issue being fixed or feature implemented CHainstateHelper and BlockAssembler no need to be friends ## What was done? See commit, changes are trivial ## How Has This Been Tested? Run unit & functional tests ## Breaking Changes N/A ## Checklist: - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone Top commit has no ACKs. Tree-SHA512: cd401f43e0f1d8c936d6bc827d3bbefd001fe13238f266b44d6eba98bbd631e6c1b7fb917a5df6c7e32c54286747a439fdd0b017fa79fc3514c9df17b2149734
2 parents 2b831c1 + a184703 commit 7e524b1

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

src/evo/chainhelper.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,13 @@ class CQuorumBlockProcessor;
3434
class CQuorumManager;
3535
class CQuorumSnapshotManager;
3636
} // namespace llmq
37-
namespace node {
38-
class BlockAssembler;
39-
} // namespace node
40-
4137
class CChainstateHelper
4238
{
43-
friend class node::BlockAssembler;
44-
4539
private:
4640
llmq::CInstantSendManager& isman;
47-
const std::unique_ptr<CCreditPoolManager> credit_pool_manager;
4841

4942
public:
43+
const std::unique_ptr<CCreditPoolManager> credit_pool_manager;
5044
const chainlock::Chainlocks& m_chainlocks;
5145
const std::unique_ptr<CMNHFManager> ehf_manager;
5246
const std::unique_ptr<CMNPaymentsProcessor> mn_payments;

0 commit comments

Comments
 (0)