| 168 | } |
| 169 | |
| 170 | bool PartiallyDownloadedBlock::IsTxAvailable(size_t index) const { |
| 171 | assert(!header.IsNull()); |
| 172 | assert(index < txn_available.size()); |
| 173 | return txn_available[index] != nullptr; |
| 174 | } |
| 175 | |
| 176 | ReadStatus PartiallyDownloadedBlock::FillBlock(CBlock& block, const std::vector<CTransactionRef>& vtx_missing) { |
| 177 | assert(!header.IsNull()); |