mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
partial bitcoin#20842: consolidate typo & url fixing
includes: - e8640849c775efcf202dbd34736fed8d61379c49
This commit is contained in:
parent
f8e4bbb5ce
commit
83b1c378a0
@ -168,7 +168,7 @@ Refer to [/test/functional/README.md#style-guidelines](/test/functional/README.m
|
||||
Coding Style (Doxygen-compatible comments)
|
||||
------------------------------------------
|
||||
|
||||
Dash Core uses [Doxygen](http://www.doxygen.nl/) to generate its official documentation.
|
||||
Dash Core uses [Doxygen](https://www.doxygen.nl/) to generate its official documentation.
|
||||
|
||||
Use Doxygen-compatible comment blocks for functions, methods, and fields.
|
||||
|
||||
@ -189,7 +189,7 @@ For example, to describe a function use:
|
||||
bool function(int arg1, const char *arg2, std::string& arg3)
|
||||
```
|
||||
|
||||
A complete list of `@xxx` commands can be found at http://www.doxygen.nl/manual/commands.html.
|
||||
A complete list of `@xxx` commands can be found at https://www.doxygen.nl/manual/commands.html.
|
||||
As Doxygen recognizes the comments by the delimiters (`/**` and `*/` in this case), you don't
|
||||
*need* to provide any commands for a comment to be valid; just a description text is fine.
|
||||
|
||||
@ -249,7 +249,7 @@ Recommendations:
|
||||
|
||||
- Backticks aren't required when referring to functions Doxygen already knows
|
||||
about; it will build hyperlinks for these automatically. See
|
||||
http://www.doxygen.nl/manual/autolink.html for complete info.
|
||||
https://www.doxygen.nl/manual/autolink.html for complete info.
|
||||
|
||||
- Avoid linking to external documentation; links can break.
|
||||
|
||||
|
@ -17,12 +17,12 @@ static constexpr int AAD_PACKAGES_PER_ROUND = 21; /* 64 / 3 round down*/
|
||||
/* A AEAD class for ChaCha20-Poly1305@bitcoin.
|
||||
*
|
||||
* ChaCha20 is a stream cipher designed by Daniel Bernstein and described in
|
||||
* <ref>[http://cr.yp.to/chacha/chacha-20080128.pdf ChaCha20]</ref>. It operates
|
||||
* <ref>[https://cr.yp.to/chacha/chacha-20080128.pdf ChaCha20]</ref>. It operates
|
||||
* by permuting 128 fixed bits, 128 or 256 bits of key, a 64 bit nonce and a 64
|
||||
* bit counter into 64 bytes of output. This output is used as a keystream, with
|
||||
* any unused bytes simply discarded.
|
||||
*
|
||||
* Poly1305 <ref>[http://cr.yp.to/mac/poly1305-20050329.pdf Poly1305]</ref>, also
|
||||
* Poly1305 <ref>[https://cr.yp.to/mac/poly1305-20050329.pdf Poly1305]</ref>, also
|
||||
* by Daniel Bernstein, is a one-time Carter-Wegman MAC that computes a 128 bit
|
||||
* integrity tag given a message and a single-use 256 bit secret key.
|
||||
*
|
||||
|
@ -1001,7 +1001,7 @@ void Transform(uint32_t* s, const unsigned char* chunk, size_t blocks)
|
||||
; This code is described in an Intel White-Paper:
|
||||
; "Fast SHA-256 Implementations on Intel Architecture Processors"
|
||||
;
|
||||
; To find it, surf to http://www.intel.com/p/en_US/embedded
|
||||
; To find it, surf to https://www.intel.com/p/en_US/embedded
|
||||
; and search for that title.
|
||||
; The paper is expected to be released roughly at the end of April, 2012
|
||||
;
|
||||
|
@ -15,7 +15,7 @@ inline uint32_t ROTL32(uint32_t x, int8_t r)
|
||||
|
||||
unsigned int MurmurHash3(unsigned int nHashSeed, Span<const unsigned char> vDataToHash)
|
||||
{
|
||||
// The following is MurmurHash3 (x86_32), see http://code.google.com/p/smhasher/source/browse/trunk/MurmurHash3.cpp
|
||||
// The following is MurmurHash3 (x86_32), see https://code.google.com/p/smhasher/source/browse/trunk/MurmurHash3.cpp
|
||||
uint32_t h1 = nHashSeed;
|
||||
const uint32_t c1 = 0xcc9e2d51;
|
||||
const uint32_t c2 = 0x1b873593;
|
||||
|
@ -19,7 +19,7 @@ static secp256k1_context* secp256k1_context_sign = nullptr;
|
||||
|
||||
/**
|
||||
* This parses a format loosely based on a DER encoding of the ECPrivateKey type from
|
||||
* section C.4 of SEC 1 <http://www.secg.org/sec1-v2.pdf>, with the following caveats:
|
||||
* section C.4 of SEC 1 <https://www.secg.org/sec1-v2.pdf>, with the following caveats:
|
||||
*
|
||||
* * The octet-length of the SEQUENCE must be encoded as 1 or 2 octets. It is not
|
||||
* 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
|
||||
|
||||
/**
|
||||
* This serializes to a DER encoding of the ECPrivateKey type from section C.4 of SEC 1
|
||||
* <http://www.secg.org/sec1-v2.pdf>. The optional parameters and publicKey fields are
|
||||
* <https://www.secg.org/sec1-v2.pdf>. The optional parameters and publicKey fields are
|
||||
* included.
|
||||
*
|
||||
* seckey must point to an output buffer of length at least CKey::SIZE bytes.
|
||||
|
@ -767,7 +767,7 @@ bool SetStartOnSystemStartup(bool fAutoStart)
|
||||
#elif defined(Q_OS_LINUX)
|
||||
|
||||
// Follow the Desktop Application Autostart Spec:
|
||||
// http://standards.freedesktop.org/autostart-spec/autostart-spec-latest.html
|
||||
// https://specifications.freedesktop.org/autostart-spec/autostart-spec-latest.html
|
||||
|
||||
fs::path static GetAutostartDir()
|
||||
{
|
||||
|
@ -67,7 +67,7 @@ Notificator::~Notificator()
|
||||
|
||||
#ifdef USE_DBUS
|
||||
|
||||
// Loosely based on http://www.qtcentre.org/archive/index.php/t-25879.html
|
||||
// Loosely based on https://www.qtcentre.org/archive/index.php/t-25879.html
|
||||
class FreedesktopImage
|
||||
{
|
||||
public:
|
||||
|
@ -67,7 +67,7 @@ void* Arena::alloc(size_t size)
|
||||
|
||||
// Pick a large enough free-chunk. Returns an iterator pointing to the first element that is not less than key.
|
||||
// This allocation strategy is best-fit. According to "Dynamic Storage Allocation: A Survey and Critical Review",
|
||||
// Wilson et. al. 1995, http://www.scs.stanford.edu/14wi-cs140/sched/readings/wilson.pdf, best-fit and first-fit
|
||||
// Wilson et. al. 1995, https://www.scs.stanford.edu/14wi-cs140/sched/readings/wilson.pdf, best-fit and first-fit
|
||||
// policies seem to work well in practice.
|
||||
auto size_ptr_it = size_to_free_chunk.lower_bound(size);
|
||||
if (size_ptr_it == size_to_free_chunk.end())
|
||||
|
@ -218,7 +218,7 @@ bool TimingResistantEqual(const T& a, const T& b)
|
||||
}
|
||||
|
||||
/** Parse number as fixed point according to JSON number syntax.
|
||||
* See http://json.org/number.gif
|
||||
* See https://json.org/number.gif
|
||||
* @returns true on success, false on error.
|
||||
* @note The result must be in the range (-10^18,10^18), otherwise an overflow error will trigger.
|
||||
*/
|
||||
|
@ -454,7 +454,7 @@ BOOST_AUTO_TEST_CASE(knapsack_solver_test)
|
||||
BOOST_CHECK( testWallet.SelectCoinsMinConf(1 * MIN_CHANGE, filter_confirmed, GroupCoins(vCoins), setCoinsRet, nValueRet, coin_selection_params, bnb_used));
|
||||
BOOST_CHECK_EQUAL(nValueRet, 1 * MIN_CHANGE); // we should get the exact amount
|
||||
|
||||
// run the 'mtgox' test (see http://blockexplorer.com/tx/29a3efd3ef04f9153d47a990bd7b048a4b2d213daaa5fb8ed670fb85f13bdbcf)
|
||||
// run the 'mtgox' test (see https://blockexplorer.com/tx/29a3efd3ef04f9153d47a990bd7b048a4b2d213daaa5fb8ed670fb85f13bdbcf)
|
||||
// they tried to consolidate 10 50k coins into one 500k coin, and ended up with 50k in change
|
||||
empty_wallet();
|
||||
for (int j = 0; j < 20; j++)
|
||||
|
@ -22,7 +22,7 @@ def TaggedHash(tag, data):
|
||||
def jacobi_symbol(n, k):
|
||||
"""Compute the Jacobi symbol of n modulo k
|
||||
|
||||
See http://en.wikipedia.org/wiki/Jacobi_symbol
|
||||
See https://en.wikipedia.org/wiki/Jacobi_symbol
|
||||
|
||||
For our application k is always prime, so this is the same as the Legendre symbol."""
|
||||
assert k > 0 and k & 1, "jacobi symbol is only defined for positive odd k"
|
||||
|
@ -84,7 +84,7 @@ def get_bind_addrs(pid):
|
||||
bind_addrs.append(conn[1])
|
||||
return bind_addrs
|
||||
|
||||
# from: http://code.activestate.com/recipes/439093/
|
||||
# from: https://code.activestate.com/recipes/439093/
|
||||
def all_interfaces():
|
||||
'''
|
||||
Return all interfaces that are up
|
||||
|
Loading…
Reference in New Issue
Block a user