Skip to content

Commit e864084

Browse files
sbillingfanquake
authored andcommitted
doc: Use https URLs where possible
1 parent f52f427 commit e864084

File tree

14 files changed

+19
-19
lines changed

14 files changed

+19
-19
lines changed

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/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
;

src/cuckoocache.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ class cache
225225
* [0, 1) and simply multiply it by the size. Then we just shift the result down by
226226
* 32-bits to get our bucket number. The result has non-uniformity the same as a
227227
* mod, but it is much faster to compute. More about this technique can be found at
228-
* http://lemire.me/blog/2016/06/27/a-fast-alternative-to-the-modulo-reduction/ .
228+
* https://lemire.me/blog/2016/06/27/a-fast-alternative-to-the-modulo-reduction/ .
229229
*
230230
* The resulting non-uniformity is also more equally distributed which would be
231231
* advantageous for something like linear probing, though it shouldn't matter

src/hash.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ inline uint32_t ROTL32(uint32_t x, int8_t r)
1515

1616
unsigned int MurmurHash3(unsigned int nHashSeed, Span<const unsigned char> vDataToHash)
1717
{
18-
// The following is MurmurHash3 (x86_32), see http://code.google.com/p/smhasher/source/browse/trunk/MurmurHash3.cpp
18+
// The following is MurmurHash3 (x86_32), see https://code.google.com/p/smhasher/source/browse/trunk/MurmurHash3.cpp
1919
uint32_t h1 = nHashSeed;
2020
const uint32_t c1 = 0xcc9e2d51;
2121
const uint32_t c2 = 0x1b873593;

src/key.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ static secp256k1_context* secp256k1_context_sign = nullptr;
1818

1919
/**
2020
* This parses a format loosely based on a DER encoding of the ECPrivateKey type from
21-
* section C.4 of SEC 1 <http://www.secg.org/sec1-v2.pdf>, with the following caveats:
21+
* section C.4 of SEC 1 <https://www.secg.org/sec1-v2.pdf>, with the following caveats:
2222
*
2323
* * The octet-length of the SEQUENCE must be encoded as 1 or 2 octets. It is not
2424
* required to be encoded as one octet if it is less than 256, as DER would require.
@@ -80,7 +80,7 @@ int ec_seckey_import_der(const secp256k1_context* ctx, unsigned char *out32, con
8080

8181
/**
8282
* This serializes to a DER encoding of the ECPrivateKey type from section C.4 of SEC 1
83-
* <http://www.secg.org/sec1-v2.pdf>. The optional parameters and publicKey fields are
83+
* <https://www.secg.org/sec1-v2.pdf>. The optional parameters and publicKey fields are
8484
* included.
8585
*
8686
* seckey must point to an output buffer of length at least CKey::SIZE bytes.

src/qt/bitcoin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ static void RegisterMetaTypes()
7777
#ifdef ENABLE_WALLET
7878
qRegisterMetaType<WalletModel*>();
7979
#endif
80-
// Register typedefs (see http://qt-project.org/doc/qt-5/qmetatype.html#qRegisterMetaType)
80+
// Register typedefs (see https://doc.qt.io/qt-5/qmetatype.html#qRegisterMetaType)
8181
// IMPORTANT: if CAmount is no longer a typedef use the normal variant above (see https://doc.qt.io/qt-5/qmetatype.html#qRegisterMetaType-1)
8282
qRegisterMetaType<CAmount>("CAmount");
8383
qRegisterMetaType<size_t>("size_t");

src/qt/guiutil.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ bool SetStartOnSystemStartup(bool fAutoStart)
655655
#elif defined(Q_OS_LINUX)
656656

657657
// Follow the Desktop Application Autostart Spec:
658-
// http://standards.freedesktop.org/autostart-spec/autostart-spec-latest.html
658+
// https://specifications.freedesktop.org/autostart-spec/autostart-spec-latest.html
659659

660660
fs::path static GetAutostartDir()
661661
{

src/qt/notificator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Notificator::~Notificator()
6666

6767
#ifdef USE_DBUS
6868

69-
// Loosely based on http://www.qtcentre.org/archive/index.php/t-25879.html
69+
// Loosely based on https://www.qtcentre.org/archive/index.php/t-25879.html
7070
class FreedesktopImage
7171
{
7272
public:

src/support/lockedpool.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void* Arena::alloc(size_t size)
6565

6666
// Pick a large enough free-chunk. Returns an iterator pointing to the first element that is not less than key.
6767
// This allocation strategy is best-fit. According to "Dynamic Storage Allocation: A Survey and Critical Review",
68-
// Wilson et. al. 1995, http://www.scs.stanford.edu/14wi-cs140/sched/readings/wilson.pdf, best-fit and first-fit
68+
// Wilson et. al. 1995, https://www.scs.stanford.edu/14wi-cs140/sched/readings/wilson.pdf, best-fit and first-fit
6969
// policies seem to work well in practice.
7070
auto size_ptr_it = size_to_free_chunk.lower_bound(size);
7171
if (size_ptr_it == size_to_free_chunk.end())

0 commit comments

Comments
 (0)