Skip to content

Commit 34322b7

Browse files
author
MarcoFalke
committed
Merge #20842: docs: consolidate typo & url fixing
1112035 doc: fix various typos (Ikko Ashimine) e864084 doc: Use https URLs where possible (Sawyer Billings) Pull request description: Consolidates / fixes the changes from #20762, #20836, #20810. There is no output when `test/lint/lint-all.sh` is run. Closes #20807. ACKs for top commit: MarcoFalke: ACK 1112035 Tree-SHA512: 22ca824688758281a74e5ebc6a84a358142351434e34c88c6b36045d2d241ab95fd0958565fd2060f98317e62e683323b5320cc7ec13592bf340e6922294ed78
2 parents c376007 + 1112035 commit 34322b7

32 files changed

+40
-40
lines changed

depends/packages/qt.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ endef
217217
#
218218
# 7. In clang.conf, swap out clang & clang++, for our compiler + flags. See #17466.
219219
#
220-
# 8. Adjust a regex in toolchain.prf, to accomodate Guix's usage of
220+
# 8. Adjust a regex in toolchain.prf, to accommodate Guix's usage of
221221
# CROSS_LIBRARY_PATH. See #15277.
222222
define $(package)_preprocess_cmds
223223
patch -p1 -i $($(package)_patch_dir)/freetype_back_compat.patch && \

depends/patches/fontconfig/gperf_header_regen.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ commit 7b6eb33ecd88768b28c67ce5d2d68a7eed5936b6
22
Author: fanquake <[email protected]>
33
Date: Tue Aug 25 14:34:53 2020 +0800
44

5-
Remove rule that causes inadvertant header regeneration
5+
Remove rule that causes inadvertent header regeneration
66

77
Otherwise the makefile will needlessly attempt to re-generate the
88
headers with gperf. This can be dropped once the upstream build is fixed.

depends/patches/native_cctools/ld64_disable_threading.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Date: Tue Aug 18 01:20:24 2020 +0000
88
differently based on which files have already been parsed. This is more
99
likely to occur on systems with more CPUs.
1010

11-
Just disable threading for now. There is no noticable slowdown.
11+
Just disable threading for now. There is no noticeable slowdown.
1212

1313
See #9891.
1414

depends/patches/qt/freetype_back_compat.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Date: Tue Aug 18 15:15:08 2020 +0800
99
backwards-compatibility.
1010

1111
Qt 5.9 introduced a call to FT_Get_Font_Format(). Replace it with FT_Get_X11_Font_Format()
12-
in order to remain compatibile with older freetype, which is still used by e.g. Ubuntu Trusty.
12+
in order to remain compatible with older freetype, which is still used by e.g. Ubuntu Trusty.
1313

1414
See #14348.
1515

