Skip to content

Conversation

@random-zebra
Copy link

Follow-up to #2728.
This pull makes blockToJSON, blockheaderToJSON, and TxToJSON free of cs_main locks by passing the chainTip and using GetAncestor to check if a block is part of the active chain (as per bitcoin#12151).

@random-zebra random-zebra added this to the 6.0.0 milestone Jan 24, 2022
@random-zebra random-zebra self-assigned this Jan 24, 2022
@random-zebra random-zebra force-pushed the 202201_blockToJSON branch 2 times, most recently from 60ab6f1 to ac391cd Compare January 25, 2022 14:42
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.

a few minor static analysis nits, otherwise functional ACK

@random-zebra
Copy link
Author

Removed nullptr initializer values.

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 5e0d308

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.

utACK 5e0d308 and merging..

@furszy furszy merged commit 7216dc9 into PIVX-Project:master Feb 3, 2022
@Fuzzbawls Fuzzbawls modified the milestones: 6.0.0, 5.5.0 Sep 11, 2022
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.

4 participants