Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unused proposals when receiving commit (#69)
* Test that rejected proposals are proposals in cache and not in commit when receiving commit The test currently fails and the implementation will be fixed in the next commit. * Fix unused proposals when receiving commit Unused proposals were previously made of the proposals in the received commit that would cause the commit to be invalid and thus were excluded. But given that invalid proposals when receiving a commit cause the entire commit to be rejected, it means that unused proposals were always empty when receiving a commit. Unused proposals are now made of the proposals in the receiver's cache that are not in the received commit. * Rename rejected_proposals to unused_proposals The previous term was confusing in the context of receiving a commit. This also removes outdated comments in tests from back when only unused proposals from the committer were returned.
- Loading branch information