Changeset View
Changeset View
Standalone View
Standalone View
doc/build-osx.md
Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Lines | disable-wallet mode with: | ||||
cmake -GNinja .. -DBUILD_BITCOIN_WALLET=OFF | cmake -GNinja .. -DBUILD_BITCOIN_WALLET=OFF | ||||
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/ecashd` | ||||
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/eCash/ecash.conf" | ||||
chmod 600 "/Users/${USER}/Library/Application Support/Bitcoin/bitcoin.conf" | chmod 600 "/Users/${USER}/Library/Application Support/eCash/ecash.conf" | ||||
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. | The first time you run ecashd, 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/ecashd -daemon # Starts the ecash daemon. | ||||
./src/bitcoin-cli --help # Outputs a list of command-line options. | ./src/ecash-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/ecash-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) |