Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Commit

Permalink
[docs] move life-of-txn to proper blockchain location
Browse files Browse the repository at this point in the history
  • Loading branch information
davidiw committed Apr 23, 2023
1 parent 6e9514a commit b950a0e
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Aptos Blockchain Deep Dive"
slug: "basics-life-of-txn"
slug: "blockchain"
---

import ThemedImage from '@theme/ThemedImage';
Expand Down
2 changes: 1 addition & 1 deletion developer-docs-site/docs/concepts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ Start here to get into the core concepts of the Aptos blockchain. Then review ou
- ### [Transactions and States](./txns-states.md)
- ### [Gas and Transaction Fees](./gas-txn-fee.md)
- ### [Blocks](./blocks.md)
- ### [Aptos Blockchain Deep Dive](../guides/basics-life-of-txn.md)
- ### [Aptos Blockchain Deep Dive](./blockchain.md)
- ### [Staking](./staking.md)
- ### [Governance](./governance.md)
2 changes: 1 addition & 1 deletion developer-docs-site/docs/concepts/staking.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import useBaseUrl from '@docusaurus/useBaseUrl';
# Staking

:::tip Consensus
We strongly recommend that you read the consensus section of [Aptos Blockchain Deep Dive](../guides/basics-life-of-txn.md#consensus) before proceeding further.
We strongly recommend that you read the consensus section of [Aptos Blockchain Deep Dive](./blockchain.md#consensus) before proceeding further.
:::

In a distributed system like blockchain, executing a transaction is distinct from updating the state of the ledger and persisting the results in storage. An agreement, i.e., consensus, must be reached by a quorum of validators on the ordering of transactions and their execution results before these results are persisted in storage and the state of the ledger is updated.
Expand Down
2 changes: 1 addition & 1 deletion developer-docs-site/docs/concepts/txns-states.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ A transaction that is successfully submitted but ultimately discarded may have n
The submitter can try to increase the gas cost by a trivial amount to help make progress and adjust for whatever may have been causing the discarding of the transaction further downstream.

:::tip Read more
See [Aptos Blockchain Deep Dive](../guides/basics-life-of-txn.md) for a comprehensive description of the Aptos transaction lifecycle.
See [Aptos Blockchain Deep Dive](./blockchain.md) for a comprehensive description of the Aptos transaction lifecycle.
:::

### Contents of a Transaction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ All other metrics should be considered unstable and may be changed/removed witho
### Consensus

If you are running a validator node, the following
[consensus](../../guides/basics-life-of-txn.md#consensus) metrics are important:
[consensus](../../concepts/blockchain.md#consensus) metrics are important:
1. `aptos_consensus_proposals_count`: Counts the number of times the node sent a block
proposal to the network. The count will increase only when the validator is chosen to be a proposer,
which depends on the node's stake and leader election reputation. You should expect this metric to
Expand Down Expand Up @@ -169,7 +169,7 @@ your node has connected to another node (e.g., connected to a validator fullnode

### Mempool

The following [mempool](../../guides/basics-life-of-txn.md#mempool) metrics are important:
The following [mempool](../../concepts/blockchain.md#mempool) metrics are important:
1. `core_mempool_index_size{index="system_ttl"`: This metric displays the number of transactions currently sitting in
the mempool of the node and waiting to be committed to the blockchain:
1. If your node is a fullnode, it's highly unlikely that this metric will be `> 0`, unless transactions are actively
Expand Down
4 changes: 4 additions & 0 deletions developer-docs-site/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,10 @@ const config = {
"/whats-new-in-docs",
],
},
{
to: "/concepts/blockchain",
from: ["/guides/basics-life-of-txn"],
},
{
to: "/concepts/txns-states",
from: ["/concepts/basics-txns-states"],
Expand Down
2 changes: 1 addition & 1 deletion developer-docs-site/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const sidebars = {
"concepts/txns-states",
"concepts/gas-txn-fee",
"concepts/blocks",
"guides/basics-life-of-txn",
"concepts/blockchain",
"concepts/staking",
"concepts/governance",
],
Expand Down

0 comments on commit b950a0e

Please sign in to comment.