From 8f7cfb00964a9edfa6fc46c506dad4b9c24661bf Mon Sep 17 00:00:00 2001 From: James O'Beirne Date: Fri, 12 Apr 2019 15:24:45 -0400 Subject: [PATCH 1/6] gitignore: add *.dat Github-Pull: #15809 Rebased-From: e7acf44bbfd05233f7753b3c8230892196facde8 --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 994d67402f0..b19b434948c 100644 --- a/.gitignore +++ b/.gitignore @@ -66,6 +66,7 @@ src/qt/bitcoin-qt.includes *.a *.pb.cc *.pb.h +*.dat *.log *.trs From c69138a0d6b4878dfb01030861753738179ef0a4 Mon Sep 17 00:00:00 2001 From: James O'Beirne Date: Fri, 12 Apr 2019 15:25:00 -0400 Subject: [PATCH 2/6] gitignore: add *.plist (clang-check) Github-Pull: #15809 Rebased-From: 17be9e0e3037b60ba7bbf4b9249f2efc5e1ba9b3 --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index b19b434948c..be784024a0b 100644 --- a/.gitignore +++ b/.gitignore @@ -121,3 +121,6 @@ contrib/devtools/split-debug.sh # Output from running db4 installation db4/ + +# clang-check +*.plist From 9c572e3b2160f3a2b78847bbdc839b7be35dffd7 Mon Sep 17 00:00:00 2001 From: Jack Mallers Date: Thu, 11 Apr 2019 20:12:25 -0500 Subject: [PATCH 3/6] doc: mention creating application support bitcoin folder on OSX Github-Pull: #15802 Rebased-From: 8dfbb5cf236cb70a2a1e65b076ccb7e2901833bd --- doc/build-osx.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/build-osx.md b/doc/build-osx.md index 119896dc676..d28a3d97aad 100644 --- a/doc/build-osx.md +++ b/doc/build-osx.md @@ -82,6 +82,8 @@ Bitcoin Core is now available at `./src/bitcoind` Before running, you may create an empty configuration file: + mkdir -p "/Users/${USER}/Library/Application Support/Bitcoin" + touch "/Users/${USER}/Library/Application Support/Bitcoin/bitcoin.conf" chmod 600 "/Users/${USER}/Library/Application Support/Bitcoin/bitcoin.conf" From 6d2448ca8e8bbf326730e79a7e1d959b4e81a76e Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Thu, 28 Mar 2019 10:43:40 +0000 Subject: [PATCH 4/6] doc/dependencies: Fix typo libsrvg->librsvg Github-Pull: #15684 Rebased-From: 7d01b5cf2ca67535374d444725fdff699b891683 --- doc/dependencies.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/dependencies.md b/doc/dependencies.md index e4be63772cc..841654dc441 100644 --- a/doc/dependencies.md +++ b/doc/dependencies.md @@ -17,7 +17,7 @@ These are the dependencies currently used by Bitcoin Core. You can find instruct | libevent | [2.1.8-stable](https://github.com/libevent/libevent/releases) | 2.0.22 | No | | | | libjpeg | | | | | [Yes](https://github.com/bitcoin/bitcoin/blob/master/depends/packages/qt.mk#L65) | | libpng | | | | | [Yes](https://github.com/bitcoin/bitcoin/blob/master/depends/packages/qt.mk#L64) | -| libsrvg | | | | | | +| librsvg | | | | | | | MiniUPnPc | [2.0.20180203](http://miniupnp.free.fr/files) | | No | | | | OpenSSL | [1.0.1k](https://www.openssl.org/source) | | Yes | | | | PCRE | | | | | [Yes](https://github.com/bitcoin/bitcoin/blob/master/depends/packages/qt.mk#L66) | @@ -43,4 +43,4 @@ Some dependencies are not needed in all configurations. The following are some f * ZeroMQ is needed only with the `--with-zmq` option. #### Other -* librsvg is only needed if you need to run `make deploy` on (cross-compliation to) macOS. \ No newline at end of file +* librsvg is only needed if you need to run `make deploy` on (cross-compliation to) macOS. From 194226f6798e59cfd871db0335e078101b165043 Mon Sep 17 00:00:00 2001 From: Jon Atack Date: Thu, 11 Apr 2019 13:15:29 +0200 Subject: [PATCH 5/6] doc: describe onlynet option in doc/tor.md as per http://www.erisian.com.au/bitcoin-core-dev/log-2019-04-11.html#l-102. Description adapted from https://github.com/bitcoin/bitcoin/blob/master/src/init.cpp#L429. Also fixes a typo in doc/dependencies.md. Github-Pull: #15792 Rebased-From: 140bbeec45f14fd50cce68448bc7fa655cbef951 --- doc/dependencies.md | 2 +- doc/tor.md | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/dependencies.md b/doc/dependencies.md index 841654dc441..229f9ca7422 100644 --- a/doc/dependencies.md +++ b/doc/dependencies.md @@ -43,4 +43,4 @@ Some dependencies are not needed in all configurations. The following are some f * ZeroMQ is needed only with the `--with-zmq` option. #### Other -* librsvg is only needed if you need to run `make deploy` on (cross-compliation to) macOS. +* librsvg is only needed if you need to run `make deploy` on (cross-compilation to) macOS. diff --git a/doc/tor.md b/doc/tor.md index c46b7e9f607..cfb7f16666c 100644 --- a/doc/tor.md +++ b/doc/tor.md @@ -16,7 +16,7 @@ outgoing connections, but more is possible. -onion=ip:port Set the proxy server to use for Tor hidden services. You do not need to set this if it's the same as -proxy. You can use -noonion - to explicitly disable access to hidden service. + to explicitly disable access to hidden services. -listen When using -proxy, listening is disabled by default. If you want to run a hidden service (see next section), you'll need to enable @@ -27,6 +27,11 @@ outgoing connections, but more is possible. -seednode=X SOCKS5. In Tor mode, such addresses can also be exchanged with other P2P nodes. + -onlynet=onion Make outgoing connections only to .onion addresses. Incoming + connections are not affected by this option. This option can be + specified multiple times to allow multiple network types, e.g. + ipv4, ipv6, or onion. + In a typical situation, this suffices to run behind a Tor proxy: ./bitcoind -proxy=127.0.0.1:9050 From a644780a2f7076d4705d4e0d3486c0df8424367d Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Thu, 11 Apr 2019 15:53:06 -0400 Subject: [PATCH 6/6] doc: Clarify RPC versioning Github-Pull: #15799 Rebased-From: fa747498f79c9f6bf29b08f5f3cc01b276126abb --- doc/JSON-RPC-interface.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/JSON-RPC-interface.md b/doc/JSON-RPC-interface.md index 982afd5d563..a0cfe84a3e5 100644 --- a/doc/JSON-RPC-interface.md +++ b/doc/JSON-RPC-interface.md @@ -5,6 +5,18 @@ The headless daemon `bitcoind` has the JSON-RPC API enabled by default, the GUI option. In the GUI it is possible to execute RPC methods in the Debug Console Dialog. +## Versioning + +The RPC interface might change from one major version of Bitcoin Core to the +next. This makes the RPC interface implicitly versioned on the major version. +The version tuple can be retrieved by e.g. the `getnetworkinfo` RPC in +`version`. + +Usually deprecated features can be re-enabled during the grace-period of one +major version via the `-deprecatedrpc=` command line option. The release notes +of a new major release come with detailed instructions on what RPC features +were deprecated and how to re-enable them temporarily. + ## Security The RPC interface allows other programs to control Bitcoin Core,