The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Hot answers tagged

23

The Bitcoin wallet on Mac OS X is located in ~/Library/Application Support/Bitcoin/wallet.dat. Mac OS X v10.7 (Lion) came out, and it has the ~/Library folder hidden, see the answer from chilled35 to access it with Finder. In order to see hidden folders, such as ~/Library from Finder, simply hit shift + ⌘ (command) + G which will GO to a ...


18

You can start it from the command-line using: open Bitcoin-Qt.app --args -server I think the --args option to open is OSX 10.6 and later; if you are running an older OSX put server=1 in your ~/Library/Application Support/Bitcoin/bitcoin.conf file. In fact, to use the -server command you must set a -rpcuser/-rpcpassword, so I'd suggest creating a bitcoin....


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


8

You should get the best results if you port forward port 8333 to your laptop. It is also advised to leave your computer on for a long time the first time you connect to the network, as it has about 1GB of data to download and check. After that the operation should be easier.


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


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

Try the DiabloMiner app. It uses an older version of Diablo Miner that should work. The developers behind bitcoin mining software usually do not put much effort into Mac compatibility mainly because of two aspects: Most Macs (iMac/Macbook/Macbook Pro) are not suited for mining because they have poor ventilation, which causes overheating issues. Apple's ...


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

I don't believe the project itself is distributed, but there is a step-by-step guide to creating an Xcode project for Bitcoin in the answers to "What are the steps in building bitcoind on Mac OS X 10.6?"


4

You are probably still not synchronized to the network. When the client first starts up, it doesn't trust anything or anyone. So it has to validate every single thing the Bitcoin network has ever done in order to understand what coins are valid now. This can take 12 hours or so, depending on your connection speed and CPU speed.


4

You can download the blockchain and hence skip this long lasting initialization step.


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

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

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

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


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

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

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

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.


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