From e83916cef1503cce5cec602c54e1e80acd447005 Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Thu, 31 Aug 2023 11:09:47 +0200 Subject: [PATCH 1/2] docs: fix typos Signed-off-by: omahs <73983677+omahs@users.noreply.github.com> --- docs/cli.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/cli.md b/docs/cli.md index 1f734ad07..09c8e36cb 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -64,7 +64,7 @@ logging. Most of the services (state validation, oracle, consensus and RPC if configured with `StartWhenSynchronized` option) are only started after the -node is completely synchronizaed because running them before that is either +node is completely synchronized because running them before that is either pointless or even dangerous. The node considers itself to be fully synchronized with the network if it has more than `MinPeers` neighbours and if at least 2/3 of them are known to have a height less than or equal to the @@ -413,7 +413,7 @@ $ ./bin/neo-go query voter -r http://localhost:20332 Nj91C8TxQSxW1jCE1ytFre6mg5q ### Transaction signing -`wallet sign` command allows to sign arbitary transactions stored in JSON +`wallet sign` command allows to sign arbitrary transactions stored in JSON format (also known as ContractParametersContext). Usually it's used in one of the two cases: multisignature signing (when you don't have all keys for an account and need to share the context with others until enough signatures @@ -435,7 +435,7 @@ $ neo-go wallet sign -w .docker/wallets/wallet2.json --in some.part.json --out s $ neo-go wallet sign -w .docker/wallets/wallet3.json --in some.part.json -r http://localhost:30333 -a NVTiAjNgagDkTr5HTzDmQP9kPwPHN5BgVq ``` Notice that the last command sends the transaction (which has a complete set -of singatures for 3/4 multisignature account by that time) to the network. +of signatures for 3/4 multisignature account by that time) to the network. #### Offline signing From edf21e0b79dc211e10ada669e33cb8c6020901bd Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Thu, 31 Aug 2023 11:17:03 +0200 Subject: [PATCH 2/2] examples: fix typo Signed-off-by: omahs <73983677+omahs@users.noreply.github.com> --- examples/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/README.md b/examples/README.md index 0ac37772a..d8e8d05d2 100644 --- a/examples/README.md +++ b/examples/README.md @@ -30,7 +30,7 @@ See the table below for the detailed examples description. | [nft-nd-nns](nft-nd-nns) | Neo Name Service contract which is NEP-11 non-divisible NFT. The contract implements methods for Neo domain name system managing such as domains registration/transferring, records addition and names resolving. The package also contains tests implemented with [neotest](https://pkg.go.dev/github.com/nspcc-dev/neo-go/pkg/neotest). | | [oracle](oracle) | Oracle demo contract exposing two methods that you can use to process URLs. It uses oracle native contract, see [interop package documentation](../pkg/interop/native/oracle/oracle.go) also. | | [runtime](runtime) | This contract demonstrates how to use special `_initialize` and `_deploy` methods. See the [compiler documentation](../docs/compiler.md#vm-api-interop-layer ) for methods details. It also shows the pattern for checking owner witness inside the contract with the help of `runtime.CheckWitness` interop [function](../pkg/interop/runtime/runtime.go). | -| [storage](storage) | The contract implements API for basic operations with a contract storage. It shows hos to use `storage` interop package. See the `storage` [package documentation](../pkg/interop/storage/storage.go). | +| [storage](storage) | The contract implements API for basic operations with a contract storage. It shows how to use `storage` interop package. See the `storage` [package documentation](../pkg/interop/storage/storage.go). | | [timer](timer) | The idea of the contract is to count `tick` method invocations and destroy itself after the third invocation. It shows how to use `contract.Call` interop function to call, update (migrate) and destroy the contract. Please, refer to the `contract.Call` [function documentation](../pkg/interop/contract/contract.go) | | [token](token) | This contract implements NEP-17 token standard (like NEO and GAS tokens) with all required methods and operations. See the NEP-17 token standard [specification](https://github.com/neo-project/proposals/pull/126) for details. |