Skip to content

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

coot
Copy link
Contributor

@coot coot commented Jun 24, 2025

Description

  • Integration of ouroboros-network:cardano-diffusion
  • SRV support
  • Updated golden files for GetBigledgerPeerSnapshot

Comment on lines 427 to 433
MustExist ->
-- create the file if it doesn't exist
void $
hPut hasFS pHnd $
Put.execPut $
Put.putWord8 currentVersionNumber
<> putSecondaryOffset 0
Copy link
Contributor Author

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
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this right?

@coot coot force-pushed the coot/cardano-diffusion-integration branch from 65e4a5d to b6e8b42 Compare June 24, 2025 19:49
ouroboros-network-protocols
ouroboros-network-testing

source-repository-package
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

2 participants