Skip to content

Commit

Permalink
Print the CSJ params in traces
Browse files Browse the repository at this point in the history
  • Loading branch information
facundominguez committed Apr 25, 2024
1 parent f24408b commit e77b617
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,9 @@ data LoPBucketParams = LoPBucketParams {
}

data CSJParams = CSJParams {
csjpJumpSize :: SlotNo
}
csjpJumpSize :: SlotNo
}
deriving Show

-- | Similar to 'ChainSyncTimeout' for BlockFetch. Only the states in which the
-- server has agency are specified. REVIEW: Should it be upstreamed to
Expand Down Expand Up @@ -359,6 +360,7 @@ prettyGenesisTest prettySchedule genesisTest =
, " gtForecastRange: " ++ show (unForecastRange gtForecastRange)
, " gtDelay: " ++ show delta
, " gtSlotLength: " ++ show gtSlotLength
, " gtCSJParams: " ++ show gtCSJParams
, " gtChainSyncTimeouts: "
, " canAwait = " ++ show canAwaitTimeout
, " intersect = " ++ show intersectTimeout
Expand Down Expand Up @@ -387,6 +389,7 @@ prettyGenesisTest prettySchedule genesisTest =
, gtBlockFetchTimeouts = BlockFetchTimeout{busyTimeout, streamingTimeout}
, gtLoPBucketParams = LoPBucketParams{lbpCapacity, lbpRate}
, gtSlotLength
, gtCSJParams
, gtSchedule
} = genesisTest

Expand Down

0 comments on commit e77b617

Please sign in to comment.