Commit d3fa315
committed
Merge #6952: feat: rework message processing in CNode to prioritize quorum messages
627a8a5 fix: whitepace (pasta)
d0d42c7 refactor: prefix add (PastaPastaPasta)
1d16451 fix: ensure that flooding quorum messages cannot starve the normal queue of processing (pasta)
6c955b7 fix: whitespace (pasta)
df6cc76 feat: rework message processing in CNode to prioritize quorum messages (pasta)
Pull request description:
## Issue being fixed or feature implemented
This update introduces a new queue for quorum-priority messages, allowing for better handling of critical network messages. The `MarkReceivedMsgsForProcessing` function now classifies incoming messages into quorum and normal queues, while the `PollMessage` function prioritizes messages from the quorum queue when available. This change enhances the efficiency of message processing and ensures that important messages are handled promptly.
## What was done?
_Describe your changes in detail_
## How Has This Been Tested?
_Please describe in detail how you tested your changes._
_Include details of your testing environment, and the tests you ran
to see how your change affects other areas of the code, etc._
## Breaking Changes
_Please describe any breaking changes your code introduces_
## Checklist:
_Go over all the following points, and put an `x` in all the boxes that apply._
- [ ] 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 _(for repository code-owners and collaborators only)_
ACKs for top commit:
UdjinM6:
utACK 627a8a5
kwvg:
utACK 627a8a5
Tree-SHA512: d8eac0934c377daa36e12ed75a7d944ec0025f021c5d36a609a2967bdc41464e66ba8395abc4559a949f41c136ca496bda6276b032ec9011213563b0134764d42 files changed
+79
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4652 | 4652 | | |
4653 | 4653 | | |
4654 | 4654 | | |
4655 | | - | |
4656 | | - | |
| 4655 | + | |
| 4656 | + | |
| 4657 | + | |
| 4658 | + | |
| 4659 | + | |
| 4660 | + | |
| 4661 | + | |
| 4662 | + | |
4657 | 4663 | | |
4658 | 4664 | | |
4659 | | - | |
| 4665 | + | |
| 4666 | + | |
| 4667 | + | |
| 4668 | + | |
| 4669 | + | |
| 4670 | + | |
| 4671 | + | |
4660 | 4672 | | |
4661 | 4673 | | |
4662 | 4674 | | |
4663 | | - | |
4664 | | - | |
4665 | | - | |
| 4675 | + | |
| 4676 | + | |
| 4677 | + | |
| 4678 | + | |
| 4679 | + | |
| 4680 | + | |
| 4681 | + | |
4666 | 4682 | | |
4667 | 4683 | | |
4668 | 4684 | | |
4669 | 4685 | | |
4670 | 4686 | | |
| 4687 | + | |
| 4688 | + | |
| 4689 | + | |
| 4690 | + | |
| 4691 | + | |
| 4692 | + | |
| 4693 | + | |
| 4694 | + | |
| 4695 | + | |
| 4696 | + | |
| 4697 | + | |
| 4698 | + | |
| 4699 | + | |
| 4700 | + | |
| 4701 | + | |
| 4702 | + | |
| 4703 | + | |
| 4704 | + | |
| 4705 | + | |
| 4706 | + | |
| 4707 | + | |
| 4708 | + | |
| 4709 | + | |
| 4710 | + | |
| 4711 | + | |
| 4712 | + | |
| 4713 | + | |
| 4714 | + | |
| 4715 | + | |
| 4716 | + | |
4671 | 4717 | | |
4672 | 4718 | | |
4673 | 4719 | | |
4674 | 4720 | | |
4675 | 4721 | | |
4676 | 4722 | | |
4677 | | - | |
| 4723 | + | |
| 4724 | + | |
| 4725 | + | |
4678 | 4726 | | |
4679 | | - | |
| 4727 | + | |
4680 | 4728 | | |
4681 | 4729 | | |
4682 | 4730 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1094 | 1094 | | |
1095 | 1095 | | |
1096 | 1096 | | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
1097 | 1100 | | |
1098 | 1101 | | |
1099 | 1102 | | |
| |||
2002 | 2005 | | |
2003 | 2006 | | |
2004 | 2007 | | |
| 2008 | + | |
| 2009 | + | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
| 2013 | + | |
| 2014 | + | |
| 2015 | + | |
| 2016 | + | |
| 2017 | + | |
| 2018 | + | |
| 2019 | + | |
| 2020 | + | |
| 2021 | + | |
| 2022 | + | |
| 2023 | + | |
| 2024 | + | |
| 2025 | + | |
| 2026 | + | |
| 2027 | + | |
2005 | 2028 | | |
0 commit comments