From 7fdd92c3a0a3f532548665062fc30a74bb226aa3 Mon Sep 17 00:00:00 2001 From: vuittont60 <81072379+vuittont60@users.noreply.github.com> Date: Tue, 9 Jan 2024 17:11:59 +0800 Subject: [PATCH 1/4] docs: fix typo --- docs/configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration.md b/docs/configuration.md index c6f95b274c..cc1d0dbe44 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -175,7 +175,7 @@ and we prefer to keep the daemon itself as lightweight as possible. access the database used by btcd and it will be locked if btcd is using it. 2. Note the path to the downloaded bootstrap.dat file. 3. Run the addblock utility with the `-i` argument pointing to the location of - boostrap.dat: + bootstrap.dat: **Windows:** From 048a7ef40b09359ac9a316d2537bce7cff672ed9 Mon Sep 17 00:00:00 2001 From: vuittont60 <81072379+vuittont60@users.noreply.github.com> Date: Tue, 9 Jan 2024 17:12:09 +0800 Subject: [PATCH 2/4] database: fix typo --- database/ffldb/driver_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/ffldb/driver_test.go b/database/ffldb/driver_test.go index 38a84ee2f9..0b2f452032 100644 --- a/database/ffldb/driver_test.go +++ b/database/ffldb/driver_test.go @@ -350,7 +350,7 @@ func TestPrune(t *testing.T) { } if pruned { - err = fmt.Errorf("The database hasn't been commited yet " + + err = fmt.Errorf("The database hasn't been committed yet " + "but files were already deleted") } return err From 7df46516b7ef2c77cfe577a8c4eb4f80dfc9544c Mon Sep 17 00:00:00 2001 From: vuittont60 <81072379+vuittont60@users.noreply.github.com> Date: Tue, 9 Jan 2024 17:12:23 +0800 Subject: [PATCH 3/4] btcutil: fix typo --- btcutil/hdkeychain/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btcutil/hdkeychain/README.md b/btcutil/hdkeychain/README.md index eaf57d7c58..33eba3ce16 100644 --- a/btcutil/hdkeychain/README.md +++ b/btcutil/hdkeychain/README.md @@ -26,7 +26,7 @@ report. - Obtaining the underlying EC pubkeys, EC privkeys, and associated bitcoin addresses ties in seamlessly with existing btcec and btcutil types which provide powerful tools for working with them to do things like sign - transations and generate payment scripts + transactions and generate payment scripts - Uses the btcec package which is highly optimized for secp256k1 - Code examples including: - Generating a cryptographically secure random seed and deriving a From 6ed54f3bf274fa5927781be6430e967acc568ef1 Mon Sep 17 00:00:00 2001 From: vuittont60 <81072379+vuittont60@users.noreply.github.com> Date: Tue, 9 Jan 2024 17:12:36 +0800 Subject: [PATCH 4/4] btcec: fix typo --- btcec/schnorr/signature_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btcec/schnorr/signature_test.go b/btcec/schnorr/signature_test.go index 2f96b7e4d5..9e99bbe233 100644 --- a/btcec/schnorr/signature_test.go +++ b/btcec/schnorr/signature_test.go @@ -245,7 +245,7 @@ func TestSchnorrVerify(t *testing.T) { verify := err == nil if test.verifyResult != verify { - t.Fatalf("test #%v: verificaiton mismatch: expected "+ + t.Fatalf("test #%v: verification mismatch: expected "+ "%v, got %v", i, test.verifyResult, verify) }