THAMER
Sovereign Bitcoin Wallet

WALLET AI BITCOIN

Your Bitcoin Wallet. Your Keys. Your Engine.

Self-hosted Bitcoin software built for developers, applications, and AI agents.

CREATE WALLET

Bitcoin Transaction Relay: From Inventory to Packages

permalink THAMER
#bitcoin-transaction-relay#compact-blocks#package-relay

Overview

Transaction relay is the mechanism by which unconfirmed transactions travel between Bitcoin peers. It is distinct from block relay and distinct from the consensus rules applied to confirmed transactions.

Inventory announcements

Nodes commonly announce transaction identifiers and let peers request data. Relay policies and rate limits help protect network resources. Network connectivity, peer diversity and local mempool rules influence which transactions a node sees.

Fee policy and replacement

Fee floors and replacement rules affect admission. A transaction can be valid for inclusion in a block yet not be relayed by a particular node. Wallets must handle delayed propagation, rebroadcast, conflicts and changing feerates without assuming one node represents the whole network.

Package concepts

A transaction package groups related transactions for policy evaluation. This is relevant when a child transaction pays enough fees to make mining its low-fee parent worthwhile. Package support is not equivalent to arbitrary atomic settlement or a cross-chain swap.

Why the distinction matters

Monitoring systems should record observation and confirmation separately. The first is a mempool or peer event; the second is a chain-state event. Reorganizations can change the latter, and replacement can change the former.

Primary reading

BIP 125: RBF
https://github.com/bitcoin/bips/blob/master/bip-0125.mediawiki

Bitcoin Core repository
https://github.com/bitcoin/bitcoin

Bitcoin Core developer documentation
https://bitcoincore.org/en/doc/

Related Bitcoin history

Explore the historical questions in the THAMER ASK archive:
https://thamer.org/ask

Related THAMER research

Who received the first Bitcoin transaction?
https://thamer.org/ask/who-received-the-first-bitcoin-transaction

Questions & Answers

Explore all questions →

Latest from the Lab

THAMER illustrated developer portrait and signature

ABOUT THE DEVELOPER

Independent Software Developer specializing in Bitcoin Script, Golang, and AI Agents.

Software engineering · Independent research · Open-source projects