-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
testsNew or improved testsNew or improved tests
Description
Describe the bug
This test misunderstands Anchor
s. There is no such thing as an "unconfirmed anchor", and ChainPosition
does not implement Anchor
. We should rewrite this test to be comprehensive.
Proposed test scenarios
- Insert tx with txid
A
, then insert partial txout(s) of the same txid. Expect: No changes toTxGraph
(full tx should still exist in graph). Returned changeset is empty. - Insert partial txout with txid
B
. Then insert full tx with txidB
. Expect: the full tx should replace the partial tx. Check graph and returned changeset to confirm this. - Do the above two tests with different counts of partial txids.
Metadata
Metadata
Assignees
Labels
testsNew or improved testsNew or improved tests
Type
Projects
Status
Todo