Skip to content

Conversation

@random-zebra
Copy link

As per title (and discussion here: #2607 (comment)) do not accept quorum commitment txes in the mempool.
Add test coverage.

@random-zebra random-zebra added this to the 6.0.0 milestone Dec 27, 2021
@random-zebra random-zebra self-assigned this Dec 27, 2021
Copy link

@furszy furszy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 55b7d537b8cd6ad9b8e37d05e7d392378903684f

With a plus, added test coverage for the rejection of a null qfc after mining a valid qfc here:
furszy@16805d8

Can squash it on my commit as well.

furszy and others added 2 commits December 27, 2021 15:25
1) Mine a qfc with an invalid height, which should end up being rejected.
2) Mine a null qfc before the mining phase, which should end up being rejected.
3) Mine two qfc in the same block, which should end up being rejected.
4) Mine block without qfc during the mining phase, which should end up being rejected.
5) Mine two blocks with a null qfc.
6) Try to relay the valid qfc to the mempool, which should end up being rejected.
7) Mine a qfc with an invalid quorum hash, which should end up being rejected.
8) Mine the final valid qfc in a block.
@random-zebra
Copy link
Author

Nice. 👌 Added.

Copy link

@furszy furszy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

obviously tested ACK 11a1b24

Copy link
Collaborator

@Fuzzbawls Fuzzbawls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 11a1b24

@furszy furszy merged commit 83a8183 into PIVX-Project:master Dec 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants