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 ...


11

Update: These instructions or similar are included in the bitcoin source as of 19 February 2013. See doc/build-osx.md for details. As such, the below instructions may fall out of date. Alternatively, make it easy on yourself an use WyseNynja's homebrew tap with brew tap wysenynja/bitcoin && brew install bitcoind. Building bitcoind on OSX 10.8 with ...


9

I would recommend using Homebrew or MacPorts to manage this dependency. The Homebrew package is simply pcre or pcre++. brew install pcre pcre++ The MacPorts packages are pcre and pcrexx. sudo port install pcre pcrexx


7

In order to see hidden folders, such as ~/Library from Finder, simply hit shift + ⌘ (command) + G which will GO to a folder, then paste in this location: ~/Library/Application Support/Bitcoin From there, you will see all the files associated with your wallet. Having moved all my BTC to another location, I recovered more than 5 GB of storage space by ...


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

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


5

I guess you are referring to GUIminer. I would also recommend looking at the excellent BitMinter miner, which has a nice GUI and runs great on Mac OS X. I should probably mention that I made it. ;)


5

As far as I know, there have been no submissions of Bitcoin apps to the Mac App Store. A Bitcoin app for iOS was submitted to the App Store in May 2011 by Ehud Ben-Reiven. He reported that it was rejected because "...it involves intermediate currency...". He subsequently open-sourced the code, bitcoinApp, but, as of this writing, it hasn't been updated in ...


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

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 ...


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

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 ...


3

bitcoind 0.5.x, starting with 0.5.6rc3 and 0.6.x starting with 0.6.3 include a deterministic Mac build. Unfortunately, bitcoind 0.7 does not build with the Mac OS X 10.5 toolchain (which is what I compiled for gitian), so until I manage to make a LLVM-based cross-compiler you'll have to stick to the new Debug window interface and JSON-RPC.


3

Your wallet program doesn't show the private keys because you usually don't need to see them. In the same way that you almost never see your password to any website you use. If it did show them then someone could take a photograph of them and later spend the content of your wallet. It probably doesn't let you delete addresses because of the potential for ...


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

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

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/...


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