Skip to content

trivial: remove unneeded header, enumerate circular dependencies - #5941

Merged
PastaPastaPasta merged 1 commit into
dashpay:developfrom
kwvg:circ_dpn
Mar 18, 2024
Merged

PastaPastaPasta merged 1 commit into
dashpay:developfrom
kwvg:circ_dpn

Conversation

@kwvg

@kwvg kwvg commented Mar 18, 2024

Copy link
Copy Markdown
Collaborator

Additional Information

As found in #5929 (comment), validation.h is not needed for specialtxman.cpp and removing the header uncovers other circular dependencies that were obscured by the shortest circular path (see #5929 (comment)).

Breaking Changes

None.

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas (note: N/A)
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation (note: N/A)
  • I have assigned this pull request to a milestone (for repository code-owners and collaborators only)

As found in a review comment in dashpay#5908[1], validation.h is not needed for
specialtxman.cpp and removing the header uncovers other circular
dependencies that were obscured by the shortest circular path[2].

[1] - dashpay#5929 (comment)
[2] - dashpay#5929 (comment)

@knst knst left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM dfddfd0

let's wait CI

@UdjinM6 UdjinM6 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

utACK

@kwvg
kwvg requested a review from PastaPastaPasta March 18, 2024 19:03

@PastaPastaPasta PastaPastaPasta left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

utACK dfddfd0

@PastaPastaPasta
PastaPastaPasta merged commit 4c06535 into dashpay:develop Mar 18, 2024
gades pushed a commit to cosanta/cosanta-core that referenced this pull request May 8, 2026
036d7ea doc: Correct description of CAddrMan::Create() (Amiti Uttarwar)
318176a doc: Update high-level addrman description (Martin Zumsande)

Pull request description:

  The high-level description of `addrman` has outdated information with respect to the eviction behavior, both for the New and Tried tables (at least since dashpay#5941) - this has confused me in the past.

  This PR corrects this and also adds basic info about the bucket size and position.

ACKs for top commit:
  amitiuttarwar:
    reACK 036d7ea
  jnewbery:
    ACK 036d7ea

Tree-SHA512: 3f0635d765f5e580a1fae31187742a833cef66ef2286d40eeb28f2253521260038e16e5f1a65741464a2ddfdbeb5c0f1bc38bf73841e600639033d59c3c534e4
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