Pieter Wuille
b22901dfa9
Avoid explicitly computing diagram; compare based on chunks
2024-04-22 09:36:36 -04:00
Greg Sanders
a0376e1061
unit test: clarify unstated assumption for calc_feerate_diagram_rbf chunking
2024-03-26 08:20:30 -04:00
Greg Sanders
890cb015f3
s/effected/affected/
2024-03-26 08:20:30 -04:00
Greg Sanders
d9391ec095
CalculateFeerateDiagramsForRBF: remove size tie-breaking from chunking conflicts
2024-03-26 08:20:30 -04:00
Greg Sanders
c377ae9ba0
unit test: improve ImprovesFeerateDiagram coverage with one less vb case
2024-03-26 08:20:30 -04:00
Greg Sanders
d2bf923eb1
unit test: make calc_feerate_diagram_rbf less brittle
2024-03-26 08:20:30 -04:00
Greg Sanders
216d5ff162
unit test: add coverage showing priority affects diagram check results
2024-03-26 08:20:30 -04:00
Greg Sanders
a80d80936a
unit test: add CheckConflictTopology case for not the only child
2024-03-26 08:20:30 -04:00
Greg Sanders
69bd18ca80
unit test: check tx4 conflict error message
2024-03-26 08:05:22 -04:00
Greg Sanders
c0c37f07eb
unit test: have CompareFeerateDiagram tested with diagrams both ways
2024-03-26 08:05:22 -04:00
Greg Sanders
7295986778
Unit tests for CalculateFeerateDiagramsForRBF
2024-03-18 10:32:00 -04:00
Greg Sanders
b767e6bd47
test: unit test for ImprovesFeerateDiagram
2024-03-18 10:32:00 -04:00
Greg Sanders
e9c5aeb11d
test: Add tests for CompareFeerateDiagram and CheckConflictTopology
2024-03-18 10:32:00 -04:00
glozow
158623b8e0
[refactor] change Workspace::m_conflicts and adjacent funcs/structs to use Txid
...
It's preferable to use type-safe transaction identifiers to avoid
confusing txid and wtxid. The next commit will add a reference to this
set; we use this opportunity to change it to Txid ahead of time instead
of adding new uses of uint256.
2024-01-16 14:20:33 +00:00
MarcoFalke
fa05a726c2
tidy: modernize-use-emplace
2023-10-12 11:27:19 +02:00
TheCharlatan
7d3b35004b
refactor: Move system from util to common library
...
Since the kernel library no longer depends on the system file, move it
to the common library instead in accordance to the diagram in
doc/design/libraries.md.
2023-05-20 12:08:13 +02:00
Hennadii Stepanov
306ccd4927
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
Commits of previous years:
- 2021: f47dda2c58
- 2020: fa0074e2d8
- 2019: aaaaad6ac9
2022-12-24 23:49:50 +00:00
MacroFake
fad7f2239c
test: Remove unused txmempool include from tests
2022-10-18 14:02:09 +02:00
glozow
49db42cdf5
[test] make tx6 child of tx5, not tx3, in rbf_tests
...
There is no effect on the test results because tx3 and tx5 pay the say
fee, but this was the intended configuration, as the comment suggests.
2022-08-11 12:48:09 +01:00
glozow
c320cddb1b
[unit tests] individual RBF Rules in isolation
...
Test each component of the RBF policy in isolation. Unlike the RBF
functional tests, these do not rely on things like RPC results, mempool
submission, etc.
2022-07-28 12:05:05 +01:00