Skip to content
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

Bootstrap Peers #5485

Closed
wants to merge 1 commit into from
Closed

Bootstrap Peers #5485

wants to merge 1 commit into from

Conversation

bolt12
Copy link
Contributor

@bolt12 bolt12 commented Sep 27, 2023

Description

This PR integrates: IntersectMBO/ouroboros-network#4555

@bolt12 bolt12 requested review from a team as code owners September 27, 2023 12:12
@bolt12 bolt12 force-pushed the bolt12/bootstrapPeers branch from 8d4ac7c to b1adda8 Compare September 27, 2023 12:17
Copy link
Contributor Author

@bolt12 bolt12 left a comment

Choose a reason for hiding this comment

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

Missing Changelog and check configuration file for any chance of being able to sync if in bootstrap mode.

cardano-node/src/Cardano/Node/Configuration/TopologyP2P.hs Outdated Show resolved Hide resolved
cardano-node/src/Cardano/Node/Configuration/TopologyP2P.hs Outdated Show resolved Hide resolved
cardano-node/src/Cardano/Node/Run.hs Outdated Show resolved Hide resolved
cardano-node/src/Cardano/Node/Tracing/Tracers/P2P.hs Outdated Show resolved Hide resolved
cardano-node/test/Test/Cardano/Node/Gen.hs Outdated Show resolved Hide resolved
@bolt12 bolt12 force-pushed the bolt12/bootstrapPeers branch from b1adda8 to f0938b7 Compare September 27, 2023 15:41
Copy link

This PR is stale because it has been open 45 days with no activity.

@github-actions github-actions bot added the Stale label Nov 13, 2023
@bolt12 bolt12 force-pushed the bolt12/bootstrapPeers branch from f0938b7 to 8568962 Compare November 24, 2023 17:45
@github-actions github-actions bot removed the Stale label Nov 25, 2023
Copy link

github-actions bot commented Jan 9, 2024

This PR is stale because it has been open 45 days with no activity.

@github-actions github-actions bot added the Stale label Jan 9, 2024
@bolt12 bolt12 force-pushed the bolt12/bootstrapPeers branch 3 times, most recently from 4c6c551 to ed19a94 Compare January 10, 2024 18:34
@github-actions github-actions bot removed the Stale label Jan 11, 2024
@bolt12 bolt12 force-pushed the bolt12/bootstrapPeers branch 7 times, most recently from bf2ad5b to c9fd4bd Compare January 18, 2024 14:36
@bolt12 bolt12 force-pushed the bolt12/bootstrapPeers branch from 2019cb9 to 800148d Compare January 30, 2024 16:02
@bolt12 bolt12 force-pushed the bolt12/bootstrapPeers branch 3 times, most recently from a84e07a to 5276ca7 Compare February 5, 2024 17:55
@bolt12 bolt12 force-pushed the bolt12/bootstrapPeers branch from 5276ca7 to 14180fc Compare February 6, 2024 17:41
@bolt12 bolt12 force-pushed the bolt12/bootstrapPeers branch 4 times, most recently from ed7040f to 8419b9c Compare February 14, 2024 15:55
@bolt12 bolt12 force-pushed the bolt12/bootstrapPeers branch 2 times, most recently from f5dbe65 to 1895d23 Compare February 19, 2024 16:55
@bolt12 bolt12 requested a review from coot February 19, 2024 16:55
@bolt12 bolt12 force-pushed the bolt12/bootstrapPeers branch 2 times, most recently from b2e3fe3 to 0efc013 Compare February 20, 2024 14:41
cardano-node/src/Cardano/Node/Configuration/TopologyP2P.hs Outdated Show resolved Hide resolved
cardano-node/src/Cardano/Node/Run.hs Outdated Show resolved Hide resolved
} =
( map (\lrp -> ( hotValency lrp
, warmValency lrp
, Map.fromList $ map (fmap (, trustable lrp))
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a bit ugly that we need to add this information this way. We cannot simply extend RootConfig because that type is used in various places. A nicer way would be to provide LocalRootConfig type:

data LocalRootConfig = LocalRootConfig
  { localRootAccessPoints :: [RelayAccessPoint]
    -- ^ a list of relay access points, each of which is either an ip address
    -- or domain name and a port number.
  , localRootAdvertise    :: PeerAdvertise,
    -- ^ 'advertise' configures whether the root should be advertised through
    -- gossip.
  , localRootTrustable    :: Bool
    -- ^ ...
  } deriving (Eq, Show)

@bolt12 bolt12 force-pushed the bolt12/bootstrapPeers branch from 0efc013 to a1042b4 Compare February 26, 2024 19:26
@bolt12 bolt12 requested review from a team as code owners February 26, 2024 19:26
@bolt12 bolt12 closed this Mar 5, 2024
@coot
Copy link
Contributor

coot commented Mar 11, 2024

@bolt12 I think you mean #5691.

@bolt12
Copy link
Contributor Author

bolt12 commented Mar 11, 2024

Yes, my bad!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants