Skip to content

Commit 2b18234

Browse files
committed
ghost: double key-ing on blockid
1 parent d8a9974 commit 2b18234

File tree

10 files changed

+1071
-363
lines changed

10 files changed

+1071
-363
lines changed

src/app/firedancer/topology.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,6 @@ fd_topo_initialize( config_t * config ) {
458458
fd_topob_tile_uses( topo, replay_tile, banks_obj, FD_SHMEM_JOIN_MODE_READ_WRITE );
459459
FOR(exec_tile_cnt) fd_topob_tile_uses( topo, &topo->tiles[ fd_topo_find_tile( topo, "exec", i ) ], banks_obj, FD_SHMEM_JOIN_MODE_READ_WRITE );
460460
FOR(writer_tile_cnt) fd_topob_tile_uses( topo, &topo->tiles[ fd_topo_find_tile( topo, "writer", i ) ], banks_obj, FD_SHMEM_JOIN_MODE_READ_WRITE );
461-
fd_topob_tile_uses( topo, &topo->tiles[ fd_topo_find_tile( topo, "tower", 0 ) ], banks_obj, FD_SHMEM_JOIN_MODE_READ_ONLY );
462461
FD_TEST( fd_pod_insertf_ulong( topo->props, banks_obj->id, "banks" ) );
463462

464463
/* Setup a shared wksp object for bank hash cmp. */

src/choreo/epoch/fd_epoch.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@ fd_epoch_init( fd_epoch_t * epoch,
138138

139139
voter->stake = curr->elem.stake;
140140

141-
voter->replay_vote = FD_SLOT_NULL;
142-
voter->gossip_vote = FD_SLOT_NULL;
143-
voter->rooted_vote = FD_SLOT_NULL;
141+
voter->replay_vote.slot = FD_SLOT_NULL;
142+
voter->gossip_vote.slot = FD_SLOT_NULL;
143+
voter->rooted_vote.slot = FD_SLOT_NULL;
144144
}
145145
epoch->total_stake += curr->elem.stake;
146146
}

src/choreo/ghost/fd_ghost.c

Lines changed: 206 additions & 87 deletions
Large diffs are not rendered by default.

src/choreo/ghost/fd_ghost.h

Lines changed: 183 additions & 45 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)