fn txrow_by_txid(store: &dyn ReadStore, txid: &Txid) -> Option<TxRow> {
    let key = TxRow::filter_full(&txid);
    let value = store.get(&key)?;
    Some(TxRow::from_row(&Row { key, value }))
}
// TODO: the functions below can be part of ReadStore.
the functions below can be part of ReadStore.
the functions below can be part of ReadStore .
fn txrow_by_txid(store: &dyn ReadStore, txid: &Txid) -> Option<TxRow> {
    let key = TxRow::filter_full(&txid);
    let value = store.get(&key)?;
    Some(TxRow::from_row(&Row { key, value }))
}
fn txrow_by_txid ( store : & dyn ReadStore , txid : & Txid ) -> Option < TxRow > { let key = TxRow :: filter_full ( & txid ) ; let value = store . get ( & key ) ? ; Some ( TxRow :: from_row ( & Row { key , value } ) ) }
TODO: the functions below can be part of ReadStore.
TODO : the functions below can be part of ReadStore .
store
&dyn ReadStore
txid
&Txid
store
&dyn ReadStore
txid
&Txid