Hot answers tagged

15

You're using the wrong hash algorithm for Bitcoin mining. Bitcoin uses SHA256d (d = double), but cpuminer (at least the version 2.3.2 on my system) defaults to scrypt (for Litecoin) instead: -a, --algo=ALGO specify the algorithm to use scrypt scrypt(1024, 1, 1) (default) sha256d SHA-256d Slush's pool ...


6

There is a bitcoin-cli available for OSX. I also ran into this issue, and it is because I missed one of the setup steps. Here they are for posterity! Install Xcode: $ xcode-select --install Install Homebrew => https://brew.sh/ Clone the repo: $ git clone https://github.com/bitcoin/bitcoin.git Navigate into bitcoin directory, and run the autogen ...


5

Assumptions: Your current folder for your bitcoin data is here: "~/Library/Application Support/Bitcoin" or here "/Users//Library/Application Support/Bitcoin" Your current folder for your bitcoin-qt application is here: /Applications/Bitcoin-qt.app You have an external drive named "My Passport" and your Finder, Preferences setting are set to display ...


5

See https://en.bitcoin.it/wiki/Data_directory Copy over your %APPDATA%\Bitcoin directory to ~/Library/Application Support/Bitcoin/ Your AppData directory should be: C:\Documents and Settings\YourUserName\Application data\Bitcoin (XP) C:\Users\YourUserName\Appdata\Roaming\Bitcoin (Vista and 7) If not, you can always run explorer %APPDATA%\Bitcoin in ...


5

MacMiner is the first and best native Mac GUI for bfgminer, cgminer and cpuminer MacMiner website


5

Core (more specific levelDB, the database library used) does not support network drives. Also, the UTXO access (chainstate) must be as fast as possible and should run on an internal drive, ideally an SSD. If you need to reduce/transfer disk usage, there are two main possibilities: Pruning Add prune=550 to you bitcoin.conf (or startup with -prune=550) to ...


5

As mentioned by Andrew, this is due to macOS' enforcement of notarization requirements. This can be bypassed by right clicking on the application, then selecting Open - A dialog will popup warning you that it is not verified, but this one will have an Open button. Once you open the application through the above process once, a regular double click will work ...


4

So, while Mac includes python it does not include gcc by default, even once you've installed Xcode 4.2 or later. For now, grab that, go to preferences, downloads and get the command line tools. Once a version of Xcode higher than 4.6 is out you'll have to find a new way to install gcc on your mac, as gcc will no longer be included, but I guess that's a ...


4

