Update documentation

* Add `warn(missing_docs)` for `bdk_wallet` and `bdk_chain`.
* Add missing documentation.
* Remove `LocalChain::heights` method.
* Remove old TODOs.
This commit is contained in:
志宇
2023-05-29 21:54:53 +08:00
parent cff92111d5
commit 75f8b81d58
8 changed files with 54 additions and 14 deletions

View File

@@ -983,9 +983,13 @@ impl<A: Anchor> TxGraph<A> {
)]
#[must_use]
pub struct Additions<A = ()> {
/// Added transactions.
pub txs: BTreeSet<Transaction>,
/// Added txouts.
pub txouts: BTreeMap<OutPoint, TxOut>,
/// Added anchors.
pub anchors: BTreeSet<(A, Txid)>,
/// Added last-seen unix timestamps of transactions.
pub last_seen: BTreeMap<Txid, u64>,
}