diff --git a/CHANGES b/CHANGES index a02b5c5b..ef109ad6 100644 --- a/CHANGES +++ b/CHANGES @@ -47,7 +47,7 @@ Changes in 0.11.0 (Wed May 06 2015) - Fix a case that could lead stalled syncs (#138, #296) - Network address manager changes: - Implement eclipse attack countermeasures as proposed in - http://cs-people.bu.edu/heilman/eclipse (#370, #373) + https://cs-people.bu.edu/heilman/eclipse (#370, #373) - Optional address indexing changes: - Fix an issue where a reorg could cause an orderly shutdown when the address index is active (#340, #357) diff --git a/README.md b/README.md index ee651e56..bd09ac5b 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ dcrd ==== [![Build Status](https://travis-ci.org/decred/dcrd.png?branch=master)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd) [![Go Report Card](https://goreportcard.com/badge/github.com/decred/dcrd)](https://goreportcard.com/report/github.com/decred/dcrd) ## Decred Overview diff --git a/bech32/README.md b/bech32/README.md index feb7dc26..fed33cc0 100644 --- a/bech32/README.md +++ b/bech32/README.md @@ -1,9 +1,9 @@ bech32 ========== -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd/bech32) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](http://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/bech32) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd/bech32) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/bech32) Package bech32 provides a Go implementation of the bech32 format specified in [BIP 173](https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki). diff --git a/blockchain/README.md b/blockchain/README.md index fb7c7f86..5363f8ae 100644 --- a/blockchain/README.md +++ b/blockchain/README.md @@ -1,9 +1,9 @@ blockchain ========== -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/blockchain) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/blockchain) Package blockchain implements Decred block handling and chain selection rules. The test coverage is currently only around 60%, but will be increasing over @@ -61,18 +61,18 @@ is by no means exhaustive: ## Examples -* [ProcessBlock Example](http://godoc.org/github.com/decred/dcrd/blockchain#example-BlockChain-ProcessBlock) +* [ProcessBlock Example](https://godoc.org/github.com/decred/dcrd/blockchain#example-BlockChain-ProcessBlock) Demonstrates how to create a new chain instance and use ProcessBlock to attempt to add a block to the chain. This example intentionally attempts to insert a duplicate genesis block to illustrate how an invalid block is handled. -* [CompactToBig Example](http://godoc.org/github.com/decred/dcrd/blockchain#example-CompactToBig) +* [CompactToBig Example](https://godoc.org/github.com/decred/dcrd/blockchain#example-CompactToBig) Demonstrates how to convert the compact "bits" in a block header which represent the target difficulty to a big integer and display it using the typical hex notation. -* [BigToCompact Example](http://godoc.org/github.com/decred/dcrd/blockchain#example-BigToCompact) +* [BigToCompact Example](https://godoc.org/github.com/decred/dcrd/blockchain#example-BigToCompact) Demonstrates how to convert how to convert a target difficulty into the compact "bits" in a block header which represent that target difficulty. diff --git a/blockchain/chaingen/README.md b/blockchain/chaingen/README.md index 95c348ef..66e98444 100644 --- a/blockchain/chaingen/README.md +++ b/blockchain/chaingen/README.md @@ -2,8 +2,8 @@ chaingen ======== [![Build Status](https://travis-ci.org/decred/dcrd.png?branch=master)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/blockchain/chaingen) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/blockchain/chaingen) Package chaingen provides facilities for generating a full chain of blocks. @@ -26,7 +26,7 @@ functions. ## Examples * [Basic Usage Example] - (http://godoc.org/github.com/decred/dcrd/blockchain/chaingen#example-package--BasicUsage) + (https://godoc.org/github.com/decred/dcrd/blockchain/chaingen#example-package--BasicUsage) Demonstrates creating a new generator instance and using it to generate the required premine block and enough blocks to have mature coinbase outputs to work with along with asserting the generator state along the way. diff --git a/blockchain/fullblocktests/README.md b/blockchain/fullblocktests/README.md index 754d7a6e..4e22844b 100644 --- a/blockchain/fullblocktests/README.md +++ b/blockchain/fullblocktests/README.md @@ -1,9 +1,9 @@ fullblocktests ============== -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/blockchain/fullblocktests) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/blockchain/fullblocktests) Package fullblocktests provides a set of full block tests to be used for testing the consensus validation rules. The tests are intended to be flexible enough to diff --git a/blockchain/indexers/README.md b/blockchain/indexers/README.md index 40aad1fd..fcecaa63 100644 --- a/blockchain/indexers/README.md +++ b/blockchain/indexers/README.md @@ -2,8 +2,8 @@ indexers ======== [![Build Status](https://travis-ci.org/decred/dcrd.png?branch=master)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://godoc.org/github.com/decred/dcrd/blockchain/indexers?status.png)](http://godoc.org/github.com/decred/dcrd/blockchain/indexers) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://godoc.org/github.com/decred/dcrd/blockchain/indexers?status.png)](https://godoc.org/github.com/decred/dcrd/blockchain/indexers) Package indexers implements optional block chain indexes. diff --git a/blockchain/stake/internal/tickettreap/README.md b/blockchain/stake/internal/tickettreap/README.md index a49c0b35..c0814bf8 100644 --- a/blockchain/stake/internal/tickettreap/README.md +++ b/blockchain/stake/internal/tickettreap/README.md @@ -2,8 +2,8 @@ tickettreap =========== [![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/blockchain/stake/internal/tickettreap) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/blockchain/stake/internal/tickettreap) Package tickettreap implements a treap data structure that is used to hold live tickets ordered by their key along with some associated data using a diff --git a/certgen/README.md b/certgen/README.md index 3b470d23..0cab6ccd 100644 --- a/certgen/README.md +++ b/certgen/README.md @@ -1,9 +1,9 @@ Certgen ====== -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/certgen) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/certgen) ## Overview diff --git a/chaincfg/README.md b/chaincfg/README.md index 4d88b81a..848d1fa7 100644 --- a/chaincfg/README.md +++ b/chaincfg/README.md @@ -1,9 +1,9 @@ chaincfg ======== -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/chaincfg) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/chaincfg) Package chaincfg defines chain configuration parameters for the four standard Decred networks. diff --git a/chaincfg/chainhash/README.md b/chaincfg/chainhash/README.md index b6d0a87c..85d7bbcd 100644 --- a/chaincfg/chainhash/README.md +++ b/chaincfg/chainhash/README.md @@ -1,9 +1,9 @@ chainhash ========= -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/chaincfg/chainhash) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/chaincfg/chainhash) chainhash provides a generic hash type and associated functions that allows the specific hash algorithm to be abstracted. diff --git a/connmgr/README.md b/connmgr/README.md index 98a81750..d6702e0f 100644 --- a/connmgr/README.md +++ b/connmgr/README.md @@ -1,9 +1,9 @@ connmgr ======= -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/connmgr) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/connmgr) Package connmgr implements a generic Decred network connection manager. diff --git a/database/README.md b/database/README.md index 48f23d09..88f4a9a4 100644 --- a/database/README.md +++ b/database/README.md @@ -1,9 +1,9 @@ database ======== -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/database) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/database) Package database provides a block and metadata storage database. @@ -42,11 +42,11 @@ $ go get github.com/decred/dcrd/database2 ## Examples -* [Basic Usage Example](http://godoc.org/github.com/decred/dcrd/database2#example-package--BasicUsage) +* [Basic Usage Example](https://godoc.org/github.com/decred/dcrd/database2#example-package--BasicUsage) Demonstrates creating a new database and using a managed read-write transaction to store and retrieve metadata. -* [Block Storage and Retrieval Example](http://godoc.org/github.com/decred/dcrd/database2#example-package--BlockStorageAndRetrieval) +* [Block Storage and Retrieval Example](https://godoc.org/github.com/decred/dcrd/database2#example-package--BlockStorageAndRetrieval) Demonstrates creating a new database, using a managed read-write transaction to store a block, and then using a managed read-only transaction to fetch the block. diff --git a/database/ffldb/README.md b/database/ffldb/README.md index 0b3cfaf7..68ad28a4 100644 --- a/database/ffldb/README.md +++ b/database/ffldb/README.md @@ -1,9 +1,9 @@ ffldb ===== -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/database/ffldb) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/database/ffldb) Package ffldb implements a driver for the database package that uses leveldb for the backing metadata and flat files for block storage. diff --git a/database/internal/treap/README.md b/database/internal/treap/README.md index be2f4628..03ea2d13 100644 --- a/database/internal/treap/README.md +++ b/database/internal/treap/README.md @@ -1,9 +1,9 @@ treap ===== -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/database/internal/treap) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/database/internal/treap) Package treap implements a treap data structure that is used to hold ordered key/value pairs using a combination of binary search tree and heap semantics. diff --git a/dcrec/edwards/ecdsa_test.go b/dcrec/edwards/ecdsa_test.go index e1adbddb..429e8442 100644 --- a/dcrec/edwards/ecdsa_test.go +++ b/dcrec/edwards/ecdsa_test.go @@ -19,7 +19,7 @@ import ( func TestGolden(t *testing.T) { // sign.input.gz is a selection of test cases from - // http://ed25519.cr.yp.to/python/sign.input + // https://ed25519.cr.yp.to/python/sign.input testDataZ, err := os.Open("testdata/sign.input.gz") if err != nil { t.Fatal(err) diff --git a/dcrec/secp256k1/README.md b/dcrec/secp256k1/README.md index cd5d0afc..561b3b14 100644 --- a/dcrec/secp256k1/README.md +++ b/dcrec/secp256k1/README.md @@ -1,9 +1,9 @@ secp256k1 ===== -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/dcrec/secp256k1) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/dcrec/secp256k1) Package dcrec implements elliptic curve cryptography needed for working with Decred (secp256k1 only for now). It is designed so that it may be used with the @@ -25,19 +25,19 @@ $ go get -u github.com/decred/dcrd/dcrec ## Examples -* [Sign Message](http://godoc.org/github.com/decred/dcrd/dcrec#example-package--SignMessage) +* [Sign Message](https://godoc.org/github.com/decred/dcrd/dcrec#example-package--SignMessage) Demonstrates signing a message with a secp256k1 private key that is first parsed form raw bytes and serializing the generated signature. -* [Verify Signature](http://godoc.org/github.com/decred/dcrd/dcrec#example-package--VerifySignature) +* [Verify Signature](https://godoc.org/github.com/decred/dcrd/dcrec#example-package--VerifySignature) Demonstrates verifying a secp256k1 signature against a public key that is first parsed from raw bytes. The signature is also parsed from raw bytes. -* [Encryption](http://godoc.org/github.com/decred/dcrd/dcrec#example-package--EncryptMessage) +* [Encryption](https://godoc.org/github.com/decred/dcrd/dcrec#example-package--EncryptMessage) Demonstrates encrypting a message for a public key that is first parsed from raw bytes, then decrypting it using the corresponding private key. -* [Decryption](http://godoc.org/github.com/decred/dcrdy/dcrec#example-package--DecryptMessage) +* [Decryption](https://godoc.org/github.com/decred/dcrdy/dcrec#example-package--DecryptMessage) Demonstrates decrypting a message using a private key that is first parsed from raw bytes. diff --git a/dcrec/secp256k1/btcec.go b/dcrec/secp256k1/btcec.go index 2e4ba7cb..8ea7a363 100644 --- a/dcrec/secp256k1/btcec.go +++ b/dcrec/secp256k1/btcec.go @@ -9,7 +9,7 @@ package secp256k1 // References: // [SECG]: Recommended Elliptic Curve Domain Parameters -// http://www.secg.org/sec2-v2.pdf +// https://www.secg.org/sec2-v2.pdf // // [GECC]: Guide to Elliptic Curve Cryptography (Hankerson, Menezes, Vanstone) @@ -130,7 +130,7 @@ func (curve *KoblitzCurve) addZ1AndZ2EqualsOne(x1, y1, z1, x2, y2, x3, y3, z3 *f // To compute the point addition efficiently, this implementation splits // the equation into intermediate elements which are used to minimize // the number of field multiplications using the method shown at: - // http://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#addition-mmadd-2007-bl + // https://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#addition-mmadd-2007-bl // // In particular it performs the calculations using the following: // H = X2-X1, HH = H^2, I = 4*HH, J = H*I, r = 2*(Y2-Y1), V = X1*I @@ -197,7 +197,7 @@ func (curve *KoblitzCurve) addZ1EqualsZ2(x1, y1, z1, x2, y2, x3, y3, z3 *fieldVa // the equation into intermediate elements which are used to minimize // the number of field multiplications using a slightly modified version // of the method shown at: - // http://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#addition-mmadd-2007-bl + // https://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#addition-mmadd-2007-bl // // In particular it performs the calculations using the following: // A = X2-X1, B = A^2, C=Y2-Y1, D = C^2, E = X1*B, F = X2*B @@ -265,7 +265,7 @@ func (curve *KoblitzCurve) addZ2EqualsOne(x1, y1, z1, x2, y2, x3, y3, z3 *fieldV // To compute the point addition efficiently, this implementation splits // the equation into intermediate elements which are used to minimize // the number of field multiplications using the method shown at: - // http://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#addition-madd-2007-bl + // https://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#addition-madd-2007-bl // // In particular it performs the calculations using the following: // Z1Z1 = Z1^2, U2 = X2*Z1Z1, S2 = Y2*Z1*Z1Z1, H = U2-X1, HH = H^2, @@ -341,7 +341,7 @@ func (curve *KoblitzCurve) addGeneric(x1, y1, z1, x2, y2, z2, x3, y3, z3 *fieldV // To compute the point addition efficiently, this implementation splits // the equation into intermediate elements which are used to minimize // the number of field multiplications using the method shown at: - // http://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#addition-add-2007-bl + // https://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#addition-add-2007-bl // // In particular it performs the calculations using the following: // Z1Z1 = Z1^2, Z2Z2 = Z2^2, U1 = X1*Z2Z2, U2 = X2*Z1Z1, S1 = Y1*Z2*Z2Z2 @@ -497,7 +497,7 @@ func (curve *KoblitzCurve) doubleZ1EqualsOne(x1, y1, x3, y3, z3 *fieldVal) { // implementation at the time this was written. // // This uses a slightly modified version of the method shown at: - // http://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#doubling-mdbl-2007-bl + // https://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#doubling-mdbl-2007-bl // // In particular it performs the calculations using the following: // A = X1^2, B = Y1^2, C = B^2, D = 2*((X1+B)^2-A-C) @@ -546,7 +546,7 @@ func (curve *KoblitzCurve) doubleGeneric(x1, y1, z1, x3, y3, z3 *fieldVal) { // implementation at the time this was written. // // This uses a slightly modified version of the method shown at: - // http://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#doubling-dbl-2009-l + // https://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#doubling-dbl-2009-l // // In particular it performs the calculations using the following: // A = X1^2, B = Y1^2, C = B^2, D = 2*((X1+B)^2-A-C) diff --git a/dcrec/secp256k1/doc.go b/dcrec/secp256k1/doc.go index c7bc3578..a6991189 100644 --- a/dcrec/secp256k1/doc.go +++ b/dcrec/secp256k1/doc.go @@ -8,7 +8,7 @@ Package secp256k1 implements support for the elliptic curves needed for Decred. Decred uses elliptic curve cryptography using koblitz curves (specifically secp256k1) for cryptographic functions. See -http://www.secg.org/sec2-v2.pdf for details on the standard. +https://www.secg.org/sec2-v2.pdf for details on the standard. This package provides the data structures and functions implementing the crypto/elliptic Curve interface in order to permit using these curves diff --git a/dcrjson/README.md b/dcrjson/README.md index 9f6dadb3..954c2fcd 100644 --- a/dcrjson/README.md +++ b/dcrjson/README.md @@ -2,8 +2,8 @@ dcrjson ======= [![Build Status](https://travis-ci.org/decred/dcrd.png?branch=master)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/dcrjson) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/dcrjson) Package dcrjson implements concrete types for marshalling to and from the decred JSON-RPC API. A comprehensive suite of tests is provided to ensure @@ -30,17 +30,17 @@ $ go get -u github.com/decred/dcrd/dcrjson ## Examples -* [Marshal Command](http://godoc.org/github.com/decred/dcrd/dcrjson#example-MarshalCmd) +* [Marshal Command](https://godoc.org/github.com/decred/dcrd/dcrjson#example-MarshalCmd) Demonstrates how to create and marshal a command into a JSON-RPC request. -* [Unmarshal Command](http://godoc.org/github.com/decred/dcrd/dcrjson#example-UnmarshalCmd) +* [Unmarshal Command](https://godoc.org/github.com/decred/dcrd/dcrjson#example-UnmarshalCmd) Demonstrates how to unmarshal a JSON-RPC request and then unmarshal the concrete request into a concrete command. -* [Marshal Response](http://godoc.org/github.com/decred/dcrd/dcrjson#example-MarshalResponse) +* [Marshal Response](https://godoc.org/github.com/decred/dcrd/dcrjson#example-MarshalResponse) Demonstrates how to marshal a JSON-RPC response. -* [Unmarshal Response](http://godoc.org/github.com/decred/dcrd/dcrjson#example-package--UnmarshalResponse) +* [Unmarshal Response](https://godoc.org/github.com/decred/dcrd/dcrjson#example-package--UnmarshalResponse) Demonstrates how to unmarshal a JSON-RPC response and then unmarshal the result field in the response to a concrete type. diff --git a/dcrutil/README.md b/dcrutil/README.md index 0cf94fa0..6a845a6c 100644 --- a/dcrutil/README.md +++ b/dcrutil/README.md @@ -2,9 +2,9 @@ dcrutil ======= -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](http://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/dcrutil) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/dcrutil) Package dcrutil provides decred-specific convenience functions and types. A comprehensive suite of tests is provided to ensure proper functionality. diff --git a/dcrutil/amount.go b/dcrutil/amount.go index d2c97a91..1a04b451 100644 --- a/dcrutil/amount.go +++ b/dcrutil/amount.go @@ -73,7 +73,7 @@ func round(f float64) Amount { // NewAmount is for specifically for converting DCR to Atoms (atomic units). // For creating a new Amount with an int64 value which denotes a quantity of // Atoms, do a simple type conversion from type int64 to Amount. -// See GoDoc for example: http://godoc.org/github.com/decred/dcrd/dcrutil#example-Amount +// See GoDoc for example: https://godoc.org/github.com/decred/dcrd/dcrutil#example-Amount func NewAmount(f float64) (Amount, error) { // The amount is only considered invalid if it cannot be represented // as an integer type. This may happen if f is NaN or +-Infinity. diff --git a/dcrutil/txsort/README.md b/dcrutil/txsort/README.md index 19d9d3b7..0d80ba25 100644 --- a/dcrutil/txsort/README.md +++ b/dcrutil/txsort/README.md @@ -1,9 +1,9 @@ txsort ====== -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](http://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/dcrutil/txsort) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/dcrutil/txsort) Package txsort provides stable transaction sorting. diff --git a/docs/README.md b/docs/README.md index 9ddc0af4..33e073ca 100644 --- a/docs/README.md +++ b/docs/README.md @@ -20,7 +20,7 @@ ### 1. About -dcrd is a full node Decred implementation written in [Go](http://golang.org), +dcrd is a full node Decred implementation written in [Go](https://golang.org), and is licensed under the [copyfree](http://www.copyfree.org) ISC License. This software is currently under active development. It is extremely stable and @@ -48,7 +48,7 @@ The first step is to install dcrd. The installation instructions can be found **2.2 Configuration**
-dcrd has a number of [configuration](http://godoc.org/github.com/decred/dcrd) +dcrd has a number of [configuration](https://godoc.org/github.com/decred/dcrd) options, which can be viewed by running: `$ dcrd --help`. @@ -56,7 +56,7 @@ options, which can be viewed by running: `$ dcrd --help`. **2.3 Controlling and Querying dcrd via dcrctl**
dcrctl is a command line utility that can be used to both control and query dcrd -via [RPC](http://www.wikipedia.org/wiki/Remote_procedure_call). dcrd does +via [RPC](https://www.wikipedia.org/wiki/Remote_procedure_call). dcrd does **not** enable its RPC server by default; You must configure at minimum both an RPC username and password or both an RPC limited username and password: @@ -100,7 +100,7 @@ miningaddr=DsExampleAddress2 **2. Add dcrd's RPC TLS certificate to system Certificate Authority list.**
-`cgminer` uses [curl](http://curl.haxx.se/) to fetch data from the RPC server. +`cgminer` uses [curl](https://curl.haxx.se/) to fetch data from the RPC server. Since curl validates the certificate by default, we must install the `dcrd` RPC certificate into the default system Certificate Authority list. @@ -228,4 +228,4 @@ The following versioned modules are provided by dcrd repository: The following diagram shows an overview of the hierarchy for the modules provided by the dcrd repository. -![Module Hierarchy](./assets/module_hierarchy.svg) \ No newline at end of file +![Module Hierarchy](./assets/module_hierarchy.svg) diff --git a/docs/assets/module_hierarchy.svg b/docs/assets/module_hierarchy.svg index af8debac..84ff379a 100644 --- a/docs/assets/module_hierarchy.svg +++ b/docs/assets/module_hierarchy.svg @@ -1,11 +1,11 @@ + "https://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> + viewBox="0.00 0.00 695.50 792.00" xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink"> %3 diff --git a/docs/code_contribution_guidelines.md b/docs/code_contribution_guidelines.md index 7b53c75d..217093d8 100644 --- a/docs/code_contribution_guidelines.md +++ b/docs/code_contribution_guidelines.md @@ -69,7 +69,7 @@ security and performance implications. ### 3. Required Reading -- [Effective Go](http://golang.org/doc/effective_go.html) - The entire dcrd +- [Effective Go](https://golang.org/doc/effective_go.html) - The entire dcrd suite follows the guidelines in this document. For your code to be accepted, it must follow the guidelines therein. - [Original Satoshi Whitepaper](https://bitcoin.org/bitcoin.pdf) - This is the @@ -125,7 +125,7 @@ code works correctly when it is fed correct data as well as incorrect data Go provides an excellent test framework that makes writing test code and checking coverage statistics straight forward. For more information about the -test coverage tools, see the [Golang cover blog post](http://blog.golang.org/cover). +test coverage tools, see the [Golang cover blog post](https://blog.golang.org/cover). A simple way to check the coverage of a package and all its functions is to call ``` @@ -147,7 +147,7 @@ A quick summary of test practices follows: - At a minimum every function must be commented with its intended purpose and any assumptions that it makes - Function comments must always begin with the name of the function per - [Effective Go](http://golang.org/doc/effective_go.html). + [Effective Go](https://golang.org/doc/effective_go.html). - Function comments should be complete sentences since they allow a wide variety of automated presentations such as [godoc.org](https://godoc.org). - The general rule of thumb is to look at it as if you were completely diff --git a/docs/json_rpc_api.mediawiki b/docs/json_rpc_api.mediawiki index 2e3637fa..f9d60d25 100644 --- a/docs/json_rpc_api.mediawiki +++ b/docs/json_rpc_api.mediawiki @@ -1,6 +1,6 @@ ==1. Overview== -dcrd provides a [http://json-rpc.org/wiki/specification JSON-RPC] API that is +dcrd provides a [https://json-rpc.org/wiki/specification JSON-RPC] API that is fully compatible with the original bitcoind/bitcoin-qt. There are a few key differences between dcrd and bitcoind as far as how RPCs are serviced: diff --git a/fees/README.md b/fees/README.md index 182cf108..cf86c665 100644 --- a/fees/README.md +++ b/fees/README.md @@ -2,9 +2,9 @@ fees ======= -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](http://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/fees) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/fees) Package fees provides decred-specific methods for tracking and estimating fee rates for new transactions to be mined into the network. Fee rate estimation has diff --git a/gcs/README.md b/gcs/README.md index 8b5e73fc..b69f52b0 100644 --- a/gcs/README.md +++ b/gcs/README.md @@ -1,9 +1,9 @@ gcs ========== -[![GoDoc](https://godoc.org/github.com/decred/dcrd/gcs?status.png)](http://godoc.org/github.com/decred/dcrd/gcs) +[![GoDoc](https://godoc.org/github.com/decred/dcrd/gcs?status.png)](https://godoc.org/github.com/decred/dcrd/gcs) Package gcs provides an API for building and using a Golomb-coded set filter -similar to that described [here](http://giovanni.bajo.it/post/47119962313/golomb-coded-sets-smaller-than-bloom-filters). +similar to that described [here](https://giovanni.bajo.it/post/47119962313/golomb-coded-sets-smaller-than-bloom-filters). -A comprehensive suite of tests is provided to ensure proper functionality. \ No newline at end of file +A comprehensive suite of tests is provided to ensure proper functionality. diff --git a/gcs/blockcf/README.md b/gcs/blockcf/README.md index 537da224..442c151d 100644 --- a/gcs/blockcf/README.md +++ b/gcs/blockcf/README.md @@ -1,8 +1,8 @@ blockcf ========== -[![GoDoc](https://godoc.org/github.com/decred/dcrd/gcs/blockcf?status.png)](http://godoc.org/github.com/decred/dcrd/gcs/blockcf) +[![GoDoc](https://godoc.org/github.com/decred/dcrd/gcs/blockcf?status.png)](https://godoc.org/github.com/decred/dcrd/gcs/blockcf) Package blockcf provides functions to build committed filters from blocks. Unlike the gcs package, which is a general implementation of golomb coded sets, -this package is tailored for specific filter creation for Decred blocks. \ No newline at end of file +this package is tailored for specific filter creation for Decred blocks. diff --git a/hdkeychain/README.md b/hdkeychain/README.md index 9ac64600..cd751c20 100644 --- a/hdkeychain/README.md +++ b/hdkeychain/README.md @@ -1,9 +1,9 @@ hdkeychain ========== -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](http://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/hdkeychain) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/hdkeychain) Package hdkeychain provides an API for Decred hierarchical deterministic extended keys (based on BIP0032). @@ -43,13 +43,13 @@ $ go get -u github.com/decred/dcrd/hdkeychain ## Examples -* [NewMaster Example](http://godoc.org/github.com/decred/dcrd/hdkeychain#example-package--NewMaster) +* [NewMaster Example](https://godoc.org/github.com/decred/dcrd/hdkeychain#example-package--NewMaster) Demonstrates how to generate a cryptographically random seed then use it to create a new master node (extended key). -* [Default Wallet Layout Example](http://godoc.org/github.com/decred/dcrd/hdkeychain#example-package--DefaultWalletLayout) +* [Default Wallet Layout Example](https://godoc.org/github.com/decred/dcrd/hdkeychain#example-package--DefaultWalletLayout) Demonstrates the default hierarchical deterministic wallet layout as described in BIP0032. -* [Audits Use Case Example](http://godoc.org/github.com/decred/dcrd/hdkeychain#example-package--Audits) +* [Audits Use Case Example](https://godoc.org/github.com/decred/dcrd/hdkeychain#example-package--Audits) Demonstrates the audits use case in BIP0032. ## License diff --git a/internal/limits/README.md b/internal/limits/README.md index 80dfba43..07c4d20e 100644 --- a/internal/limits/README.md +++ b/internal/limits/README.md @@ -1,9 +1,9 @@ limits ====== -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](http://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/internal/limits) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/internal/limits) Package limits allows some process limits to be raised. diff --git a/internal/version/README.md b/internal/version/README.md index 4149b075..7d8bc3e9 100644 --- a/internal/version/README.md +++ b/internal/version/README.md @@ -1,9 +1,9 @@ version ======= -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](http://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/internal/version) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/internal/version) Package version provides a single location to house the version information for dcrd and other utilities provided in the same repository. diff --git a/internal/version/version.go b/internal/version/version.go index 57bf6f8a..72ee6f22 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -24,7 +24,7 @@ const ( ) // These constants define the application version and follow the semantic -// versioning 2.0.0 spec (http://semver.org/). +// versioning 2.0.0 spec (https://semver.org/). const ( Major uint = 1 Minor uint = 5 @@ -48,7 +48,7 @@ var ( ) // String returns the application version as a properly formed string per the -// semantic versioning 2.0.0 spec (http://semver.org/). +// semantic versioning 2.0.0 spec (https://semver.org/). func String() string { // Start with the major, minor, and patch versions. version := fmt.Sprintf("%d.%d.%d", Major, Minor, Patch) diff --git a/lru/README.md b/lru/README.md index d4b3797d..a5b5681b 100644 --- a/lru/README.md +++ b/lru/README.md @@ -1,9 +1,9 @@ lru === -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/lru) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/lru) Package lru implements a generic least-recently-used cache with near O(1) perf. @@ -31,7 +31,7 @@ $ go get -u github.com/decred/dcrd/lru ## Examples -* [Basic Usage](http://godoc.org/github.com/decred/dcrd/lru#example-package--BasicUsage) +* [Basic Usage](https://godoc.org/github.com/decred/dcrd/lru#example-package--BasicUsage) Demonstrates creating a new cache instance, inserting items into the cache, causing an eviction of the least-recently-used item, and removing an item. diff --git a/mempool/README.md b/mempool/README.md index ac5f2172..46037ed9 100644 --- a/mempool/README.md +++ b/mempool/README.md @@ -1,9 +1,9 @@ mempool ======= -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/mempool) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/mempool) Package mempool provides a policy-enforced pool of unmined Decred transactions. diff --git a/mining/README.md b/mining/README.md index 8e0e82b7..9c99a8c7 100644 --- a/mining/README.md +++ b/mining/README.md @@ -1,9 +1,9 @@ mining ====== -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/mining) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/mining) ## Overview diff --git a/peer/README.md b/peer/README.md index 2054a106..4b81fb8c 100644 --- a/peer/README.md +++ b/peer/README.md @@ -1,9 +1,9 @@ peer ==== -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/peer) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/peer) Package peer provides a common base for creating and managing bitcoin network peers. diff --git a/rpcclient/README.md b/rpcclient/README.md index 82d51cf1..79fc96f6 100644 --- a/rpcclient/README.md +++ b/rpcclient/README.md @@ -1,12 +1,12 @@ rpcclient ========= -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/rpcclient) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/rpcclient) rpcclient implements a Websocket-enabled Decred JSON-RPC client package written -in [Go](http://golang.org/). It provides a robust and easy to use client for +in [Go](https://golang.org/). It provides a robust and easy to use client for interfacing with a Decred RPC server that uses a dcrd compatible Decred JSON-RPC API. @@ -18,7 +18,7 @@ implement and the API is not stable yet. ## Documentation -* [API Reference](http://godoc.org/github.com/decred/dcrd/rpcclient) +* [API Reference](https://godoc.org/github.com/decred/dcrd/rpcclient) * [dcrd Websockets Example](https://github.com/decred/dcrd/tree/master/rpcclient/examples/dcrdwebsockets) Connects to a dcrd RPC server using TLS-secured websockets, registers for block connected and block disconnected notifications, and gets the current diff --git a/rpctest/README.md b/rpctest/README.md index b5d4199e..27b725bd 100644 --- a/rpctest/README.md +++ b/rpctest/README.md @@ -1,9 +1,9 @@ rpctest ======= -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/rpctest) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/rpctest) Package rpctest provides a dcrd-specific RPC testing harness crafting and executing integration tests by driving a `dcrd` instance via the `RPC` diff --git a/sampleconfig/README.md b/sampleconfig/README.md index e01c0749..571b0452 100644 --- a/sampleconfig/README.md +++ b/sampleconfig/README.md @@ -1,9 +1,9 @@ sampleconfig ============ -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/sampleconfig) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/sampleconfig) Package sampleconfig provides a single constant that contains the contents of the sample configuration file for dcrd. This is provided for tools that perform diff --git a/txscript/README.md b/txscript/README.md index ff217e13..8b41f350 100644 --- a/txscript/README.md +++ b/txscript/README.md @@ -1,9 +1,9 @@ txscript ======== -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/txscript) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/txscript) Package txscript implements the Decred transaction script language. There is a comprehensive test suite. @@ -25,18 +25,18 @@ $ go get -u github.com/decred/dcrd/txscript ## Examples -* [Standard Pay-to-pubkey-hash Script](http://godoc.org/github.com/decred/dcrd/txscript#example-PayToAddrScript) +* [Standard Pay-to-pubkey-hash Script](https://godoc.org/github.com/decred/dcrd/txscript#example-PayToAddrScript) Demonstrates creating a script which pays to a Decred address. It also prints the created script hex and uses the DisasmString function to display the disassembled script. -* [Extracting Details from Standard Scripts](http://godoc.org/github.com/decred/dcrd/txscript#example-ExtractPkScriptAddrs) +* [Extracting Details from Standard Scripts](https://godoc.org/github.com/decred/dcrd/txscript#example-ExtractPkScriptAddrs) Demonstrates extracting information from a standard public key script. -* [Manually Signing a Transaction Output](http://godoc.org/github.com/decred/dcrd/txscript#example-SignTxOutput) +* [Manually Signing a Transaction Output](https://godoc.org/github.com/decred/dcrd/txscript#example-SignTxOutput) Demonstrates manually creating and signing a redeem transaction. -* [Counting Opcodes in Scripts](http://godoc.org/github.com/decred/dcrd/txscript#example-ScriptTokenizer) +* [Counting Opcodes in Scripts](https://godoc.org/github.com/decred/dcrd/txscript#example-ScriptTokenizer) Demonstrates creating a script tokenizer instance and using it to count the number of opcodes a script contains. diff --git a/upnp.go b/upnp.go index 499025bc..cab75f0a 100644 --- a/upnp.go +++ b/upnp.go @@ -108,7 +108,7 @@ func Discover() (nat NAT, err error) { continue } // HTTP header field names are case-insensitive. - // http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2 + // https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2 locString := "\r\nlocation: " locIndex := strings.Index(strings.ToLower(answer), locString) if locIndex < 0 { diff --git a/wire/README.md b/wire/README.md index 2c70edf8..b0a75ad6 100644 --- a/wire/README.md +++ b/wire/README.md @@ -1,9 +1,9 @@ wire ==== -[![Build Status](http://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) -[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrd/wire) +[![Build Status](https://img.shields.io/travis/decred/dcrd.svg)](https://travis-ci.org/decred/dcrd) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/decred/dcrd/wire) Package wire implements the Decred wire protocol. A comprehensive suite of tests with 100% test coverage is provided to ensure proper functionality.