Skip to content

Commit 0f0c53a

Browse files
2 parents 3be3c1d + 3710439 commit 0f0c53a

23 files changed

+962
-328
lines changed

doc/developer-notes.md

Lines changed: 11 additions & 4 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.stack.nl/~dimitri/doxygen/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
@@ -229,7 +229,14 @@ Not picked up by Doxygen:
229229
//
230230
```
231231

232-
A full list of comment syntaxes picked up by Doxygen can be found at https://www.stack.nl/~dimitri/doxygen/manual/docblocks.html,
232+
Also not picked up by Doxygen:
233+
```c++
234+
/*
235+
* ... Description ...
236+
*/
237+
```
238+
239+
A full list of comment syntaxes picked up by Doxygen can be found at https://www.doxygen.nl/manual/docblocks.html,
233240
but the above styles are favored.
234241

235242
Recommendations:
@@ -242,7 +249,7 @@ Recommendations:
242249

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

247254
- Avoid linking to external documentation; links can break.
248255

src/Makefile.test.include

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ test_fuzz_fuzz_SOURCES = \
287287
test/fuzz/net_permissions.cpp \
288288
test/fuzz/netaddress.cpp \
289289
test/fuzz/netbase_dns_lookup.cpp \
290-
test/fuzz/p2p_transport_deserializer.cpp \
290+
test/fuzz/p2p_transport_serialization.cpp \
291291
test/fuzz/parse_hd_keypath.cpp \
292292
test/fuzz/parse_iso8601.cpp \
293293
test/fuzz/parse_numbers.cpp \

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/test/fuzz/p2p_transport_deserializer.cpp

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)