mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
log: Add logs when send qgetdata (#5275)
## Issue being fixed or feature implemented ## What was done? Added logs with requested parameters (`llmqType`, `quorumHash`, `proRegTx`) when sending `qgetdata` for better troubleshooting. ## How Has This Been Tested? ## Breaking Changes ## 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 **For repository code-owners and collaborators only** - [x] I have assigned this pull request to a milestone
This commit is contained in:
parent
d5ccebda10
commit
7f520f5c95
@ -478,6 +478,8 @@ bool CQuorumManager::RequestQuorumData(CNode* pfrom, Consensus::LLMQType llmqTyp
|
||||
LogPrint(BCLog::LLMQ, "CQuorumManager::%s -- Already requested\n", __func__);
|
||||
return false;
|
||||
}
|
||||
LogPrint(BCLog::LLMQ, "CQuorumManager::%s -- sending QGETDATA quorumHash[%s] llmqType[%d] proRegTx[%s]\n", __func__, key.quorumHash.ToString(),
|
||||
ToUnderlying(key.llmqType), key.proRegTx.ToString());
|
||||
|
||||
CNetMsgMaker msgMaker(pfrom->GetSendVersion());
|
||||
connman.PushMessage(pfrom, msgMaker.Make(NetMsgType::QGETDATA, it.first->second));
|
||||
|
Loading…
Reference in New Issue
Block a user