docs: fix typos (#9173)

This commit is contained in:
vuittont60 2024-01-09 23:34:47 +08:00 committed by GitHub
parent e25b15b00e
commit fec0c9eef5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -88,7 +88,7 @@ make all
4. Build integration: cd erigon; make integration 4. Build integration: cd erigon; make integration
5. Run: ./build/bin/integration mdbx_to_mdbx --chaindata /existing/erigon/path/chaindata/ --chaindata.to /path/to/copy-to/chaindata/ 5. Run: ./build/bin/integration mdbx_to_mdbx --chaindata /existing/erigon/path/chaindata/ --chaindata.to /path/to/copy-to/chaindata/
6. cp -R /existing/erigon/path/snapshots /path/to/copy-to/snapshots 6. cp -R /existing/erigon/path/snapshots /path/to/copy-to/snapshots
7. start erigon in new datadir as usualy 7. start erigon in new datadir as usually
``` ```
## Clear bad blocks markers table in the case some block was marked as invalid after some error ## Clear bad blocks markers table in the case some block was marked as invalid after some error

View File

@ -16,7 +16,7 @@ Snapshots supports the following sub commands:
## cmp - compare snapshots ## cmp - compare snapshots
This command takes the follwoing form: This command takes the following form:
```shell ```shell
snapshots cmp <location> <location> snapshots cmp <location> <location>
@ -32,7 +32,7 @@ It is also possible to set the `--types` flag to limit the type of segment file
This command can be used to copy segment files from one location to another. This command can be used to copy segment files from one location to another.
This command takes the follwoing form: This command takes the following form:
```shell ```shell
snapshots copy <source> <destination> snapshots copy <source> <destination>

View File

@ -91,6 +91,6 @@ encoded as `[ 0x05 CBOR(key|[]byte)... flags /CBOR(nonce).../ /CBOR(balance).../
*flags* is a bitset encoded in a single bit (see [`witness_operators_test.go`](../../trie/witness_operators_test.go) to see flags in action). *flags* is a bitset encoded in a single bit (see [`witness_operators_test.go`](../../trie/witness_operators_test.go) to see flags in action).
* bit 0 defines if **code** is present; if set to 1 it assumes that either `OpCode` or `OpHash` already put something on the stack; * bit 0 defines if **code** is present; if set to 1 it assumes that either `OpCode` or `OpHash` already put something on the stack;
* bit 1 defines if **storage** is present; if set to 1, the operators preceeding `OpAccountLeaf` will reconstruct a storage trie; * bit 1 defines if **storage** is present; if set to 1, the operators preceding `OpAccountLeaf` will reconstruct a storage trie;
* bit 2 defines if **nonce** is not 0; if set to 0, *nonce* field is not encoded; * bit 2 defines if **nonce** is not 0; if set to 0, *nonce* field is not encoded;
* bit 3 defines if **balance** is not 0; if set to 0, *balance* field is not encoded; * bit 3 defines if **balance** is not 0; if set to 0, *balance* field is not encoded;