@@ -358,7 +358,6 @@ runtime_replay( fd_ledger_args_t * ledger_args ) {
358358 if ( !block_exists && slot_meta .slot == slot ) {
359359 int err = fd_rocksdb_import_block_blockstore ( & rocks_db ,
360360 & slot_meta , blockstore ,
361- ledger_args -> copy_txn_status ,
362361 slot == (ledger_args -> trash_hash ) ? trash_hash_buf : NULL ,
363362 ledger_args -> valloc );
364363 if ( FD_UNLIKELY ( err ) ) {
@@ -761,7 +760,6 @@ ingest_rocksdb( char const * file,
761760 ulong start_slot ,
762761 ulong end_slot ,
763762 fd_blockstore_t * blockstore ,
764- int txn_status ,
765763 ulong trash_hash ,
766764 fd_valloc_t valloc ) {
767765
@@ -818,7 +816,6 @@ ingest_rocksdb( char const * file,
818816 int err = fd_rocksdb_import_block_blockstore ( & rocks_db ,
819817 & slot_meta ,
820818 blockstore ,
821- txn_status ,
822819 (slot == trash_hash ) ? trash_hash_buf : NULL ,
823820 valloc );
824821 if ( FD_UNLIKELY ( err ) ) {
@@ -935,12 +932,11 @@ init_blockstore( fd_ledger_args_t * args ) {
935932 }
936933 FD_LOG_NOTICE (( "joined blockstore" ));
937934 } else {
938- ulong txn_max = 256UL ;
939- shmem = fd_wksp_alloc_laddr ( args -> wksp , fd_blockstore_align (), fd_blockstore_footprint ( args -> shred_max , args -> slot_history_max , 16 , txn_max ), blockstore_tag );
935+ shmem = fd_wksp_alloc_laddr ( args -> wksp , fd_blockstore_align (), fd_blockstore_footprint ( args -> shred_max , args -> slot_history_max , 16 ), blockstore_tag );
940936 if ( shmem == NULL ) {
941937 FD_LOG_ERR (( "failed to allocate a blockstore" ));
942938 }
943- args -> blockstore = fd_blockstore_join ( & args -> blockstore_ljoin , fd_blockstore_new ( shmem , 1 , args -> hashseed , args -> shred_max , args -> slot_history_max , 16 , txn_max ) );
939+ args -> blockstore = fd_blockstore_join ( & args -> blockstore_ljoin , fd_blockstore_new ( shmem , 1 , args -> hashseed , args -> shred_max , args -> slot_history_max , 16 ) );
944940 if ( args -> blockstore -> shmem -> magic != FD_BLOCKSTORE_MAGIC ) {
945941 fd_wksp_free_laddr ( shmem );
946942 FD_LOG_ERR (( "failed to allocate a blockstore" ));
@@ -1050,13 +1046,9 @@ minify( fd_ledger_args_t * args ) {
10501046 args -> start_slot ,
10511047 args -> end_slot ,
10521048 args -> blockstore ,
1053- 0 ,
10541049 ULONG_MAX ,
10551050 args -> valloc );
10561051
1057- fd_rocksdb_copy_over_txn_status_range ( & big_rocksdb , & mini_rocksdb , args -> blockstore ,
1058- args -> start_slot , args -> end_slot );
1059- FD_LOG_NOTICE (( "copied over all transaction statuses" ));
10601052 } else {
10611053 FD_LOG_NOTICE (( "skipping copying of transaction statuses" ));
10621054 }
@@ -1172,7 +1164,7 @@ ingest( fd_ledger_args_t * args ) {
11721164 args -> end_slot = slot_ctx -> slot_bank .slot + args -> slot_history_max - 1 ;
11731165 }
11741166 ingest_rocksdb ( args -> rocksdb_list [ 0UL ], args -> start_slot , args -> end_slot ,
1175- blockstore , args -> copy_txn_status , args -> trash_hash , args -> valloc );
1167+ blockstore , args -> trash_hash , args -> valloc );
11761168 }
11771169
11781170 /* Verification */
0 commit comments