MCPcopy Create free account
hub / github.com/bwt-dev/bwt / category_str

Method category_str

src/indexer.rs:462–473  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

460 }
461
462 pub fn category_str(&self) -> &str {
463 match self {
464 Self::ChainTip(..) => "ChainTip",
465 Self::Reorg(..) => "Reorg",
466
467 Self::Transaction(..) => "Transaction",
468 Self::TransactionReplaced(..) => "TransactionReplaced",
469
470 Self::TxoFunded(..) => "TxoFunded",
471 Self::TxoSpent(..) => "TxoSpent",
472 }
473 }
474
475 // create all the changelog events inflicted by the transaction
476 fn from_tx(txid: &Txid, tx_entry: &TxEntry) -> Vec<Self> {

Callers 1

category_matchesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected