Skip to content

Commit 83b1c37

Browse files
kwvgPastaPastaPasta
authored andcommitted
partial bitcoin#20842: consolidate typo & url fixing
includes: - e864084
1 parent f8e4bbb commit 83b1c37

File tree

12 files changed

+16
-16
lines changed

12 files changed

+16
-16
lines changed

doc/developer-notes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Refer to [/test/functional/README.md#style-guidelines](/test/functional/README.m
168168
Coding Style (Doxygen-compatible comments)
169169
------------------------------------------
170170

171-
Dash Core uses [Doxygen](http://www.doxygen.nl/) to generate its official documentation.
171+
Dash Core uses [Doxygen](https://www.doxygen.nl/) to generate its official documentation.
172172

173173
Use Doxygen-compatible comment blocks for functions, methods, and fields.
174174

@@ -189,7 +189,7 @@ For example, to describe a function use:
189189
bool function(int arg1, const char *arg2, std::string& arg3)
190190
```
191191
192-
A complete list of `@xxx` commands can be found at http://www.doxygen.nl/manual/commands.html.
192+
A complete list of `@xxx` commands can be found at https://www.doxygen.nl/manual/commands.html.
193193
As Doxygen recognizes the comments by the delimiters (`/**` and `*/` in this case), you don't
194194
*need* to provide any commands for a comment to be valid; just a description text is fine.
195195
@@ -249,7 +249,7 @@ Recommendations:
249249

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

254254
- Avoid linking to external documentation; links can break.
255255

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/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
@@ -19,7 +19,7 @@ static secp256k1_context* secp256k1_context_sign = nullptr;
1919

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

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

src/qt/guiutil.cpp

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

769769
// Follow the Desktop Application Autostart Spec:
770-
// http://standards.freedesktop.org/autostart-spec/autostart-spec-latest.html
770+
// https://specifications.freedesktop.org/autostart-spec/autostart-spec-latest.html
771771

772772
fs::path static GetAutostartDir()
773773
{

src/qt/notificator.cpp

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

6868
#ifdef USE_DBUS
6969

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

src/support/lockedpool.cpp

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

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

src/util/strencodings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ bool TimingResistantEqual(const T& a, const T& b)
218218
}
219219

220220
/** Parse number as fixed point according to JSON number syntax.
221-
* See http://json.org/number.gif
221+
* See https://json.org/number.gif
222222
* @returns true on success, false on error.
223223
* @note The result must be in the range (-10^18,10^18), otherwise an overflow error will trigger.
224224
*/

src/wallet/test/coinselector_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ BOOST_AUTO_TEST_CASE(knapsack_solver_test)
454454
BOOST_CHECK( testWallet.SelectCoinsMinConf(1 * MIN_CHANGE, filter_confirmed, GroupCoins(vCoins), setCoinsRet, nValueRet, coin_selection_params, bnb_used));
455455
BOOST_CHECK_EQUAL(nValueRet, 1 * MIN_CHANGE); // we should get the exact amount
456456

457-
// run the 'mtgox' test (see http://blockexplorer.com/tx/29a3efd3ef04f9153d47a990bd7b048a4b2d213daaa5fb8ed670fb85f13bdbcf)
457+
// run the 'mtgox' test (see https://blockexplorer.com/tx/29a3efd3ef04f9153d47a990bd7b048a4b2d213daaa5fb8ed670fb85f13bdbcf)
458458
// they tried to consolidate 10 50k coins into one 500k coin, and ended up with 50k in change
459459
empty_wallet();
460460
for (int j = 0; j < 20; j++)

0 commit comments

Comments
 (0)