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

params: Define Network Types #346

Merged
merged 26 commits into from Jan 24, 2022
Merged

params: Define Network Types #346

merged 26 commits into from Jan 24, 2022

Conversation

Wondertan
Copy link
Member

@Wondertan Wondertan commented Jan 13, 2022

  • Introduces build package to track global build-related things.
  • Ability to get Genesis Hash and Bootstrappers for networks
  • Removes .gitignore entry for build, we anyway don't use it
  • Removes Network field from Config
    • Networks should not be configured, otherwise, a user changing their networks may see weird bugs, like by syncing from one network and then from another in the same Store/Repo.
    • Not a breaking change

The use of it will be shown in the next PR.

Closes: #62

@Wondertan Wondertan self-assigned this Jan 13, 2022
build/bootstrap.go Outdated Show resolved Hide resolved
build/bootstrap.go Outdated Show resolved Hide resolved
build/bootstrap.go Outdated Show resolved Hide resolved
build/bootstrap.go Outdated Show resolved Hide resolved
build/bootstrap.go Outdated Show resolved Hide resolved
build/networks.go Outdated Show resolved Hide resolved
build/networks.go Outdated Show resolved Hide resolved
build/networks.go Outdated Show resolved Hide resolved
build/networks.go Outdated Show resolved Hide resolved
build/networks.go Outdated Show resolved Hide resolved
Wondertan and others added 11 commits January 17, 2022 13:09
Co-authored-by: rene <41963722+renaynay@users.noreply.github.com>
Co-authored-by: rene <41963722+renaynay@users.noreply.github.com>
Co-authored-by: rene <41963722+renaynay@users.noreply.github.com>
Co-authored-by: rene <41963722+renaynay@users.noreply.github.com>
Co-authored-by: rene <41963722+renaynay@users.noreply.github.com>
Co-authored-by: rene <41963722+renaynay@users.noreply.github.com>
Co-authored-by: rene <41963722+renaynay@users.noreply.github.com>
Co-authored-by: rene <41963722+renaynay@users.noreply.github.com>
Co-authored-by: rene <41963722+renaynay@users.noreply.github.com>
Co-authored-by: rene <41963722+renaynay@users.noreply.github.com>
Co-authored-by: rene <41963722+renaynay@users.noreply.github.com>
@renaynay renaynay self-requested a review January 20, 2022 11:09
Wondertan and others added 2 commits January 21, 2022 13:12
Co-authored-by: rene <41963722+renaynay@users.noreply.github.com>
@Wondertan
Copy link
Member Author

build -> params

@Wondertan Wondertan changed the title build: Define Network Types params: Define Network Types Jan 21, 2022
@Wondertan
Copy link
Member Author

Tests are failing due to known #340.

node/p2p/p2p.go Outdated Show resolved Hide resolved
params/networks.go Show resolved Hide resolved
renaynay
renaynay previously approved these changes Jan 23, 2022
Copy link
Member

@renaynay renaynay left a comment

Choose a reason for hiding this comment

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

already looked through this a few times, LGTM but address @liamsi 's comments.

CHANGELOG-PENDING.md Outdated Show resolved Hide resolved
Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com>
Co-authored-by: rene <41963722+renaynay@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

build: Network Types
3 participants