doc: Document MemPoolAccept::Finalize(...) precondition #16915

pull practicalswift wants to merge 1 commits into bitcoin:master from practicalswift:clarify-mempoolaccept-finalize-assumptions changing 1 files +2 −1
  1. practicalswift commented at 8:44 AM on September 19, 2019: contributor

    Document MemPoolAccept::Finalize(...) precondition.

    Context: A quick look at ...

    $ git grep m_conflicting_size
    src/validation.cpp:        size_t m_conflicting_size;
    src/validation.cpp:    size_t& nConflictingSize = ws.m_conflicting_size;
    src/validation.cpp:    const size_t& nConflictingSize = ws.m_conflicting_size;
    

    ... might look like an uninitialized read (which it is not) :)

  2. fanquake added the label Docs on Sep 19, 2019
  3. MarcoFalke commented at 1:20 PM on September 19, 2019: member

    Fine, but I don't think we need the same comment in three places. One should be enough

  4. doc: Document how members of struct Workspace are initialized 3bd91dd90c
  5. practicalswift force-pushed on Sep 19, 2019
  6. practicalswift commented at 8:46 PM on September 19, 2019: contributor

    @MarcoFalke Feedback addressed. Please re-review :)

  7. practicalswift commented at 8:20 AM on September 26, 2019: contributor

    @MarcoFalke @fanquake Would you mind reviewing? :)

  8. MarcoFalke commented at 8:34 PM on October 11, 2019: member

    ACK 3bd91dd90c1b38ba2d15329795ebe21249ee2ceb

  9. MarcoFalke commented at 8:34 PM on October 11, 2019: member
  10. practicalswift commented at 7:18 PM on November 11, 2019: contributor

    Ready for merge? :)

  11. practicalswift closed this on Nov 14, 2019

  12. practicalswift deleted the branch on Apr 10, 2021
  13. DrahtBot locked this on Aug 18, 2022
Labels

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-16 15:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me