mirror of
https://github.com/RoboSats/taptrade-core.git
synced 2025-07-28 13:43:24 +00:00
add comments
This commit is contained in:
@ -66,6 +66,8 @@ impl<D: bdk::database::BatchDatabase> CoordinatorWallet<D> {
|
|||||||
|
|
||||||
// validate bond (check amounts, valid inputs, correct addresses, valid signature, feerate)
|
// validate bond (check amounts, valid inputs, correct addresses, valid signature, feerate)
|
||||||
// also check if inputs are confirmed already
|
// 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(
|
pub async fn validate_bond_tx_hex(
|
||||||
&self,
|
&self,
|
||||||
bond: &str,
|
bond: &str,
|
||||||
|
Reference in New Issue
Block a user