From 397beadfd55ef4a19ffac3f3f33075c14150b4aa Mon Sep 17 00:00:00 2001 From: Janus Troelsen Date: Wed, 9 Mar 2016 20:34:02 +0100 Subject: [PATCH] Fix spelling in legacy test and docs using aspell --- README.md | 2 +- internal/legacy/keystore/keystore_test.go | 2 +- rpc/documentation/README.md | 2 +- rpc/documentation/api.md | 2 +- rpc/documentation/serverchanges.md | 2 +- rpc/legacyrpc/errors.go | 6 +++--- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index ff66d0c..68a5940 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ btcwallet is a daemon handling bitcoin wallet functionality for a single user. It acts as both an RPC client to btcd and an RPC server for wallet clients and legacy RPC applications. -Public and private keys are derived using the heirarchical +Public and private keys are derived using the hierarchical deterministic format described by [BIP0032](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki). Unencrypted private keys are not supported and are never written to diff --git a/internal/legacy/keystore/keystore_test.go b/internal/legacy/keystore/keystore_test.go index 1e132b4..06cfe68 100644 --- a/internal/legacy/keystore/keystore_test.go +++ b/internal/legacy/keystore/keystore_test.go @@ -1166,7 +1166,7 @@ func TestChangePassphrase(t *testing.T) { // Change passphrase. if err := w.ChangePassphrase([]byte("potato")); err != nil { - t.Errorf("Changing passhprase failed: %v", err) + t.Errorf("Changing passphrase failed: %v", err) return } diff --git a/rpc/documentation/README.md b/rpc/documentation/README.md index a9155c7..7d57afb 100644 --- a/rpc/documentation/README.md +++ b/rpc/documentation/README.md @@ -13,4 +13,4 @@ implementation: - [Making API changes](./serverchanges.md) A legacy RPC server based on the JSON-RPC API of Bitcoin Core's wallet is also -available, but documenting its usage it out of scope for these documents. +available, but documenting its usage is out of scope for these documents. diff --git a/rpc/documentation/api.md b/rpc/documentation/api.md index 093dc78..f4f1c89 100644 --- a/rpc/documentation/api.md +++ b/rpc/documentation/api.md @@ -167,7 +167,7 @@ After opening a wallet, the `WalletService` service begins running. **Request:** `OpenWalletRequest` - `bytes public_passphrase`: The passphrase used for the outer wallet - encryption. This passhprase protects data that is made public on the + encryption. This passphrase protects data that is made public on the blockchain. If this passphrase has zero length, an insecure default is used instead. diff --git a/rpc/documentation/serverchanges.md b/rpc/documentation/serverchanges.md index 32b9b07..202ef55 100644 --- a/rpc/documentation/serverchanges.md +++ b/rpc/documentation/serverchanges.md @@ -46,7 +46,7 @@ must always be appended. It is forbidden to use the `required` attribute on a message field as this can cause errors during parsing when the new API is used by an older client. Instead, the (implicit) optional attribute is used, and the server -implementation must return an appropiate error if the new request field is not +implementation must return an appropriate error if the new request field is not set to a valid value. ## Step 2: Compile the `.proto` diff --git a/rpc/legacyrpc/errors.go b/rpc/legacyrpc/errors.go index 4a9749a..2116572 100644 --- a/rpc/legacyrpc/errors.go +++ b/rpc/legacyrpc/errors.go @@ -19,19 +19,19 @@ import ( // errors, and their *btcjson.RPCError creation. type ( // DeserializationError describes a failed deserializaion due to bad - // user input. It cooresponds to btcjson.ErrRPCDeserialization. + // user input. It corresponds to btcjson.ErrRPCDeserialization. DeserializationError struct { error } // InvalidParameterError describes an invalid parameter passed by - // the user. It cooresponds to btcjson.ErrRPCInvalidParameter. + // the user. It corresponds to btcjson.ErrRPCInvalidParameter. InvalidParameterError struct { error } // ParseError describes a failed parse due to bad user input. It - // cooresponds to btcjson.ErrRPCParse. + // corresponds to btcjson.ErrRPCParse. ParseError struct { error }