Skip to content

Conversation

@jnewbery
Copy link
Contributor

ConnectTrace is now only used to track blocks that were connected during
an ActivateBestChainStep call. Simplify it to a typedef and fix
comments.

Rather than trying to remove ConnectTrace, which would change the order that notifications are fired in the case of a re-org (#17562 (comment)), just simplify it and fix comments.

Copy link
Member

@maflcko maflcko left a comment

Choose a reason for hiding this comment

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

Concept ACK

@jnewbery jnewbery force-pushed the 2020-04-connecttrace-simplify branch from a9f84cc to 42f5e77 Compare April 18, 2020 16:23
@jnewbery
Copy link
Contributor Author

Thanks for the review @MarcoFalke . I've addressed your comments.

@DrahtBot
Copy link
Contributor

DrahtBot commented May 7, 2020

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

Reviewers, this pull request conflicts with the following ones:

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@DrahtBot DrahtBot mentioned this pull request May 7, 2020
18 tasks
@jonatack
Copy link
Member

jonatack commented Jul 8, 2020

Concept ACK

Copy link
Contributor

@robot-dreams robot-dreams left a comment

Choose a reason for hiding this comment

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

Concept ACK, thanks for doing this cleanup!

Unit tests passed locally

(Aside: What's the desired benefit of reviewers doing local testing, given the nice CI system? Is it to get more test runs on different system configurations?)

@jnewbery jnewbery force-pushed the 2020-04-connecttrace-simplify branch from 42f5e77 to d956ac7 Compare September 4, 2020 09:53
@jnewbery
Copy link
Contributor Author

jnewbery commented Sep 4, 2020

I've addressed the comment here #18685 (comment) and rebased on master (there wasn't a conflict but this was a few thousand commits behind master and it's a small change).

Copy link
Contributor

@robot-dreams robot-dreams left a comment

Choose a reason for hiding this comment

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

ACK d956ac72f11c0888c6d719d257aa050a37d12ff2

@jnewbery jnewbery force-pushed the 2020-04-connecttrace-simplify branch from d956ac7 to 4faaaa1 Compare September 7, 2020 09:47
@jnewbery jnewbery changed the title [validation] Simplify ConnectTrace consensus: simplify ConnectTrace Oct 23, 2020
@jnewbery jnewbery changed the title consensus: simplify ConnectTrace consensus: Simplify ConnectTrace Oct 23, 2020
Copy link
Contributor

@ajtowns ajtowns left a comment

Choose a reason for hiding this comment

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

utACK 4faaaa1d5935e1296c624a8d9d414989ec2fede6

Clarify that the mempool is not guaranteed to be in a consistent state
with the chain tip when BlockConnected and BlockDisconnected are fired.
Remove outdated comment about BlockConnected providing a vector of
transactions.
ConnectTrace is now only used to track blocks that were connected during
an ActivateBestChainStep call. Simplify it to a typedef.
@jnewbery jnewbery force-pushed the 2020-04-connecttrace-simplify branch from 4faaaa1 to 16523a7 Compare February 27, 2021 18:07
@jnewbery
Copy link
Contributor Author

Thanks for the review, @ajtowns! I've addressed your comments and rebased on master (since this was a couple of thousand commits behind the current master).

@jnewbery
Copy link
Contributor Author

@ajtowns do you mind looking at this again? I've addressed your review comments.

@jnewbery
Copy link
Contributor Author

jnewbery commented Jun 2, 2021

@ajtowns?

@DrahtBot
Copy link
Contributor

🐙 This pull request conflicts with the target branch and needs rebase.

Want to unsubscribe from rebase notifications on this pull request? Just convert this pull request to a "draft".

@jnewbery
Copy link
Contributor Author

Closing due to lack of reviewer interest.

@jnewbery jnewbery closed this Jul 16, 2021
@Rspigler
Copy link
Contributor

Mark up for grabs?

@jnewbery
Copy link
Contributor Author

Mark up for grabs?

@Rspigler feel free to pick this up if you're interested. I'm happy to review, but this didn't get much reviewer interest last time round.

@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants