| 33 | } |
| 34 | |
| 35 | int ThinBlockManager::numWorkers(const uint256& block) const { |
| 36 | return builders.count(block) |
| 37 | ? builders.find(block)->second.workers.size() |
| 38 | : 0; |
| 39 | } |
| 40 | |
| 41 | // When a stub provides transactions, add those to the transaction finder (wrap it). |
| 42 | struct WrappedFinder : public TxFinder { |