diff --git a/console/console.go b/console/console.go index 3cd2ad34b7dad16005e2a49cb2a89fb4fb8e983f..c42c9bfbb3adcbae3f40e74e2f47ccdbe6a27115 100644 --- a/console/console.go +++ b/console/console.go @@ -47,7 +47,7 @@ const HistoryFile = "history" // DefaultPrompt is the default prompt line prefix to use for user input querying. const DefaultPrompt = "> " -// Config is te collection of configurations to fine tune the behavior of the +// Config is the collection of configurations to fine tune the behavior of the // JavaScript console. type Config struct { DataDir string // Data directory to store the console history at @@ -238,7 +238,7 @@ func (c *Console) AutoCompleteInput(line string, pos int) (string, []string, str // E.g. in case of nested lines eth.getBalance(eth.coinb<tab><tab> start := pos - 1 for ; start > 0; start-- { - // Skip all methods and namespaces (i.e. including te dot) + // Skip all methods and namespaces (i.e. including the dot) if line[start] == '.' || (line[start] >= 'a' && line[start] <= 'z') || (line[start] >= 'A' && line[start] <= 'Z') { continue } diff --git a/contracts/release/contract.sol b/contracts/release/contract.sol index 554cf72900c77ff84939ebcc57a643e8c7b412db..b9d94c7563b0ec9bc2ec1207b6c2b598874da689 100644 --- a/contracts/release/contract.sol +++ b/contracts/release/contract.sol @@ -77,7 +77,7 @@ contract ReleaseOracle { } } - // signers is an accessor method to retrieve all te signers (public accessor + // signers is an accessor method to retrieve all the signers (public accessor // generates an indexed one, not a retrieve-all version). function signers() constant returns(address[]) { return voters; diff --git a/core/chain_indexer.go b/core/chain_indexer.go index 7e7500dc8572035229f5f2263b289dbafc53a457..7fb184aaa7060b0f108154e1a57c8d161df5a205 100644 --- a/core/chain_indexer.go +++ b/core/chain_indexer.go @@ -230,7 +230,7 @@ func (c *ChainIndexer) newHead(head uint64, reorg bool) { if changed < c.storedSections { c.setValidSections(changed) } - // Update the new head number to te finalized section end and notify children + // Update the new head number to the finalized section end and notify children head = changed * c.sectionSize if head < c.cascadedHead { diff --git a/core/tx_pool_test.go b/core/tx_pool_test.go index e9ecbb9338fa58211227bd98a20939fa90070e33..21171a7379d26ec12736f479b8f77fda2a24231f 100644 --- a/core/tx_pool_test.go +++ b/core/tx_pool_test.go @@ -1266,7 +1266,7 @@ func TestTransactionPoolRepricingKeepsLocals(t *testing.T) { // Tests that when the pool reaches its global transaction limit, underpriced // transactions are gradually shifted out for more expensive ones and any gapped -// pending transactions are moved into te queue. +// pending transactions are moved into the queue. // // Note, local transactions are never allowed to be dropped. func TestTransactionPoolUnderpricing(t *testing.T) { diff --git a/eth/downloader/peer.go b/eth/downloader/peer.go index e638744ea55510950f1c0f487dd29ee8012bdcbd..a4aa861146adc5119ee68534022bbbbf121658c3 100644 --- a/eth/downloader/peer.go +++ b/eth/downloader/peer.go @@ -548,7 +548,7 @@ func (ps *peerSet) idlePeers(minProtocol, maxProtocol int, idleCheck func(*peerC return idle, total } -// medianRTT returns the median RTT of te peerset, considering only the tuning +// medianRTT returns the median RTT of the peerset, considering only the tuning // peers if there are more peers available. func (ps *peerSet) medianRTT() time.Duration { // Gather all the currnetly measured round trip times diff --git a/miner/unconfirmed.go b/miner/unconfirmed.go index ee52d8512f027ac72da5a66847e6b11d0f046c3e..7a4fc7cc5a9b7a88db25ab8aaa5c42ce1322f700 100644 --- a/miner/unconfirmed.go +++ b/miner/unconfirmed.go @@ -42,7 +42,7 @@ type unconfirmedBlock struct { // unconfirmedBlocks implements a data structure to maintain locally mined blocks // have have not yet reached enough maturity to guarantee chain inclusion. It is // used by the miner to provide logs to the user when a previously mined block -// has a high enough guarantee to not be reorged out of te canonical chain. +// has a high enough guarantee to not be reorged out of the canonical chain. type unconfirmedBlocks struct { chain headerRetriever // Blockchain to verify canonical status through depth uint // Depth after which to discard previous blocks