@@ -224,15 +224,16 @@ impl CardanoDbVerifyCommand {
224
224
"immutables_verification_error_file" : json_file_path,
225
225
"immutables_dir" : lists. immutables_dir,
226
226
"missing_files_count" : lists. missing. len( ) ,
227
- "tampered_files_count" : lists. tampered. len( )
227
+ "tampered_files_count" : lists. tampered. len( ) ,
228
+ "non_verifiable_files_count" : lists. non_verifiable. len( ) ,
228
229
}
229
230
} ) ;
230
231
231
232
println ! ( "{json}" ) ;
232
233
} else {
233
234
println ! ( "{error_message}" ) ;
234
235
println ! (
235
- "See the lists of all missing and tampered files in {}" ,
236
+ "See the lists of all missing, tampered and non verifiable files in {}" ,
236
237
json_file_path. display( )
237
238
) ;
238
239
if !lists. missing . is_empty ( ) {
@@ -244,6 +245,12 @@ impl CardanoDbVerifyCommand {
244
245
lists. tampered. len( )
245
246
) ;
246
247
}
248
+ if !lists. non_verifiable . is_empty ( ) {
249
+ println ! (
250
+ "Number of non verifiable immutable files: {:?}" ,
251
+ lists. non_verifiable. len( )
252
+ ) ;
253
+ }
247
254
}
248
255
}
249
256
}
@@ -260,6 +267,7 @@ fn write_json_file_error(date: DateTime<Utc>, lists: &ImmutableFilesLists) -> Pa
260
267
"immutables_dir" : lists. immutables_dir,
261
268
"missing-files" : lists. missing,
262
269
"tampered-files" : lists. tampered,
270
+ "non-verifiable-files" : lists. non_verifiable,
263
271
} ) )
264
272
. unwrap ( ) ,
265
273
)
0 commit comments