doc/developer-notes.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Refer to [/test/functional/README.md#style-guidelines](/test/functional/README.m
135135
Coding Style (Doxygen-compatible comments)
136136
------------------------------------------
137137

138-
Bitcoin Core uses [Doxygen](http://www.doxygen.nl/) to generate its official documentation.
138+
Bitcoin Core uses [Doxygen](https://www.doxygen.nl/) to generate its official documentation.
139139

140140
Use Doxygen-compatible comment blocks for functions, methods, and fields.
141141

@@ -156,7 +156,7 @@ For example, to describe a function use:
156156
bool function(int arg1, const char *arg2, std::string& arg3)
157157
```
158158
159-
A complete list of `@xxx` commands can be found at http://www.doxygen.nl/manual/commands.html.
159+
A complete list of `@xxx` commands can be found at https://www.doxygen.nl/manual/commands.html.
160160
As Doxygen recognizes the comments by the delimiters (`/**` and `*/` in this case), you don't
161161
*need* to provide any commands for a comment to be valid; just a description text is fine.
162162
@@ -203,7 +203,7 @@ Also not picked up by Doxygen:
203203
*/
204204
```
205205

206-
A full list of comment syntaxes picked up by Doxygen can be found at http://www.doxygen.nl/manual/docblocks.html,
206+
A full list of comment syntaxes picked up by Doxygen can be found at https://www.doxygen.nl/manual/docblocks.html,
207207
but the above styles are favored.
208208

209209
Recommendations:
@@ -216,7 +216,7 @@ Recommendations:
216216

217217
- Backticks aren't required when referring to functions Doxygen already knows
218218
about; it will build hyperlinks for these automatically. See
219-
http://www.doxygen.nl/manual/autolink.html for complete info.
219+
https://www.doxygen.nl/manual/autolink.html for complete info.
220220

221221
- Avoid linking to external documentation; links can break.
222222

src/bench/verify_script.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ static void VerifyScriptBench(benchmark::Bench& bench)
2424
const int flags = SCRIPT_VERIFY_WITNESS | SCRIPT_VERIFY_P2SH;
2525
const int witnessversion = 0;
2626

27-
// Keypair.
27+
// Key pair.
2828
CKey key;
2929
static const std::array<unsigned char, 32> vchKey = {
3030
{

src/core_io.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ bool DecodeHexBlockHeader(CBlockHeader&, const std::string& hex_header);
3030
/**
3131
* Parse a hex string into 256 bits
3232
* @param[in] strHex a hex-formatted, 64-character string
33-
* @param[out] result the result of the parasing
33+
* @param[out] result the result of the parsing
3434
* @returns true if successful, false if not
3535
*
3636
* @see ParseHashV for an RPC-oriented version of this

src/core_read.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ static bool DecodeTx(CMutableTransaction& tx, const std::vector<unsigned char>&
128128
{
129129
// General strategy:
130130
// - Decode both with extended serialization (which interprets the 0x0001 tag as a marker for
131-
// the presense of witnesses) and with legacy serialization (which interprets the tag as a
131+
// the presence of witnesses) and with legacy serialization (which interprets the tag as a
132132
// 0-input 1-output incomplete transaction).
133133
// - Restricted by try_no_witness (which disables legacy if false) and try_witness (which
134134
// disables extended if false).

src/crypto/chacha_poly_aead.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ static constexpr int AAD_PACKAGES_PER_ROUND = 21; /* 64 / 3 round down*/
1717
/* A AEAD class for ChaCha20-Poly1305@bitcoin.
1818
*
1919
* ChaCha20 is a stream cipher designed by Daniel Bernstein and described in
20-
* <ref>[http://cr.yp.to/chacha/chacha-20080128.pdf ChaCha20]</ref>. It operates
20+
* <ref>[https://cr.yp.to/chacha/chacha-20080128.pdf ChaCha20]</ref>. It operates
2121
* by permuting 128 fixed bits, 128 or 256 bits of key, a 64 bit nonce and a 64
2222
* bit counter into 64 bytes of output. This output is used as a keystream, with
2323
* any unused bytes simply discarded.
2424
*
25-
* Poly1305 <ref>[http://cr.yp.to/mac/poly1305-20050329.pdf Poly1305]</ref>, also
25+
* Poly1305 <ref>[https://cr.yp.to/mac/poly1305-20050329.pdf Poly1305]</ref>, also
2626
* by Daniel Bernstein, is a one-time Carter-Wegman MAC that computes a 128 bit
2727
* integrity tag given a message and a single-use 256 bit secret key.
2828
*

src/crypto/sha256_sse4.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@ void Transform(uint32_t* s, const unsigned char* chunk, size_t blocks)
10011001
; This code is described in an Intel White-Paper:
10021002
; "Fast SHA-256 Implementations on Intel Architecture Processors"
10031003
;
1004-
; To find it, surf to http://www.intel.com/p/en_US/embedded
1004+
; To find it, surf to https://www.intel.com/p/en_US/embedded
10051005
; and search for that title.
10061006
; The paper is expected to be released roughly at the end of April, 2012
10071007
;

0 commit comments

Comments
 (0)