Skip to content

Instantly share code, notes, and snippets.

This is not an exhaustive list. This is mostly from looking at PRs or IRC meetings. Any mistakes are my own.

Backports

  • [MERGED] 0.19: Add txids with non-standard inputs to reject filter #19681
  • [MERGED] 0.20: Add txids with non-standard inputs to reject filter #19680
  • 0.20: Backport wtxid relay #19606
  • bitcoin/bitcoin#19569 (comment) (to be opened by jnewbery) with #19610

In progress/priorities

  • [MERGED] Transaction overhaul (#19184 - sipa) (Review by sdaftuar, ajtowns, ariard)

Eclipse attacks

Eclipse attacks occur when a node is not connected to any honest peers on the network, and instead its peer connections are controlled by an adversary. Once denied connectivity to the honest network, a victim can be attacked in numerous ways, such as with double-spends or funds loss on layer 2 systems (such as the Lightning Network). Mining nodes attacked in this way can be forced to waste hashpower or be commandeered in selfish mining attacks, or generally aid in causing forks on the network.

This document attempts to describe the mechanisms implemented in Bitcoin Core to mitigate eclipse attacks followed by open questions and areas of further research.

Restart-based eclipse attack

A restart-based eclipse attack occurs when the adversary is able to sufficiently saturate the victim's address manager with attacker IPs (a.k.a. addrman flooding), and then the victim restarts. If the attack succeeds, the victim will lose its current outgoing connections due to the restart and be more lik

@adamjonas
adamjonas / priority_projects.md
Last active April 2, 2025 13:54
Priority Projects

Evolution of Bitcoin Core Priority Projects

Origins and Motivation

In April 2023, Bitcoin Core developers initiated the Priority Projects experiment to address a recognized bias in the development process towards smaller patches over more significant projects. The initiative aimed to help maintainers prioritize significant projects when facing competing demands for review attention.

First Iteration: A Promising Start

The initial implementation used a straightforward approach:

@adamjonas
adamjonas / long_running_functional_tests.txt
Created November 6, 2024 20:40
Bitcoin Core longest running functional tests
1. feature_block.py | 108 s
2. p2p_segwit.py | 83 s
3. feature_taproot.py | 79 s
4. feature_maxuploadtarget.py | 72 s
5. mining_getblocktemplate_longpoll.py | 69 s
6. feature_fee_estimation.py | 60 s
7. feature_assumeutxo.py | 56 s
8. p2p_opportunistic_1p1c.py | 56 s
9. p2p_tx_download.py | 52 s
10. wallet_conflicts.py --descriptors | 52 s