diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-06-27 07:42:30 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-06-27 07:55:38 +0200 |
commit | 7209fec190b1247bf16ad9734b7369000cdc888e (patch) | |
tree | 2a4dd30ab78265e9e9b5dd4440e5f4ac6c410792 /CONTRIBUTING.md | |
parent | 2643fa50869f22672cbc72ac497d9c30234075b8 (diff) | |
parent | 9f8c54b1b5ddedddf47fc51c1fcb533321f6f89f (diff) | |
download | bitcoin-7209fec190b1247bf16ad9734b7369000cdc888e.tar.xz |
Merge #13532: Log warning when deprecated network name 'tor' is used
9f8c54b1b5ddedddf47fc51c1fcb533321f6f89f Log warning message when deprecated network name 'tor' is used (e.g. option onlynet=tor) (wodry)
Pull request description:
As @laanwj mentioned [here](https://github.com/bitcoin/bitcoin/pull/13418#discussion_r197645385), using option `onlynet=tor` is deprecated.
I think it would be good to give the user a depcreaction warning feedback, so users can switch to `onlynet=onion` so there is a perspective for removing the deprecated `tor` in the future to decrease confusion.
Currently, users maybe just wonder that they can use a undocumented option, or they are not aware that they use a deprecated option.
Alternatively for the log warning message, I think at least this deprecetaion should be documented in the source code in a comment for readers of the source code.
Tree-SHA512: f4889793cdd62a0a13353e13994ed50ca7d367fa9da9897ce909f86cf0b0ce6151b3c484c8e514b8ac332949c6bbc71001e06e918248a1089f73756bd4840602
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions