Annotation may be wrong? #24713

issue guoyl opened this issue on March 29, 2022
  1. guoyl commented at 11:57 PM on March 29, 2022: none

    In the file: https://github.com/bitcoin/bitcoin/blob/master/src/txmempool.h the type indexed_transaction_set use incorrect annotation during declaration? The hashed_unique txid and wtxid should not be sorted. The source code is like this: // sorted by txid boost::multi_index::hashed_unique<mempoolentry_txid, SaltedTxidHasher>, // sorted by wtxid boost::multi_index::hashed_unique< boost::multi_index::tag<index_by_wtxid>, mempoolentry_wtxid, SaltedTxidHasher

    ,

  2. guoyl closed this on Mar 30, 2022

  3. fanquake locked this on Apr 11, 2022
Contributors

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-21 18:13 UTC

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