just in case anyone still looking for an answer: in pattern.c just put the full path to pcre.h (use locate pcre.h to find a path for it; if you don't have the file just install pcre package first). It should compile fine afterwards.


4

I get the same error using OS X 10.9 MBPR. Even though I followed http://atomton.roon.io/compiling-cudaminer-on-os-x-10-9 exactly. UPDATE: PROBLEM SOLVED. by changing include malloc.h to include malloc/malloc.h in both scrypt-jane.cpp and sha3.cpp


4

There it's no bitcoin-cli built in the dmg file for mac os. (Unless you compile it yourself, nor is there a bitcoind from my understanding) You can execute RPC commands using the built in options under the help -> debug / then click on the console tab in the os x client.


4

It's as simple as running brew install bitcoin assuming you are on macOSX and have brew installed.


3

No suitable long-poll found means that your bfgminer could not find a server that will inform it of a new block appearing on the network. This is correct, since you are solo mining, and litecoin-qt doesn't supply this. Don't worry, your setup is correct. Not having LP only means that your miner will get informed a little bit slower by litecoin-qt about a ...


3

If you want to run a command line client such as cgminer, bfgminer or cpuminer (minerd) without compiling them yourself you can download MacMiner from http://macminer.fabulouspanda.com/macminer/ and run them in the Terminal like so: cd /Applications/MacMiner.app/Contents/Resources/bfgminer/bin ./bfgminer -o http://your.pool.com:9332 -u username -p password ...


3

Your hardware is useless for mining. You'd spend more money on power than you could ever make back mining on a rig that isn't built for mining.


3

Bitcoin-qt verifies the entire blockchain the first time it starts, to be sure that all the transactions are properly signed, and all the blocks certify an appropriate amount of computation (proof-of-work). This ensures, for instance, that nobody is feeding you a fraudulent bootstrap.dat. Depending on the speed of your computer and network, this ...


3

try using stratum+tcp:// instead of http:// protocol. ./minerd --algo scrypt --scantime 33 --url stratum+tcp://[server]:[port] --userpass [username]:[password] --threads 1 --retries -1 -P works pretty well for me right now. minerd is from http://optimate.dl.sourceforge.net/project/cpuminer/pooler-cpuminer-2.3.2-linux-x86_64.tar.gz


3

No it wouldn't. Mining with CPU or GPU is worthless, and if your goal is buying some non-standalone ASIC, your best bet is a PC which uses as few energy as possible.


3

The following program will show you the OpenCL-capable devices on a given Macintosh: // clang -framework OpenCL dumpcl.c -o dumpcl && ./dumpcl # include <stdio.h> # include <stdlib.h> # include <OpenCL/opencl.h> int main(int argc, char* const argv[]) { cl_uint num_devices, i; clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, 0, ...


3

The blockchain is available via Torrent now. You can download bootstrap.dat (14GB) this way and then process it locally, which in my case was much faster than syncing with network using Bitcoin-Qt. Have a look at the announcement and you can grab torrent file from sourceforge.


3

I had this error trying to compile mcrypt. Here is how to use the configure command with CPPFLAGS ./configure CPPFLAGS=-I/usr/include/malloc/


3

The JSON-RPC API can be used by other programs to communicate with the Bitcoin client. That could include external mining programs, "e-commerce" software to automatically make and receive payments, or any other software that wants to interact with the Bitcoin network. It is true that you do not need this feature simply to solo mine using setgenerate true. ...


3

if you are using OS X, you can just double click /Applications/MultiBit.app/Contents/Resources/Java/multibit-exe.jar works on OS X 10.10.1, Java 7 Update 71. guess they need some minor adjust for less strict JVM/JRE version check...


3

TL;DR: Mining is heavy duty number crunching, your iMac is useless for that. Running a node helps the network and gives you your own copy of the blockchain. Your iMac should probably be able to do that. Mining The purpose of mining is to 1. achieve consensus about the state of the network, 2. confirm transactions, and 3. initially distribute the bitcoins. ...


3

Method 1 Open "Finder". Press Cmd + Shift + G Paste this: ~/Library/Application Support/Bitcoin Edit bitcoin.conf with TextEdit Add this line: rescan=1 Save it, then run Bitcoin-qt. After you the rescan ends and you quit don't forget to revert the bitcoin.conf Method 2 Right click Bitcoin-qt Choose "Show package contents" Go to Contents/MacOS/...


3

Bitcore fork from SatoshiLabs is indeed available only for 64-bit linux. You can try to build the necessary binaries yourself and then update the npm install scripts in bitcore, but that is very hard. I would not recommend you to run bitcore on a personal computer, since it adds additional 200GB data, so you will end up with about half a terabyte of data. ...


3

There have previously been issues with entering passphrases that contain non-ascii characters, however these all were related to how the terminal processes those characters before Bitcoin Core does. If you are receiving an error message that says something along the lines of "Some keys decrypt but not all", then the wallet has been corrupted. There ...


2

GUIminer "just worked" on my late-2012 MBP-R. https://github.com/downloads/pletoss/poclbm/guiminer-poclbm-macosx.dmg ...Just drag it to a writeable folder somewhere. Colin's comment is correct, of course-- the low-voltage/power-stingy GPU, though awesome for a laptop, is not a match for the desktop screamers serious miners use to heat their homes. On ...


2

Joric's fork of pywallet can read a wallet.dat, decrypt it with your pass phrase and then you can export the keys. But if it is corrupted and Bitcoin-Qt can't read it then pywallet may fare no better. Doesn't hurt to give it a try.


2

There was a restriction in all v0.7.2 and prior that was incompatible with v0.8.x. So you'll need to upgrade to v0.7.3 or v0.8.x. http://en.bitcoin.it/wiki/Common_Vulnerabilities_and_Exposures#CVE-2013-3220


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