CatapultServer  v0.5.0.1 (Elephant)
catapult::unbondedpruning Namespace Reference

Functions

utils::HashSet FindDependentTransactionHashes (const model::TransactionInfo &transactionInfo, const model::NotificationPublisher &notificationPublisher)
 
DECLARE_SERVICE_REGISTRAR() UnbondedPruning ()
 

Function Documentation

◆ FindDependentTransactionHashes()

utils::HashSet catapult::unbondedpruning::FindDependentTransactionHashes ( const model::TransactionInfo transactionInfo,
const model::NotificationPublisher notificationPublisher 
)

Finds the hashes of all transactions dependent on transactionInfo using notificationPublisher.

Note
This function only finds dependent transactions by inspecting hash lock transactions.
Here is the call graph for this function:

◆ UnbondedPruning()

DECLARE_SERVICE_REGISTRAR() catapult::unbondedpruning::UnbondedPruning ( )

Creates a registrar for an unbonded pruning service.

Note
This service is responsible for pruning unbonded aggregates from the pt cache.