blocks property

List<Hash> get blocks

Get blocks in this inventory

Implementation

List<Hash> get blocks {
  return invList
      .where((inv) => inv.type == InvType.msgBlock)
      .map((inv) => inv.hash)
      .toList();
}