Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 13 2019 08:02
    @jaspervdm banned @matrixbot
  • May 06 2018 21:29
    User @ignopeverell unbanned @maesitos
  • May 06 2018 00:41
    @ignopeverell banned @maesitos
Quentin Le Sceller
@quentinlesceller
@norvegicum ´´´brew install cmake´´´
Looks like you don’t have cmake installed
:Norvegicum.
@norvegicum
i have installed cmake as an app
im updating HB, trying again, will let you know, thank you.
Quentin Le Sceller
@quentinlesceller
No problem
Blade Doyle
@bladedoyle
How can I calculate (an estimate for) the current grin network graph rate? ELI5 please
Is it some_constant * network_difficulty?
John Tromp
@tromp
yes; constant is 42/60
Blade Doyle
@bladedoyle
Please share the constant value. Can I get a better estimate by taking into account the avg rate the last few blocks were found?
Thanks!!
John Tromp
@tromp
but constant will change in testnet3
Blade Doyle
@bladedoyle
Ok, so the 60 is number of seconds? So if the last few blocks were found on avg 50 seconds apart would I use 42/50?
John Tromp
@tromp
yes, 42*diff is graph rate in graphs per block
Blade Doyle
@bladedoyle
Thanks much!
Im also still interested in knowing how much more difficult it is to find a solution at difficulty X vs difficulty Y.
John Tromp
@tromp
X/Y times
Blade Doyle
@bladedoyle
Great! This is math I can understand!
;)
Thanks much!!
:Norvegicum.
@norvegicum
Macbook pro 2.2 i7 16gb-ram, Status: running…but cannot see any mining going on..
Blade Doyle
@bladedoyle
@norvegicum You probably need to be more specific. Note that the grin-miner is a separate project/executable from the grin node itself.
:Norvegicum.
@norvegicum
yes, i noticed. my bad, newbie.
i got the node running, i got the miner compiled, but wont run.
Blade Doyle
@bladedoyle
Maybe the discussion here will help mimblewimble/grin-miner#2
:Norvegicum.
@norvegicum

warning: An explicit [[bin]] section is specified in Cargo.toml which currently
disables Cargo from automatically inferring other binary targets.
This inference behavior will change in the Rust 2018 edition and the following
files will be included as a binary target:

  • /Users/Mac/grin-miner/grin-miner/grin/grin-miner/src/bin/types.rs
  • /Users/Mac/grin-miner/grin-miner/grin/grin-miner/src/bin/client.rs
  • /Users/Mac/grin-miner/grin-miner/grin/grin-miner/src/bin/mining.rs
  • /Users/Mac/grin-miner/grin-miner/grin/grin-miner/src/bin/stats.rs
  • /Users/Mac/grin-miner/grin-miner/grin/grin-miner/src/bin/plugin.rs

This is likely to break cargo build or cargo test as these files may not be
ready to be compiled as a binary target today. You can future-proof yourself
and disable this warning by adding autobins = false to your [package]
section. You may also move the files to a location where Cargo would not
automatically infer them to be a target, such as in subfolders.

For more information on this warning you can consult
rust-lang/cargo#5330
Finished dev [unoptimized + debuginfo] target(s) in 0.52s

Blade Doyle
@bladedoyle
"mean_cpu can only be used for some new CPU, your MacBook Pro (Retina, 15-inch, Early 2013) can't use this option."
:Norvegicum.
@norvegicum
late 2015
Blade Doyle
@bladedoyle
when it "wont run" is there a stack trace, or other error message?
:Norvegicum.
@norvegicum
only the warning i just posted.
Blade Doyle
@bladedoyle
what happens when you run "grin-miner"?
:Norvegicum.
@norvegicum
it just says command not found
Blade Doyle
@bladedoyle
ok, use "cargo run", or a path to the executable like "./target/debug/grin-miner"
:Norvegicum.
@norvegicum
im probably making it more difficult than it is, im learning here, way over my head..lol
Blade Doyle
@bladedoyle
no problem, you are close
:Norvegicum.
@norvegicum
heeeeey!
Blade Doyle
@bladedoyle
when you run it, your current directory should contain the grin-miner.toml file
:Norvegicum.
@norvegicum
thank you!
Blade Doyle
@bladedoyle
ah... yay
Enjoy
:Norvegicum.
@norvegicum
yeah, but there is a grin-miner.toml file at 4 different places now, and im scared to delete any of them..
Blade Doyle
@bladedoyle
You may need to edit the grin.toml and grin-miner.toml to set addresses and stuff. For example, you would need to change strtum listen address to 0.0.0.0 if you want to connect to it from a remote system
:Norvegicum.
@norvegicum
mining at height 130949 @0.0848 gps
Blade Doyle
@bladedoyle
That sounds right
:Norvegicum.
@norvegicum
i dont know how many cores, cpu or gpu
Blade Doyle
@bladedoyle
its what you set in the grin-miner.toml config file CPU with 4 cores by default I think
:Norvegicum.
@norvegicum
ok, i didnt mess with it..
Blade Doyle
@bladedoyle
Ok, try not to overheat your poor macbook
:Norvegicum.
@norvegicum
hehe
its boiling already
i just letting it run...