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

[tools] config tool fullnode-init subcommand #79

Merged

Conversation

sirouk
Copy link
Contributor

@sirouk sirouk commented Nov 3, 2023

  • libra config fullnode-init sets up the basic files for starting a fullnode
  • downloads a genesis.blob and waypoint.txt
  • generates a yaml and updates seed peers from a community list

Copy link
Contributor

@codilion codilion left a comment

Choose a reason for hiding this comment

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

🤘


/// download genesis blob
pub async fn download_genesis(home_dir: Option<PathBuf>) -> anyhow::Result<()> {
let bytes = reqwest::get("https://github.com/0xzoz/blob/raw/main/genesis.blob")
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we have repositories stored in the 0LNetworkCommunity repo for this? Seperate repos for REX and Mainnet

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah I have this as a placeholder.
Perhaps keep it in the original network genesis repo, under a directory: upgrades

Copy link
Contributor

@hemulin hemulin left a comment

Choose a reason for hiding this comment

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

LGTM

@0o-de-lally 0o-de-lally changed the title [tools] Fullnode config [tools] config tool fullnode-init subcommand Nov 3, 2023
@0o-de-lally 0o-de-lally merged commit b8df3a2 into 0LNetworkCommunity:release-6.9.0-rc.7 Nov 3, 2023
10 checks passed
hemulin pushed a commit that referenced this pull request Nov 7, 2023
0o-de-lally added a commit to 0o-de-lally/libra-framework that referenced this pull request Nov 7, 2023
commit 3fbb620
Author: Yotam Katznelson <[email protected]>
Date:   Tue Nov 7 20:13:38 2023 +0000

    [upgrade] migrate user receipts for upgrade (0LNetworkCommunity#89)

    Co-authored-by: 0o-de-lally <[email protected]>
    Co-authored-by: sirouk <[email protected]>

commit 7f24274
Author: Yotam Katznelson <[email protected]>
Date:   Sun Nov 5 18:50:48 2023 +0000

    [move] default POF bid from genesis (0LNetworkCommunity#86)

    Co-authored-by: 0o-de-lally <[email protected]>

commit 6a7ff1e
Author: sirouk <[email protected]>
Date:   Sat Nov 4 21:53:20 2023 -0400

    [move] patch thermostat on epoch boundary, add instrumentation (0LNetworkCommunity#87)

    Co-authored-by: 0o-de-lally <[email protected]>

commit cf5b7b1
Author: Yotam Katznelson <[email protected]>
Date:   Sun Nov 5 02:51:03 2023 +0100

    [move] fix lifetime burn info (0LNetworkCommunity#85)

    Co-authored-by: 0o-de-lally <[email protected]>

commit 75f2ef2
Author: sirouk <[email protected]>
Date:   Sat Nov 4 20:55:02 2023 -0400

    [tools] build the framework before genesis (0LNetworkCommunity#84)

commit caa8c33
Author: 0o-de-lally <[email protected]>
Date:   Sat Nov 4 18:39:35 2023 +0000

    [upgrade] get actual git head for framework on upgrades

commit f87e953
Author: sirouk <[email protected]>
Date:   Fri Nov 3 20:35:19 2023 -0400

    [Move] patch burn tracker (0LNetworkCommunity#82)

    Co-authored-by: 0o-de-lally <[email protected]>

commit 9cc79a7
Author: sirouk <[email protected]>
Date:   Fri Nov 3 17:04:41 2023 -0400

    [tools] config tool fullnode-init subcommand (0LNetworkCommunity#79)

    Co-authored-by: 0o-de-lally <[email protected]>

commit a8e84ea
Author: sirouk <[email protected]>
Date:   Fri Nov 3 15:59:05 2023 -0400

    [upgrades] git commit hash included on-chain on upgrades (0LNetworkCommunity#80)

    Co-authored-by: 0o-de-lally <[email protected]>

commit 6d60dd4
Author: sirouk <[email protected]>
Date:   Fri Nov 3 15:12:20 2023 -0400

    [tower] patch tower counter add tests (0LNetworkCommunity#81)

    Co-authored-by: 0o-de-lally <[email protected]>

commit 0a56a95
Author: sirouk <[email protected]>
Date:   Thu Nov 2 14:17:48 2023 -0400

    [tower] fix lazy counter reset (0LNetworkCommunity#78)

    Co-authored-by: 0o-de-lally <[email protected]>

commit 1f05a9c
Author: sirouk <[email protected]>
Date:   Thu Nov 2 14:17:28 2023 -0400

    Patch config init (0LNetworkCommunity#77)

    Co-authored-by: 0o-de-lally <[email protected]>

commit 0596d77
Author: 0o-de-lally <[email protected]>
Date:   Wed Nov 1 20:02:12 2023 -0400

    [tools] remove tbd query subcommands (0LNetworkCommunity#76)

commit 41c0274
Author: sirouk <[email protected]>
Date:   Wed Nov 1 17:20:41 2023 -0400

    `update -p diem` updates cargo.lock (0LNetworkCommunity#75)

    Co-authored-by: 0o-de-lally <[email protected]>

commit 7eec02c
Author: sirouk <[email protected]>
Date:   Wed Nov 1 16:47:59 2023 -0400

    [tools] fix network address registration for validators (0LNetworkCommunity#74)

    Co-authored-by: 0o-de-lally <[email protected]>

commit dbc5dcf
Author: sirouk <[email protected]>
Date:   Tue Oct 31 17:02:51 2023 -0400

    [query] create query view for validator config (0LNetworkCommunity#73)

    Co-authored-by: 0o-de-lally <[email protected]>

commit ccd01c0
Author: 0o-de-lally <[email protected]>
Date:   Mon Oct 30 20:27:08 2023 +0000

    patch makefile use CHAIN = testnet

commit c817195
Author: 0o-de-lally <[email protected]>
Date:   Mon Oct 30 20:22:31 2023 +0000

    update makefile

commit 23d0bbd
Author: Yotam Katznelson <[email protected]>
Date:   Mon Oct 30 14:34:53 2023 +0100

    Vouch validators fixes

    Co-authored-by: 0o-de-lally <[email protected]>
0o-de-lally added a commit that referenced this pull request Aug 8, 2024
0o-de-lally added a commit that referenced this pull request Aug 8, 2024
0o-de-lally added a commit to 0o-de-lally/libra-framework that referenced this pull request Aug 17, 2024
0o-de-lally added a commit to 0o-de-lally/libra-framework that referenced this pull request Aug 17, 2024
0o-de-lally added a commit to 0o-de-lally/libra-framework that referenced this pull request Aug 17, 2024
0o-de-lally added a commit to 0o-de-lally/libra-framework that referenced this pull request Aug 17, 2024
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.

5 participants