# What are interesting parts of the Bitcoin Core codebase?

**URL:** <https://delvingbitcoin.org/t/what-are-interesting-parts-of-the-bitcoin-core-codebase/565>\
**Category:** Implementation\
**Created:** [February 14, 2024, 2:36am UTC](https://delvingbitcoin.org/t/what-are-interesting-parts-of-the-bitcoin-core-codebase/565 "2024-02-14T02:36:28Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![recent798](https://delvingbitcoin.org/letter_avatar_proxy/v4/letter/r/ecd19e/32.png) [@recent798](https://delvingbitcoin.org/u/recent798)\
**Post date:** [February 15, 2024, 8:16am UTC](https://delvingbitcoin.org/t/what-are-interesting-parts-of-the-bitcoin-core-codebase/565/8 "2024-02-15T08:16:19Z")

</div>

> [@rodarmor](#):
>
> Anything in the existing codebase

Yes, the function would be `BlockAssembler::addPackageTxs`, which is the transaction selection algorithm for the next block in the chain, taking the presumed best transactions from the mempool.

---

_[View the full topic](https://delvingbitcoin.org/t/what-are-interesting-parts-of-the-bitcoin-core-codebase/565)._
