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

[GRIN-Node] - Full sync from scratch - macOS #38

Closed
marekyggdrasil opened this issue Dec 18, 2020 · 1 comment
Closed

[GRIN-Node] - Full sync from scratch - macOS #38

marekyggdrasil opened this issue Dec 18, 2020 · 1 comment
Assignees
Labels
beginners Grin-Node Test cases for GRIN-Node reviewed Assigning this label after tester's findings are reviewed Test-Case New test case

Comments

@marekyggdrasil
Copy link
Collaborator

Description:
Sync a GRIN-Node from scratch on macOS

Prerequisites
Start the most recent beta of GRIN-Node v5.0.0-beta.2 and wait until fully synced.
(No archive mode)

Expected result:
Should sync without any problems.

@marekyggdrasil marekyggdrasil added Grin-Node Test cases for GRIN-Node ready-for-test Ready to be assigned and be worked on Test-Case New test case labels Dec 18, 2020
@Grinnode-live Grinnode-live deleted a comment from chandrashekar10 Dec 18, 2020
@marekyggdrasil marekyggdrasil added beginners and removed ready-for-test Ready to be assigned and be worked on labels Dec 19, 2020
@chandrashekar10
Copy link
Collaborator

chandrashekar10 commented Dec 19, 2020

Description of the problem:

Sync a GRIN-Node from scratch on macOS

  1. I have synced GRIN-Node from Scratch on my Computer with the following specifications
               Computer Model:  MacBook Air 2019 model
               Operating system: macOS Mojave version 10.14.6
               Rustup version:  rustc 1.48.0 (7eac88abb 2020-11-16)
        Clang version:  clang version 11.0.0
                      Target: x86_64-apple-darwin18.7.0
                      Thread model: posix
        Open SSL:    LibreSSL 2.6.5
  1. The Grin node synced without any problem and the relevant logs are as follows:
Last login: Thu Dec 17 17:23:28 on ttys002
Chandrashekars-MacBook-Air:~ chandrashekar$ cd grin
Chandrashekars-MacBook-Air:grin chandrashekar$ cargo check
   Compiling git2 v0.13.6
   Compiling croaring-sys-mw v0.4.5
   Compiling built v0.4.2
   Compiling grin v5.0.0-beta.2 (/Users/chandrashekar/grin)
    Checking croaring-mw v0.4.5
    Checking grin_core v5.0.0-beta.2 (/Users/chandrashekar/grin/core)
    Checking grin_store v5.0.0-beta.2 (/Users/chandrashekar/grin/store)
    Checking grin_pool v5.0.0-beta.2 (/Users/chandrashekar/grin/pool)
    Checking grin_chain v5.0.0-beta.2 (/Users/chandrashekar/grin/chain)
    Checking grin_p2p v5.0.0-beta.2 (/Users/chandrashekar/grin/p2p)
    Checking grin_api v5.0.0-beta.2 (/Users/chandrashekar/grin/api)
    Checking grin_servers v5.0.0-beta.2 (/Users/chandrashekar/grin/servers)
    Checking grin_config v5.0.0-beta.2 (/Users/chandrashekar/grin/config)
    Finished dev [unoptimized + debuginfo] target(s) in 37.93s
Chandrashekars-MacBook-Air:grin chandrashekar$ cargo build --release
   Compiling croaring-sys-mw v0.4.5
   Compiling croaring-mw v0.4.5
   Compiling grin_core v5.0.0-beta.2 (/Users/chandrashekar/grin/core)
   Compiling grin_store v5.0.0-beta.2 (/Users/chandrashekar/grin/store)
   Compiling grin_pool v5.0.0-beta.2 (/Users/chandrashekar/grin/pool)
   Compiling grin_chain v5.0.0-beta.2 (/Users/chandrashekar/grin/chain)
   Compiling grin_p2p v5.0.0-beta.2 (/Users/chandrashekar/grin/p2p)
   Compiling grin_api v5.0.0-beta.2 (/Users/chandrashekar/grin/api)
   Compiling grin_servers v5.0.0-beta.2 (/Users/chandrashekar/grin/servers)
   Compiling grin_config v5.0.0-beta.2 (/Users/chandrashekar/grin/config)
   Compiling grin v5.0.0-beta.2 (/Users/chandrashekar/grin)
    Finished release [optimized] target(s) in 3m 49s
Chandrashekars-MacBook-Air:grin chandrashekar$ target/release/grin

The Basic status output was:

