(&self)
| 635 | } |
| 636 | |
| 637 | fn da_backlog_bytes(&self) -> u64 { |
| 638 | let pending_blocks: u64 = |
| 639 | self.blocks.iter().skip(self.block_cursor).map(BufferedBlock::estimated_da_bytes).sum(); |
| 640 | let channels: u64 = self |
| 641 | .channels |
| 642 | .iter() |
| 643 | .filter(|channel| !self.egress.channel_fully_confirmed(channel)) |
| 644 | .map(Channel::da_backlog_bytes) |
| 645 | .sum(); |
| 646 | |
| 647 | pending_blocks + channels |
| 648 | } |
| 649 | |
| 650 | fn set_blob_override(&mut self, active: bool) { |
| 651 | if self.blob_override == active { |
nothing calls this directly
no test coverage detected