-
Notifications
You must be signed in to change notification settings - Fork 29
Integration with ouroboros-network:cardano-diffusion #1570
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
MustExist -> | ||
-- create the file if it doesn't exist | ||
void $ | ||
hPut hasFS pHnd $ | ||
Put.execPut $ | ||
Put.putWord8 currentVersionNumber | ||
<> putSecondaryOffset 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this right?
@@ -804,6 +804,7 @@ openPrimaryIndex cacheEnv chunk allowExisting = do | |||
flip onException (hClose pHnd) $ do | |||
newCurrentChunkInfo <- case allowExisting of | |||
MustBeNew -> return $ emptyCurrentChunkInfo chunk | |||
MustExist -> loadCurrentChunkInfo hasFS chunkInfo chunk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this right?
65e4a5d
to
b6e8b42
Compare
ouroboros-network-protocols | ||
ouroboros-network-testing | ||
|
||
source-repository-package |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for an s-r-p on fs-sim
, this revision is already on Hackage.
Description