Changeset View
Changeset View
Standalone View
Standalone View
doc/build-osx.md
Show All 19 Lines | |||||
---------------------- | ---------------------- | ||||
Install dependencies: | Install dependencies: | ||||
brew install automake berkeley-db libtool boost miniupnpc openssl pkg-config protobuf python qt libevent qrencode | brew install automake berkeley-db libtool boost miniupnpc openssl pkg-config protobuf python qt libevent qrencode | ||||
See [dependencies.md](dependencies.md) for a complete overview. | See [dependencies.md](dependencies.md) for a complete overview. | ||||
If you want to build the disk image with `make deploy` (.dmg / optional), you need RSVG | If you want to build the disk image with `make deploy` (.dmg / optional), you need RSVG: | ||||
brew install librsvg | brew install librsvg | ||||
Build Bitcoin ABC | Build Bitcoin ABC | ||||
----------------- | ----------------- | ||||
Before you start building, please make sure that your compiler supports C++14. | Before you start building, please make sure that your compiler supports C++14. | ||||
Show All 33 Lines | |||||
Mining is also possible in disable-wallet mode using the `getblocktemplate` RPC call. | Mining is also possible in disable-wallet mode using the `getblocktemplate` RPC call. | ||||
Running | Running | ||||
------- | ------- | ||||
Bitcoin ABC is now available at `./src/bitcoind` | Bitcoin ABC is now available at `./src/bitcoind` | ||||
Before running, it's recommended that you create an RPC configuration file. | Before running, it's recommended that you create an RPC configuration file: | ||||
echo -e "rpcuser=bitcoinrpc\nrpcpassword=$(xxd -l 16 -p /dev/urandom)" > "/Users/${USER}/Library/Application Support/Bitcoin/bitcoin.conf" | echo -e "rpcuser=bitcoinrpc\nrpcpassword=$(xxd -l 16 -p /dev/urandom)" > "/Users/${USER}/Library/Application Support/Bitcoin/bitcoin.conf" | ||||
chmod 600 "/Users/${USER}/Library/Application Support/Bitcoin/bitcoin.conf" | chmod 600 "/Users/${USER}/Library/Application Support/Bitcoin/bitcoin.conf" | ||||
The first time you run bitcoind, it will start downloading the blockchain. This process could take several hours. | The first time you run bitcoind, it will start downloading the blockchain. This process could take many hours, or even days on slower than average systems. | ||||
You can monitor the download process by looking at the debug.log file: | You can monitor the download process by looking at the debug.log file: | ||||
tail -f $HOME/Library/Application\ Support/Bitcoin/debug.log | tail -f $HOME/Library/Application\ Support/Bitcoin/debug.log | ||||
Other commands: | Other commands: | ||||
------- | ------- | ||||
./src/bitcoind -daemon # Starts the bitcoin daemon. | ./src/bitcoind -daemon # Starts the bitcoin daemon. | ||||
./src/bitcoin-cli --help # Outputs a list of command-line options. | ./src/bitcoin-cli --help # Outputs a list of command-line options. | ||||
./src/bitcoin-cli help # Outputs a list of RPC commands when the daemon is running. | ./src/bitcoin-cli help # Outputs a list of RPC commands when the daemon is running. | ||||
Notes | Notes | ||||
----- | ----- | ||||
* Building with downloaded Qt binaries is not officially supported. See the notes in [#7714](https://github.com/bitcoin/bitcoin/issues/7714) | * Building with downloaded Qt binaries is not officially supported. See the notes in [#7714](https://github.com/bitcoin/bitcoin/issues/7714) |