add comments

This commit is contained in:
f321x
2024-07-10 16:31:36 +00:00
parent 5540c578b5
commit 7b43389da4

View File

@ -66,6 +66,8 @@ impl<D: bdk::database::BatchDatabase> CoordinatorWallet<D> {
// validate bond (check amounts, valid inputs, correct addresses, valid signature, feerate)
// also check if inputs are confirmed already
// bdk::blockchain::compact_filters::Mempool::iter_txs() -> Vec(Tx) to check if contained in mempool
// blockchain::get_tx to get input
pub async fn validate_bond_tx_hex(
&self,
bond: &str,