doc: Improve TxGraph & co docs

This commit is contained in:
Daniela Brozzoni
2023-10-17 11:00:05 +02:00
parent 908b0f9f5e
commit 0adff9c35f
11 changed files with 99 additions and 38 deletions

View File

@@ -110,6 +110,7 @@ fn test_tx_conflict_handling() {
..Default::default()
},
],
// the txgraph is going to pick tx_conflict_2 because of higher lexicographical txid
exp_chain_txs: HashSet::from(["tx1", "tx_conflict_2"]),
exp_chain_txouts: HashSet::from([("tx1", 0), ("tx_conflict_2", 0)]),
exp_unspents: HashSet::from([("tx_conflict_2", 0)]),