Skip to content

blockchain: Correct mempool view construction.#2232

Merged
davecgh merged 1 commit into
decred:masterfrom
davecgh:blockchain_correct_mempool_view_construction
Jun 27, 2020
Merged

blockchain: Correct mempool view construction.#2232
davecgh merged 1 commit into
decred:masterfrom
davecgh:blockchain_correct_mempool_view_construction

Conversation

@davecgh
Copy link
Copy Markdown
Member

@davecgh davecgh commented Jun 27, 2020

This corrects the construction of the view used by the mempool when dealing with disapproved blocks and includes new tests to ensure the various disapproval combinations work as intended.

It does not affect consensus code.

This corrects the construction of the view used by the mempool when
dealing with disapproved blocks and includes new tests to ensure the
various disapproval combinations work as intended.
@davecgh davecgh added this to the 1.6.0 milestone Jun 27, 2020
Copy link
Copy Markdown
Member

@chappjc chappjc left a comment

Choose a reason for hiding this comment

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

Successfully synced 4 testnet nodes, and dcrdata, without issue.

Copy link
Copy Markdown
Member

@matheusd matheusd left a comment

Choose a reason for hiding this comment

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

Verified FetchUtxoView() is only called by the mempool and block template generation code paths and otherwise doesn't cause side-effects in the Blockchain struct, so doesn't cause hard-forking consensus changes.

@davecgh davecgh merged commit 01fd2de into decred:master Jun 27, 2020
@davecgh davecgh deleted the blockchain_correct_mempool_view_construction branch June 27, 2020 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants