iotaledger / cliri

Coo Less IRI
Other
24 stars 8 forks source link

Connected components: 1. find N most recent transactions #88

Closed alon-e closed 5 years ago

alon-e commented 5 years ago

related to: #86 focusing on 2. ii. in this issue.

the following functionality is needed: given a list of recent tips M, find the N most recent transactions.

alon-e commented 5 years ago

priority queues are linear for contains(), use result set to avoid adding an already visited node to the heap.