Skip to content

Commit 8ad3ed2

Browse files
committed
txgraph: Add initial version (feature)
This adds an initial version of the txgraph module, with the TxGraph class. It encapsulates knowledge about the fees, sizes, and dependencies between all mempool transactions, but nothing else. In particular, it lacks knowledge about txids, inputs, outputs, CTransactions, ... and so forth. Instead, it exposes a generic TxGraph::Ref type to reference nodes in the TxGraph, which can be passed around and stored by layers on top.
1 parent 6eab3b2 commit 8ad3ed2

File tree

3 files changed

+1278
-0
lines changed

3 files changed

+1278
-0
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ add_library(bitcoin_node STATIC EXCLUDE_FROM_ALL
301301
signet.cpp
302302
torcontrol.cpp
303303
txdb.cpp
304+
txgraph.cpp
304305
txmempool.cpp
305306
txorphanage.cpp
306307
txrequest.cpp

0 commit comments

Comments
 (0)