docs: remove repetitive words (#2381)
This commit is contained in:
parent
a75e82367d
commit
f4bad20447
2
accounts/external/backend.go
vendored
2
accounts/external/backend.go
vendored
@ -163,7 +163,7 @@ func (api *ExternalSigner) SignData(account accounts.Account, mimeType string, d
|
|||||||
hexutil.Encode(data)); err != nil {
|
hexutil.Encode(data)); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
// If V is on 27/28-form, convert to to 0/1 for Clique and Parlia
|
// If V is on 27/28-form, convert to 0/1 for Clique and Parlia
|
||||||
if (mimeType == accounts.MimetypeClique || mimeType == accounts.MimetypeParlia) && (res[64] == 27 || res[64] == 28) {
|
if (mimeType == accounts.MimetypeClique || mimeType == accounts.MimetypeParlia) && (res[64] == 27 || res[64] == 28) {
|
||||||
res[64] -= 27 // Transform V from 27/28 to 0/1 for Clique and Parlia use
|
res[64] -= 27 // Transform V from 27/28 to 0/1 for Clique and Parlia use
|
||||||
}
|
}
|
||||||
|
@ -92,7 +92,7 @@ WARNING: it's only supported in hash mode(--state.scheme=hash)".
|
|||||||
geth offline prune-block for block data in ancientdb.
|
geth offline prune-block for block data in ancientdb.
|
||||||
The amount of blocks expected for remaining after prune can be specified via block-amount-reserved in this command,
|
The amount of blocks expected for remaining after prune can be specified via block-amount-reserved in this command,
|
||||||
will prune and only remain the specified amount of old block data in ancientdb.
|
will prune and only remain the specified amount of old block data in ancientdb.
|
||||||
the brief workflow is to backup the the number of this specified amount blocks backward in original ancientdb
|
the brief workflow is to backup the number of this specified amount blocks backward in original ancientdb
|
||||||
into new ancient_backup, then delete the original ancientdb dir and rename the ancient_backup to original one for replacement,
|
into new ancient_backup, then delete the original ancientdb dir and rename the ancient_backup to original one for replacement,
|
||||||
finally assemble the statedb and new ancientDb together.
|
finally assemble the statedb and new ancientDb together.
|
||||||
The purpose of doing it is because the block data will be moved into the ancient store when it
|
The purpose of doing it is because the block data will be moved into the ancient store when it
|
||||||
|
Loading…
Reference in New Issue
Block a user