Skip to content

Commit

Permalink
Add txrequest module
Browse files Browse the repository at this point in the history
This adds a new module that defines TxRequestTracker, a data
structure that maintains all information about transaction
requests, and coordinates requests.

Backported from: da3b8fd
                 3c7fe0e
                 fd9a006

Original Author: Pieter Wuille <[email protected]>

Conflicts:
- replaced GenTx with uint256 because no segwit
- used int64_t instead of std::chrono::microseconds per utiltime
- removed wtxid tests
  • Loading branch information
patricklodder committed Jul 15, 2024
1 parent 4add977 commit 4bc8099
Show file tree
Hide file tree
Showing 5 changed files with 1,677 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ BITCOIN_CORE_H = \
torcontrol.h \
txdb.h \
txmempool.h \
txrequest.h \
ui_interface.h \
undo.h \
util.h \
Expand Down Expand Up @@ -220,6 +221,7 @@ libdogecoin_server_a_SOURCES = \
torcontrol.cpp \
txdb.cpp \
txmempool.cpp \
txrequest.cpp \
ui_interface.cpp \
validation.cpp \
validationinterface.cpp \
Expand Down
1 change: 1 addition & 0 deletions src/Makefile.test.include
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ BITCOIN_TESTS =\
test/testutil.h \
test/timedata_tests.cpp \
test/transaction_tests.cpp \
test/txrequest_tests.cpp \
test/txvalidationcache_tests.cpp \
test/versionbits_tests.cpp \
test/uint256_tests.cpp \
Expand Down
Loading

0 comments on commit 4bc8099

Please sign in to comment.