From 4c12908010b4334f8504173db76c51f78387014a Mon Sep 17 00:00:00 2001 From: Luis Paris Date: Thu, 28 Jan 2021 11:16:09 -0500 Subject: [PATCH 1/8] remove cleos how-tos index file to prevent empty page from showing :doc --- docs/02_cleos/02_how-to-guides/index.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 docs/02_cleos/02_how-to-guides/index.md diff --git a/docs/02_cleos/02_how-to-guides/index.md b/docs/02_cleos/02_how-to-guides/index.md deleted file mode 100644 index e69de29bb2d..00000000000 From 7d1c6982c32e03dcf25a4e36de5cc0fe2f3311cb Mon Sep 17 00:00:00 2001 From: Luis Paris Date: Thu, 4 Feb 2021 14:40:18 -0500 Subject: [PATCH 2/8] update how-to get block information :doc --- .../how-to-get-block-information.md | 76 +++++++++++++++++-- 1 file changed, 69 insertions(+), 7 deletions(-) diff --git a/docs/02_cleos/02_how-to-guides/how-to-get-block-information.md b/docs/02_cleos/02_how-to-guides/how-to-get-block-information.md index eed76c62bfb..7efd62427f6 100644 --- a/docs/02_cleos/02_how-to-guides/how-to-get-block-information.md +++ b/docs/02_cleos/02_how-to-guides/how-to-get-block-information.md @@ -1,18 +1,80 @@ ## Goal -Query infomation of a block +Query infomation about a block. ## Before you begin -* Install the currently supported version of `cleos` +Make sure to meet the following requirements: -* Understand the following: - * What is a block +* Familiarize with the [`cleos get block`](../03_command-reference/get/block.md) command and its parameters. +* Install the currently supported version of `cleos`. + +[[info | Note]] +| `cleos` is bundled with the EOSIO software. [Installing EOSIO](../../00_install/index.md) will also install `cleos`. + +* Understand what a [block](https://developers.eos.io/welcome/latest/glossary/index/#block) is and its role in the blockchain. +* Understand the [block lifecycle](https://developers.eos.io/welcome/latest/protocol-guides/consensus_protocol/#5-block-lifecycle) in the EOSIO consensus protocol. ## Steps -Execute the command below: +Perform the step below: + +Retrieve full information about a block: + +```sh +cleos get block +``` + +Where `block_number_or_id` is the specified block number or block ID. + +Some examples are provided below: + +* Query the testnet to retrieve full block information about block number `48351112` or block ID `02e1c7888a92206573ae38d00e09366c7ba7bc54cd8b7996506f7d2a619c43ba`: + +**Example Output** + +```sh +cleos -u https://api.testnet.eos.io get block 48351112 +``` +```json +{ + "timestamp": "2021-01-28T17:58:59.500", + "producer": "inith", + "confirmed": 0, + "previous": "02e1c78787ff4d4ce6124831b936bb4ef6015e470868a535f1c6e04f3afed8a1", + "transaction_mroot": "0000000000000000000000000000000000000000000000000000000000000000", + "action_mroot": "1bf9d17b5a951cbb6d0a8324e4039744db4137df498abd53046ea26fa74d73c9", + "schedule_version": 1, + "new_producers": null, + "producer_signature": "SIG_K1_JxFfxGA1wZx9LCVjbrBb5nxTuJai7RUSiwRXyY866fYvZZyRtdmQFn9KJCqVHFAiYEsJpDb6dhTmHNDwipJm4rDiyhEmGa", + "transactions": [], + "id": "02e1c7888a92206573ae38d00e09366c7ba7bc54cd8b7996506f7d2a619c43ba", + "block_num": 48351112, + "ref_block_prefix": 3493375603 +} +``` + +* Query the testnet to retrieve full block information about block ID `02e1c7888a92206573ae38d00e09366c7ba7bc54cd8b7996506f7d2a619c43ba`: + +**Example Output** ```sh -cleos get block BLOCK_NUMBER -``` \ No newline at end of file +cleos -u https://api.testnet.eos.io get block 02e1c7888a92206573ae38d00e09366c7ba7bc54cd8b7996506f7d2a619c43ba +``` +```json +{ + "timestamp": "2021-01-28T17:58:59.500", + "producer": "inith", + "confirmed": 0, + "previous": "02e1c78787ff4d4ce6124831b936bb4ef6015e470868a535f1c6e04f3afed8a1", + "transaction_mroot": "0000000000000000000000000000000000000000000000000000000000000000", + "action_mroot": "1bf9d17b5a951cbb6d0a8324e4039744db4137df498abd53046ea26fa74d73c9", + "schedule_version": 1, + "new_producers": null, + "producer_signature": "SIG_K1_JxFfxGA1wZx9LCVjbrBb5nxTuJai7RUSiwRXyY866fYvZZyRtdmQFn9KJCqVHFAiYEsJpDb6dhTmHNDwipJm4rDiyhEmGa", + "transactions": [], + "id": "02e1c7888a92206573ae38d00e09366c7ba7bc54cd8b7996506f7d2a619c43ba", + "block_num": 48351112, + "ref_block_prefix": 3493375603 +} +``` From dadedf46853eaf2c32cf44e037a1223165665903 Mon Sep 17 00:00:00 2001 From: Luis Paris Date: Thu, 4 Feb 2021 14:45:34 -0500 Subject: [PATCH 3/8] update how-to get block information 2.1 :doc --- .../how-to-get-block-information.md | 32 +++++++++++++++++-- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/docs/02_cleos/02_how-to-guides/how-to-get-block-information.md b/docs/02_cleos/02_how-to-guides/how-to-get-block-information.md index 7efd62427f6..9484ddfed56 100644 --- a/docs/02_cleos/02_how-to-guides/how-to-get-block-information.md +++ b/docs/02_cleos/02_how-to-guides/how-to-get-block-information.md @@ -19,13 +19,13 @@ Make sure to meet the following requirements: Perform the step below: -Retrieve full information about a block: +Retrieve full or partial information about a block: ```sh -cleos get block +cleos get block [--info] ``` -Where `block_number_or_id` is the specified block number or block ID. +Where `block_number_or_id` is the specified block number or block ID and `--info` is an optional parameter to retrieve a partial subset of the block information. Some examples are provided below: @@ -78,3 +78,29 @@ cleos -u https://api.testnet.eos.io get block 02e1c7888a92206573ae38d00e09366c7b "ref_block_prefix": 3493375603 } ``` + +* Query the local chain to retrieve partial block information about block number `1`: + +**Example Output** + +```sh +cleos get block --info 1 +``` +```json +{ + "block_num": 1, + "ref_block_num": 1, + "id": "0000000130d70e94e0022fd2fa035cabb9e542c34ea27f572ac90b5a7aa3d891", + "timestamp": "2018-03-02T12:00:00.000", + "producer": "", + "confirmed": 1, + "previous": "0000000000000000000000000000000000000000000000000000000000000000", + "transaction_mroot": "0000000000000000000000000000000000000000000000000000000000000000", + "action_mroot": "0000000000000000000000000000000000000000000000000000000000000000", + "schedule_version": 0, + "producer_signature": "SIG_K1_111111111111111111111111111111111111111111111111111111111111111116uk5ne", + "ref_block_prefix": 3526296288 +} +``` + +Note that the partial block information excludes the variable fields `new_producers`, `header_extensions`, `transactions`, or `block_extensions`. From 15d5a7f396bd9a342978712de6a053fcde23d9d9 Mon Sep 17 00:00:00 2001 From: Luis Paris Date: Thu, 4 Feb 2021 14:47:12 -0500 Subject: [PATCH 4/8] update how-to create a wallet :doc --- .../how-to-create-a-wallet.md | 49 +++++++++++++------ 1 file changed, 33 insertions(+), 16 deletions(-) diff --git a/docs/02_cleos/02_how-to-guides/how-to-create-a-wallet.md b/docs/02_cleos/02_how-to-guides/how-to-create-a-wallet.md index c69fcf8c5a3..4973217f161 100644 --- a/docs/02_cleos/02_how-to-guides/how-to-create-a-wallet.md +++ b/docs/02_cleos/02_how-to-guides/how-to-create-a-wallet.md @@ -1,43 +1,60 @@ ## Goal -Create a `keosd` wallet +Create a wallet using `keosd`. ## Before you begin -* Install the currently supported version of `cleos` +Make sure you meet the following requirements: -* Understand the following: - * What is an account - * What is a public and private key pair +* Familiarize with the [`cleos wallet create`](../03_command-reference/wallet/create.md) command and its parameters. +* Familiarize with the other [`cleos wallet`](../03_command-reference/wallet/index.md) commands. +* Install the currently supported version of `cleos`. + +[[info | Note]] +| `cleos` is bundled with the EOSIO software. [Installing EOSIO](../../00_install/index.md) will also install `cleos`. + +* Understand what an [account](https://developers.eos.io/welcome/latest/glossary/index/#account) is and its role in the blockchain. +* Understand [Accounts and Permissions](https://developers.eos.io/welcome/latest/protocol-guides/accounts_and_permissions) in the protocol documents. +* Understand what a [public](https://developers.eos.io/welcome/latest/glossary/index/#public-key) and [private](https://developers.eos.io/welcome/latest/glossary/index/#private-key) key pair is. ## Steps -Create a wallet and save the password to a file: +Perform the step below: + +Create a default or named wallet and save the wallet password to a file: ```sh -cleos wallet create --file password.pwd +cleos wallet create [-n named_wallet] -f ``` -This should produce similar output as below. Note the wallet is named `default` if no name is provided. +Where `file_to_save_pwd` is the name of the file to write the wallet password to and `named_wallet` is an optional parameter to assign a name to the wallet. + +Some examples are provided below: + +* Create a default wallet and save the password to the file `default_wallet.pwd`: + +**Example Output** +```sh +cleos wallet create -f default_wallet.pwd +``` ```console Creating wallet: default Save password to use in the future to unlock this wallet. Without password imported keys will not be retrievable. -saving password to password.pwd +saving password to default_wallet.pwd ``` -Alternatively, you can name a wallet with `-n` option: +* Create a named wallet `my_wallet` and save the password to the file `my_wallet.pwd`: + +**Example Output** ```sh -cleos wallet create -n named_wallet -f passwd +cleos wallet create -n my_wallet -f my_wallet.pwd ``` - -You should see something like the output below: - ```console -Creating wallet: named_wallet +Creating wallet: my_wallet Save password to use in the future to unlock this wallet. Without password imported keys will not be retrievable. -saving password to passwd +saving password to my_wallet.pwd ``` From 25eef1770dd34432cc41d778893c7808331dd8dd Mon Sep 17 00:00:00 2001 From: Luis Paris Date: Thu, 4 Feb 2021 16:35:32 -0500 Subject: [PATCH 5/8] update how-to delegate cpu resource :doc --- .../how-to-delegate-CPU-resource.md | 41 +++++++++++++------ 1 file changed, 28 insertions(+), 13 deletions(-) diff --git a/docs/02_cleos/02_how-to-guides/how-to-delegate-CPU-resource.md b/docs/02_cleos/02_how-to-guides/how-to-delegate-CPU-resource.md index d559d25cbb6..5345bd83f63 100644 --- a/docs/02_cleos/02_how-to-guides/how-to-delegate-CPU-resource.md +++ b/docs/02_cleos/02_how-to-guides/how-to-delegate-CPU-resource.md @@ -1,32 +1,47 @@ ## Goal -Delegate resource for an account or application +Delegate CPU bandwidth for an account or application. ## Before you begin -* Install the currently supported version of `cleos` +Make sure you meet the following requirements: -* Ensure the reference system contracts from `eosio.contracts` repository is deployed and used to manage system resources +* Familiarize with the [`cleos system delegatebw`](../03_command-reference/system/system-delegatebw.md) command and its parameters. +* Install the currently supported version of `cleos`. -* Understand the following: - * What is an account - * What is network bandwidth - * What is CPU bandwidth +[[info | Note]] +| `cleos` is bundled with the EOSIO software. [Installing EOSIO](../../00_install/index.md) will also install `cleos`. + +* Ensure the reference system contracts from [`eosio.contracts`](https://github.com/EOSIO/eosio.contracts) repository is deployed and used to manage system resources. +* Understand what an [account](https://developers.eos.io/welcome/latest/glossary/index/#account) is and its role in the blockchain. +* Understand [CPU bandwidth](https://developers.eos.io/welcome/latest/glossary/index/#cpu) in an EOSIO blockchain. +* Understand [NET bandwidth](https://developers.eos.io/welcome/latest/glossary/index/#net) in an EOSIO blockchain. ## Steps -Delegate 0.01 SYS CPU bandwidth from `bob` to `alice` +Perform the step below: + +Delegate CPU bandwidth from a source account to a receiver account: ```sh -cleos system delegatebw bob alice "0 SYS" "0.01 SYS" +cleos system delegatebw ``` -You should see something below: +Where `from` is the account to delegate bandwidth from, `receiver` is the account to receive the delegated bandwidth, and `stake_net_quantity` and/or `stake_cpu_quantity` is the amount of tokens to stake for network (NET) bandwidth and/or CPU bandwidth, respectively. + +Some examples are provided below: + +* Delegate 0.01 SYS CPU bandwidth from `bob` to `alice`: -```console +**Example Output** + +```sh +cleos system delegatebw bob alice "0 SYS" "0.01 SYS" +``` +```json executed transaction: 5487afafd67bf459a20fcc2dbc5d0c2f0d1f10e33123eaaa07088046fd18e3ae 192 bytes 503 us -# eosio <= eosio::delegatebw {"from":"bob","receiver":"alice","stake_net_quantity":"0.0000 SYS","stake_cpu_quanti... -# eosio.token <= eosio.token::transfer {"from":"bob","to":"eosio.stake","quantity":"0.0010 EOS","memo":"stake bandwidth"} +# eosio <= eosio::delegatebw {"from":"bob","receiver":"alice","stake_net_quantity":"0.0000 SYS","stake_cpu_quantity":"0.0100 SYS"... +# eosio.token <= eosio.token::transfer {"from":"bob","to":"eosio.stake","quantity":"0.0010 SYS","memo":"stake bandwidth"} # bob <= eosio.token::transfer {"from":"bob","to":"eosio.stake","quantity":"0.0010 SYS","memo":"stake bandwidth"} # eosio.stake <= eosio.token::transfer {"from":"bob","to":"eosio.stake","quantity":"0.0010 SYS","memo":"stake bandwidth"} ``` From 4cbb0f199c581ebaba259b554993e94920e2b905 Mon Sep 17 00:00:00 2001 From: Luis Paris Date: Thu, 4 Feb 2021 16:35:55 -0500 Subject: [PATCH 6/8] update how-to delegate net resource :doc --- .../how-to-delegate-net-resource.md | 39 ++++++++++++------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/docs/02_cleos/02_how-to-guides/how-to-delegate-net-resource.md b/docs/02_cleos/02_how-to-guides/how-to-delegate-net-resource.md index 3bd1260c4f8..118c36ba13a 100644 --- a/docs/02_cleos/02_how-to-guides/how-to-delegate-net-resource.md +++ b/docs/02_cleos/02_how-to-guides/how-to-delegate-net-resource.md @@ -1,33 +1,46 @@ ## Goal -Delegate resource for an account or application +Delegate network bandwidth for an account or application. ## Before you begin -* Install the currently supported version of `cleos` +Make sure you meet the following requirements: -* Ensure the reference system contracts from `eosio.contracts` repository is deployed and used to manage system resources - -* Understand the following: - * What is an account - * What is network bandwidth - * What is CPU bandwidth +* Familiarize with the [`cleos system delegatebw`](../03_command-reference/system/system-delegatebw.md) command and its parameters. +* Install the currently supported version of `cleos`. +[[info | Note]] +| `cleos` is bundled with the EOSIO software. [Installing EOSIO](../../00_install/index.md) will also install `cleos`. +* Ensure the reference system contracts from [`eosio.contracts`](https://github.com/EOSIO/eosio.contracts) repository is deployed and used to manage system resources. +* Understand what an [account](https://developers.eos.io/welcome/latest/glossary/index/#account) is and its role in the blockchain. +* Understand [NET bandwidth](https://developers.eos.io/welcome/latest/glossary/index/#net) in an EOSIO blockchain. +* Understand [CPU bandwidth](https://developers.eos.io/welcome/latest/glossary/index/#cpu) in an EOSIO blockchain. ## Steps -Delegate 0.01 SYS network bandwidth from `bob` to `alice` +Perform the step below: + +Delegate CPU bandwidth from a source account to a receiver account: ```sh -cleos system delegatebw bob alice "0.01 SYS" "0 SYS" +cleos system delegatebw ``` -You should see something below: +Where `from` is the account to delegate bandwidth from, `receiver` is the account to receive the delegated bandwidth, and `stake_net_quantity` and/or `stake_cpu_quantity` is the amount of tokens to stake for network (NET) bandwidth and/or CPU bandwidth, respectively. + +Some examples are provided below: + +* Delegate 0.01 SYS network bandwidth from `bob` to `alice`: -```console +**Example Output** + +```sh +cleos system delegatebw bob alice "0.01 SYS" "0 SYS" +``` +```json executed transaction: 5487afafd67bf459a20fcc2dbc5d0c2f0d1f10e33123eaaa07088046fd18e3ae 192 bytes 503 us -# eosio <= eosio::delegatebw {"from":"bob","receiver":"alice","stake_net_quantity":"0.0100 SYS","stake_cpu_quanti... +# eosio <= eosio::delegatebw {"from":"bob","receiver":"alice","stake_net_quantity":"0.0100 SYS","stake_cpu_quantity":"0.0000 SYS"... # eosio.token <= eosio.token::transfer {"from":"bob","to":"eosio.stake","quantity":"0.0010 SYS","memo":"stake bandwidth"} # bob <= eosio.token::transfer {"from":"bob","to":"eosio.stake","quantity":"0.0010 SYS","memo":"stake bandwidth"} # eosio.stake <= eosio.token::transfer {"from":"bob","to":"eosio.stake","quantity":"0.0010 SYS","memo":"stake bandwidth"} From 6fea01d9eb5796d5cc4f911632b12c63e41b1a5c Mon Sep 17 00:00:00 2001 From: Luis Paris Date: Thu, 4 Feb 2021 17:30:35 -0500 Subject: [PATCH 7/8] fix link to getting started guide in README :doc --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ff5e1e5e6aa..fb4698a8dfb 100644 --- a/README.md +++ b/README.md @@ -140,7 +140,7 @@ To uninstall the EOSIO built/installed binaries and dependencies, run: 1. [Roadmap](https://github.com/EOSIO/Documentation/blob/master/Roadmap.md) ## Getting Started -Instructions detailing the process of getting the software, building it, running a simple test network that produces blocks, account creation and uploading a sample contract to the blockchain can be found in the [Getting Started](https://developers.eos.io/welcome/latest/getting-started) walkthrough. +Instructions detailing the process of getting the software, building it, running a simple test network that produces blocks, account creation and uploading a sample contract to the blockchain can be found in the [Getting Started](https://developers.eos.io/welcome/latest/getting-started-guide) walkthrough. ## Contributing From c76471d797be1b1d1f082f0aa584b7644075f062 Mon Sep 17 00:00:00 2001 From: Luis Paris Date: Thu, 4 Feb 2021 17:38:07 -0500 Subject: [PATCH 8/8] fix 2.1 links from welcome/latest to welcome/v2.1 :doc --- README.md | 2 +- .../10_local-single-node-testnet-consensus.md | 2 +- docs/01_nodeos/08_troubleshooting/index.md | 2 +- docs/02_cleos/02_how-to-guides/how-to-create-a-wallet.md | 6 +++--- docs/02_cleos/02_how-to-guides/how-to-create-an-account.md | 2 +- .../02_how-to-guides/how-to-delegate-CPU-resource.md | 6 +++--- .../02_how-to-guides/how-to-delegate-net-resource.md | 6 +++--- .../02_how-to-guides/how-to-get-account-information.md | 2 +- .../02_how-to-guides/how-to-get-block-information.md | 4 ++-- docs/02_cleos/03_command-reference/get/account.md | 2 +- docs/02_cleos/03_command-reference/net/status.md | 2 +- docs/02_cleos/03_command-reference/set/set-account.md | 2 +- docs/02_cleos/03_command-reference/set/set-action.md | 2 +- 13 files changed, 20 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index fb4698a8dfb..6cacc767077 100644 --- a/README.md +++ b/README.md @@ -140,7 +140,7 @@ To uninstall the EOSIO built/installed binaries and dependencies, run: 1. [Roadmap](https://github.com/EOSIO/Documentation/blob/master/Roadmap.md) ## Getting Started -Instructions detailing the process of getting the software, building it, running a simple test network that produces blocks, account creation and uploading a sample contract to the blockchain can be found in the [Getting Started](https://developers.eos.io/welcome/latest/getting-started-guide) walkthrough. +Instructions detailing the process of getting the software, building it, running a simple test network that produces blocks, account creation and uploading a sample contract to the blockchain can be found in the [Getting Started](https://developers.eos.io/welcome/v2.1/getting-started-guide) walkthrough. ## Contributing diff --git a/docs/01_nodeos/02_usage/03_development-environment/10_local-single-node-testnet-consensus.md b/docs/01_nodeos/02_usage/03_development-environment/10_local-single-node-testnet-consensus.md index 7ecb6a77f3e..8e5d4d92533 100644 --- a/docs/01_nodeos/02_usage/03_development-environment/10_local-single-node-testnet-consensus.md +++ b/docs/01_nodeos/02_usage/03_development-environment/10_local-single-node-testnet-consensus.md @@ -5,7 +5,7 @@ link_text: Local Single-Node Testnet With Consensus Protocol ## Goal -This section describes how to set up a single-node blockchain configuration running on a single host with [consensus protocol](https://developers.eos.io/welcome/latest/protocol/consensus_protocol) enabled. This is referred to as a _**single host, single-node testnet with consensus**_. We will set up one node on your local computer and have it produce blocks. The following diagram depicts the desired single host testnet. +This section describes how to set up a single-node blockchain configuration running on a single host with [consensus protocol](https://developers.eos.io/welcome/v2.1/protocol/consensus_protocol) enabled. This is referred to as a _**single host, single-node testnet with consensus**_. We will set up one node on your local computer and have it produce blocks. The following diagram depicts the desired single host testnet. ![Single host single node testnet](single-host-single-node-testnet.png) diff --git a/docs/01_nodeos/08_troubleshooting/index.md b/docs/01_nodeos/08_troubleshooting/index.md index bb4a0d7edcb..e02265fdde0 100644 --- a/docs/01_nodeos/08_troubleshooting/index.md +++ b/docs/01_nodeos/08_troubleshooting/index.md @@ -46,4 +46,4 @@ cleos --url http://localhost:8888 get info | grep server_version ### Error 3070000: WASM Exception Error -If you try to deploy the `eosio.bios` contract or `eosio.system` contract in an attempt to boot an EOSIO-based blockchain and you get the following error or similar: `Publishing contract... Error 3070000: WASM Exception Error Details: env.set_proposed_producers_ex unresolveable`, it is because you have to activate the `PREACTIVATE_FEATURE` protocol first. More details about it and how to enable it can be found in the [Bios Boot Sequence Tutorial](https://developers.eos.io/welcome/latest/tutorials/bios-boot-sequence/#112-set-the-eosiosystem-contract). For more information, you may also visit the [Nodeos Upgrade Guides](https://developers.eos.io/manuals/eos/latest/nodeos/upgrade-guides/). +If you try to deploy the `eosio.bios` contract or `eosio.system` contract in an attempt to boot an EOSIO-based blockchain and you get the following error or similar: `Publishing contract... Error 3070000: WASM Exception Error Details: env.set_proposed_producers_ex unresolveable`, it is because you have to activate the `PREACTIVATE_FEATURE` protocol first. More details about it and how to enable it can be found in the [Bios Boot Sequence Tutorial](https://developers.eos.io/welcome/v2.1/tutorials/bios-boot-sequence/#112-set-the-eosiosystem-contract). For more information, you may also visit the [Nodeos Upgrade Guides](https://developers.eos.io/manuals/eos/latest/nodeos/upgrade-guides/). diff --git a/docs/02_cleos/02_how-to-guides/how-to-create-a-wallet.md b/docs/02_cleos/02_how-to-guides/how-to-create-a-wallet.md index 4973217f161..8d6b45eab7d 100644 --- a/docs/02_cleos/02_how-to-guides/how-to-create-a-wallet.md +++ b/docs/02_cleos/02_how-to-guides/how-to-create-a-wallet.md @@ -13,9 +13,9 @@ Make sure you meet the following requirements: [[info | Note]] | `cleos` is bundled with the EOSIO software. [Installing EOSIO](../../00_install/index.md) will also install `cleos`. -* Understand what an [account](https://developers.eos.io/welcome/latest/glossary/index/#account) is and its role in the blockchain. -* Understand [Accounts and Permissions](https://developers.eos.io/welcome/latest/protocol-guides/accounts_and_permissions) in the protocol documents. -* Understand what a [public](https://developers.eos.io/welcome/latest/glossary/index/#public-key) and [private](https://developers.eos.io/welcome/latest/glossary/index/#private-key) key pair is. +* Understand what an [account](https://developers.eos.io/welcome/v2.1/glossary/index/#account) is and its role in the blockchain. +* Understand [Accounts and Permissions](https://developers.eos.io/welcome/v2.1/protocol-guides/accounts_and_permissions) in the protocol documents. +* Understand what a [public](https://developers.eos.io/welcome/v2.1/glossary/index/#public-key) and [private](https://developers.eos.io/welcome/v2.1/glossary/index/#private-key) key pair is. ## Steps diff --git a/docs/02_cleos/02_how-to-guides/how-to-create-an-account.md b/docs/02_cleos/02_how-to-guides/how-to-create-an-account.md index 1b10dc0c7b2..9ef26d31d5a 100644 --- a/docs/02_cleos/02_how-to-guides/how-to-create-an-account.md +++ b/docs/02_cleos/02_how-to-guides/how-to-create-an-account.md @@ -9,7 +9,7 @@ Create a new EOSIO blockchain account | The cleos tool is bundled with the EOSIO software. [Installing EOSIO](../../00_install/index.md) will also install the cleos tool. * Acquire functional understanding of the following: - * [EOSIO Accounts and Permissions](https://developers.eos.io/welcome/latest/protocol/accounts_and_permissions) + * [EOSIO Accounts and Permissions](https://developers.eos.io/welcome/v2.1/protocol/accounts_and_permissions) * Asymmetric cryptography (public and private keypair) * Created an Owner and an Active key pair diff --git a/docs/02_cleos/02_how-to-guides/how-to-delegate-CPU-resource.md b/docs/02_cleos/02_how-to-guides/how-to-delegate-CPU-resource.md index 5345bd83f63..c5e5b31aa61 100644 --- a/docs/02_cleos/02_how-to-guides/how-to-delegate-CPU-resource.md +++ b/docs/02_cleos/02_how-to-guides/how-to-delegate-CPU-resource.md @@ -13,9 +13,9 @@ Make sure you meet the following requirements: | `cleos` is bundled with the EOSIO software. [Installing EOSIO](../../00_install/index.md) will also install `cleos`. * Ensure the reference system contracts from [`eosio.contracts`](https://github.com/EOSIO/eosio.contracts) repository is deployed and used to manage system resources. -* Understand what an [account](https://developers.eos.io/welcome/latest/glossary/index/#account) is and its role in the blockchain. -* Understand [CPU bandwidth](https://developers.eos.io/welcome/latest/glossary/index/#cpu) in an EOSIO blockchain. -* Understand [NET bandwidth](https://developers.eos.io/welcome/latest/glossary/index/#net) in an EOSIO blockchain. +* Understand what an [account](https://developers.eos.io/welcome/v2.1/glossary/index/#account) is and its role in the blockchain. +* Understand [CPU bandwidth](https://developers.eos.io/welcome/v2.1/glossary/index/#cpu) in an EOSIO blockchain. +* Understand [NET bandwidth](https://developers.eos.io/welcome/v2.1/glossary/index/#net) in an EOSIO blockchain. ## Steps diff --git a/docs/02_cleos/02_how-to-guides/how-to-delegate-net-resource.md b/docs/02_cleos/02_how-to-guides/how-to-delegate-net-resource.md index 118c36ba13a..8de80eeb74d 100644 --- a/docs/02_cleos/02_how-to-guides/how-to-delegate-net-resource.md +++ b/docs/02_cleos/02_how-to-guides/how-to-delegate-net-resource.md @@ -13,9 +13,9 @@ Make sure you meet the following requirements: | `cleos` is bundled with the EOSIO software. [Installing EOSIO](../../00_install/index.md) will also install `cleos`. * Ensure the reference system contracts from [`eosio.contracts`](https://github.com/EOSIO/eosio.contracts) repository is deployed and used to manage system resources. -* Understand what an [account](https://developers.eos.io/welcome/latest/glossary/index/#account) is and its role in the blockchain. -* Understand [NET bandwidth](https://developers.eos.io/welcome/latest/glossary/index/#net) in an EOSIO blockchain. -* Understand [CPU bandwidth](https://developers.eos.io/welcome/latest/glossary/index/#cpu) in an EOSIO blockchain. +* Understand what an [account](https://developers.eos.io/welcome/v2.1/glossary/index/#account) is and its role in the blockchain. +* Understand [NET bandwidth](https://developers.eos.io/welcome/v2.1/glossary/index/#net) in an EOSIO blockchain. +* Understand [CPU bandwidth](https://developers.eos.io/welcome/v2.1/glossary/index/#cpu) in an EOSIO blockchain. ## Steps diff --git a/docs/02_cleos/02_how-to-guides/how-to-get-account-information.md b/docs/02_cleos/02_how-to-guides/how-to-get-account-information.md index 8a29b77b71d..b294afbea61 100644 --- a/docs/02_cleos/02_how-to-guides/how-to-get-account-information.md +++ b/docs/02_cleos/02_how-to-guides/how-to-get-account-information.md @@ -9,7 +9,7 @@ Query infomation of an EOSIO account [[info | Note]] | The cleos tool is bundled with the EOSIO software. [Installing EOSIO](../../00_install/index.md) will also install the cleos tool. -* Acquire functional understanding of [EOSIO Accounts and Permissions](https://developers.eos.io/welcome/latest/protocol/accounts_and_permissions) +* Acquire functional understanding of [EOSIO Accounts and Permissions](https://developers.eos.io/welcome/v2.1/protocol/accounts_and_permissions) ## Steps diff --git a/docs/02_cleos/02_how-to-guides/how-to-get-block-information.md b/docs/02_cleos/02_how-to-guides/how-to-get-block-information.md index 9484ddfed56..b35ccf12e4f 100644 --- a/docs/02_cleos/02_how-to-guides/how-to-get-block-information.md +++ b/docs/02_cleos/02_how-to-guides/how-to-get-block-information.md @@ -12,8 +12,8 @@ Make sure to meet the following requirements: [[info | Note]] | `cleos` is bundled with the EOSIO software. [Installing EOSIO](../../00_install/index.md) will also install `cleos`. -* Understand what a [block](https://developers.eos.io/welcome/latest/glossary/index/#block) is and its role in the blockchain. -* Understand the [block lifecycle](https://developers.eos.io/welcome/latest/protocol-guides/consensus_protocol/#5-block-lifecycle) in the EOSIO consensus protocol. +* Understand what a [block](https://developers.eos.io/welcome/v2.1/glossary/index/#block) is and its role in the blockchain. +* Understand the [block lifecycle](https://developers.eos.io/welcome/v2.1/protocol-guides/consensus_protocol/#5-block-lifecycle) in the EOSIO consensus protocol. ## Steps diff --git a/docs/02_cleos/03_command-reference/get/account.md b/docs/02_cleos/03_command-reference/get/account.md index 8f38ebd6c93..a9efc04ea3d 100755 --- a/docs/02_cleos/03_command-reference/get/account.md +++ b/docs/02_cleos/03_command-reference/get/account.md @@ -106,4 +106,4 @@ cleos get account eosio --json ``` ## See Also -- [Accounts and Permissions](https://developers.eos.io/welcome/latest/protocol/accounts_and_permissions) protocol document. +- [Accounts and Permissions](https://developers.eos.io/welcome/v2.1/protocol/accounts_and_permissions) protocol document. diff --git a/docs/02_cleos/03_command-reference/net/status.md b/docs/02_cleos/03_command-reference/net/status.md index 318e21ce35b..6f1c59fc168 100755 --- a/docs/02_cleos/03_command-reference/net/status.md +++ b/docs/02_cleos/03_command-reference/net/status.md @@ -28,4 +28,4 @@ Given, a valid, existing `hostname:port` parameter the above command returns a j } ``` -The `last_handshake` structure is explained in detail in the [Network Peer Protocol](https://developers.eos.io/welcome/latest/protocol/network_peer_protocol#421-handshake-message) documentation section. \ No newline at end of file +The `last_handshake` structure is explained in detail in the [Network Peer Protocol](https://developers.eos.io/welcome/v2.1/protocol/network_peer_protocol#421-handshake-message) documentation section. \ No newline at end of file diff --git a/docs/02_cleos/03_command-reference/set/set-account.md b/docs/02_cleos/03_command-reference/set/set-account.md index e4ed9f6e32d..f4206f6ceee 100755 --- a/docs/02_cleos/03_command-reference/set/set-account.md +++ b/docs/02_cleos/03_command-reference/set/set-account.md @@ -88,4 +88,4 @@ The authority JSON object ... ``` ## See Also -- [Accounts and Permissions](https://developers.eos.io/welcome/latest/protocol/accounts_and_permissions) protocol document. +- [Accounts and Permissions](https://developers.eos.io/welcome/v2.1/protocol/accounts_and_permissions) protocol document. diff --git a/docs/02_cleos/03_command-reference/set/set-action.md b/docs/02_cleos/03_command-reference/set/set-action.md index cb8199739bf..6db8f59e256 100755 --- a/docs/02_cleos/03_command-reference/set/set-action.md +++ b/docs/02_cleos/03_command-reference/set/set-action.md @@ -70,4 +70,4 @@ cleos system voteproducer approve sandwichfarm someproducer -p sandwichfarm@voti ``` ## See Also -- [Accounts and Permissions](https://developers.eos.io/welcome/latest/protocol/accounts_and_permissions) protocol document. +- [Accounts and Permissions](https://developers.eos.io/welcome/v2.1/protocol/accounts_and_permissions) protocol document.