┌──────────────────────────────────────────────────────────────────────────────┐
│Grin Version 5.0.0-beta.2 [Mainnet]                                           │
└──────────────────────────────────────────────────────────────────────────────┘
┌──────────────────┐┌──────────────────────────────────────────────────────────┐
│Basic Status      ││                                                          │
│Peers and Sync    ││ Current Status:               Running                    │
│Mining            ││ Connected Peers:              8                          │
│Logs              ││ Disk Usage (GB):              1.859                      │
│Version Info      ││ -------------------------------------------------------- │
│                  ││ Header Tip Hash:              0002d8e2d2b7...            │
│                  ││ Header Chain Height:          1008662                    │
│                  ││ Header Cumulative Difficulty: 1733594495595747           │
│                  ││ Header Tip Timestamp:         2020-12-19 06:15:52 UTC    │
│                  ││ -------------------------------------------------------- │
│                  ││ Chain Tip Hash:               0002d8e2d2b7...            │
│                  ││ Chain Height:                 1008662                    │
│                  ││ Chain Cumulative Difficulty:  1733594495595747           │
│                  ││ Chain Tip Timestamp:          2020-12-19 06:15:52 UTC    │
│                  ││ -------------------------------------------------------- │
│------------------││ Transaction Pool Size:        0 (0)                      │
│Tab/Arrow : Cycle ││ Stem Pool Size:               0 (0)                      │
│Enter     : Select││ -------------------------------------------------------- │
│Esc       : Back  ││                                                          │
│Q         : Quit  ││                                                          │
└──────────────────┘└─────────────────────────────────────────────────────                            

The Peer and Sync process output was as follows:

┌──────────────────────────────────────────────────────────────────────────────┐
│Grin Version 5.0.0-beta.2 [Mainnet]                                           │
└──────────────────────────────────────────────────────────────────────────────┘
┌──────────────────┐┌──────────────────────────────────────────────────────────┐
│Basic Status      ││                                                          │
│Peers and Sync    ││ Total Peers: 8 (Outbound: 8)                             │
│Mining            ││ Longest Chain: 1733593780046694 D @ 1008660 H vs Us:     │
│Logs              ││                1733593780046694 D @ 1008660 H            │
│Version Info      ││                                                          │
│                  ││ ┌─────────────────┤ Connected Peers ├──────────────────┐ │
│                  ││ │ Address [^╷ State ╷ Used bandw╷ Direct╷ Tota╷ P╷ C╷  │ │
│                  ││ │ ──────────┴───────┴───────────┴───────┴─────┴──┴──┴─ │ │
│                  ││ │ 124.170.27┆ Connec┆ ↑: 5 B, ↓:┆ Outbou┆ 1733┆ 1┆ 1┆  │ │
│                  ││ │ 162.220.62┆ Connec┆ ↑: 5 B, ↓:┆ Outbou┆ 1733┆ 1┆ 1┆  │ │
│                  ││ │ 18.185.118┆ Connec┆ ↑: 5 B, ↓:┆ Outbou┆ 1733┆ 1┆ 1┆  │ │
│                  ││ │ 195.201.11┆ Connec┆ ↑: 5 B, ↓:┆ Outbou┆ 1733┆ 1┆ 1┆  │ │
│                  ││ │ 213.239.21┆ Connec┆ ↑: 5 B, ↓:┆ Outbou┆ 1733┆ 1┆ 3┆  │ │
│                  ││ │ 35.181.35.┆ Connec┆ ↑: 5 B, ↓:┆ Outbou┆ 1733┆ 2┆ 1┆  │ │
│                  ││ │ 47.97.163.┆ Connec┆ ↑: 5 B, ↓:┆ Outbou┆ 1733┆ 1┆ 1┆  │ │
│------------------││ │ 67.207.91.┆ Connec┆ ↑: 5 B, ↓:┆ Outbou┆ 1733┆ 1┆ 1┆  │ │
│Tab/Arrow : Cycle ││ │                                                      │ │
│Enter     : Select││ │                                                      │ │
│Esc       : Back  ││ └──────────────────────────────────────────────────────┘ │
│Q         : Quit  ││                                                          │
└──────────────────┘└──────────────────────────────────────────────────────────┘

@marekyggdrasil marekyggdrasil added the reviewed Assigning this label after tester's findings are reviewed label Dec 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beginners Grin-Node Test cases for GRIN-Node reviewed Assigning this label after tester's findings are reviewed Test-Case New test case
Projects
None yet
Development

No branches or pull requests

2 participants