Hot answers tagged

14

Because I couldn't find anything and didn't receive any help here, I wanted to share what I ended up doing to help others in the future. This is what I did to mine on NiceHash on OSX Sierra: Install Docker Open Terminal Run docker run hmage/cpuminer-opt -a cryptonight -o stratum+tcp://cryptonight.usa.nicehash.com:3355 -O [YOURMONEROADDRESS].[YOURWORKERNAME]:...


14

The daily variance appears to be limited to about 10% of the hashrate. Two possible explanations: A system administrator mines Monero at night when computers would otherwise be idle A system administrator mines Monero during the day while having physical control of the computers. Replace system administrator for anyone with control over a large group of ...


13

In addition to the (very likely) reasons given by Big Things, there is also the distinct possibility that something in the difficulty adjustment algorithm is causing this. It could be the way we're cutting off outliers, for instance. One of the MRL projects is to investigate the difficulty adjustment algorithm precisely for this reason:)


7

piHashVal = (uint64_t*)(result.bResult + 24); result.bResult is a pointer to some data structure, it's storing the memory address at which the structure begins. We're not interested in the beginning of that data blob, but want to access some 64-bits starting at offset 24. The above expression increments the address by offset 24 and casts the result to ...


6

Pool miners talk to pools using JSON over HTTP. This is a fairly simple protocol, which is different from the one used by Bitcoin miners, but similar. I don't know of a documentation for it, but you can easily see what it's doing by looking at cpu-miner.c in Wolf's miner (copy found on github, not the original): https://github.com/okae/cpu_miner_wolf/blob/...


4

If no one is mining, and this is very rare for any cryptocurrency, no transactions would be able to be verified, yet your balance would still show up assuming people are still running nodes.


4

This could also be market driven. The price of Monero has been swinging whole % points daily. It's possible someone is mining to pick up some extra XMR to dump for profits.


4

Unless you just want to pool mine, the monero daemon can CPU solo mine, and precompiled macOS executables are avaiable at https://getmonero.org/downloads/. Just tell monerod how many cores to use and your address, and you are on your way...


3

Yes, as we have done before for the other forks, you'll need to update daemon, wallet, and miner. As you can see here, the upcoming fork will bring to Monero a new PoW algorithm: the CNv4, Cryptonight variant 4 aka CryptonightR.


2

Although im not a big fan of this exact web-portal, personally i'd rather see something built with Symfony for example and have a lot more flexibility, but it does fit your intended purpose i think; https://getminera.com/ You can customize it to monitor/manage and even build/compile multiple monero miners, but it currently only has examples built-in for ...


2

I tried to build from https://github.com/fireice-uk/xmr-stak/blob/master/doc/compile_MacOS.md with this cmake command cmake . -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=ON It works. From the logs, my GPU is working.


2

I downloaded xmr-stack-cpu from here: http://macminer.fabulouspanda.com/commandline/xmrstakamd/ You can also build it yourself. I know you asked for something precompiled, but just in case: https://github.com/fireice-uk/xmr-stak/blob/master/doc/compile_MacOS.md


2

You can use any miner which supports cryptonight algorithm. ccminer, cpuminer comes to mind, both supports cryptonight. Minergate's miner is actually a moded cgminer, and their blog is actually quite helpful, but there are suspicions that their software is skimming hash rates, I personally don't use any closed source miners. The ultimate solution would be ...


2

idk anything about monero source code but: first thing is that if you mean byte 0 as first then say byte 7 is 8th ,not 7th . second is that when you deal with structures it has alignment.And my bet is that it's not 1 here. It's not so complex stuff if use it in structure you know.But it's complex to understand abstract. to tell long story short: if you ...


2

The following was taken from here and expanded upon C is easier to program in, compared to Assembly. There are obvious reasons not worth rehashing. Being easier to use, C allows you to write programs faster. Generally these programs are also easier to debug and easier to maintain. Furthermore, it's easier to manage large, complex programs in C. ...


2

A typical blockchain does not include this kind of access control. This includes Cryptonote. However, you can easily add something similar. Now, daemons could be made to sync only from the set of IPs you specify. If all the allowed IPs are set to only connect to other IPs in the set (for example using --add-exclusive-node), and set to disallow connections ...


2

Just like your laptop won't be particularly good at rendering large amounts of video/audio, playing the latest video games or compiling large codebases, it's not going to be very good at mining. One can build a desktop PC for less than a $1000 that will mine at ~14kh/s - that's not a particularly "specialized" PC. Using a laptop for mining 24/7 is not the ...


1

That function splits a number into it decimal components, except for the lower significance ones, which are grouped. For example, the number 84938394 will be split into 80000000, 4000000, 900000, 30000, and 8394 (if the dust threshold is 10000). This was used by the ring signature process to pick outputs from the blockchain with the same amount as the one ...


1

I did exactly this recently. Take a look at: https://github.com/jtgrassie/xmr-wasm


1

The extra payload appears to be for merged mining, as per the definitions in src/cryptonote_basic/tx_extra.h: field 0: extra pub key: <c4230d59c83b3042fd82999cfda5be6b77c1673d9442d1f21c7ab9215bdc6c18> field 1: extra nonce: 9841490000000000000000000000000000 field 2: extra merge mining tag: depth 0, merkle root <...


1

As long as you ask for their permission I can't see why it could be considered illegal. Coinhive considers it a viable alternative to adverts thus not illegal. In addition I don't think mining on peoples computers using a webpage is any worse than reselling customer information to advertisers.


1

You must open nvidia.txt (a file that xmr-stak creates after running for the first time) and set bsleep and bfactor to something other than the default "0". Try "bfactor" : 8, "bsleep" : 25, then restart xmr-stak.


1

Im not an expert about miners, but taking a quick look to xmrminer in github site, its says that its a CUDA-based miner for xmr. CUDA is the platform used by Nvidia cards, so dont expect it to work properly with your Rx. Being said that, you have plenty of options about choosing a proper miner. Do you have only amd or mixed amd-nvidia cards? you can try ...


1

"If you want to have a mainnet custom chain, remove the checkpoints in checkpoints.cpp (and disable that define)." -moneromooo, IRC, 2017-Oct


1

Many are getting falsely flagged by antiviruses because the code from them has been copied over to some worms which also mine Monero on infected machines. There's a nice list and guide here


1

Did you try a different Address or checked your Address if it is correct? I tested it using an invalid address and I got almost the same error. However, valid address works! [2017-04-18 00:38:10] : MEMORY ALLOC FAILED: VirtualAlloc failed. [2017-04-18 00:38:10] : Starting single thread, affinity: 0. [2017-04-18 00:38:10] : Starting single thread, affinity: ...


1

Ok, I figured this out for myself. The built in microhttp server runs when the port number is set in the config.txt file. Had I read all the way through the config file the first time I would have seen the comment at the end.


1

I have been using YAM CPU miner for some time. You can download it from mega.nz. Note that that website doesn't support Safari properly. Either use Chrome or Firefox (or Tor Browser) instead. Binaries are OS and CPU architecture specific. Examples: Mac mini (late 2009) is Core2 architecture, so select yam-yvg1900-M8a-macos64-core2.tgz. MacBook Pro (late ...


1

No it cannot exist without miners as no transactions would be verified and included in blocks, and no new coins would be created. In other words, the blockchain is created by miners. If there are no miners, there is no blockchain (or no continuation of the blockchain if you are starting with one).


Only top voted, non community-wiki answers of a minimum length are eligible