diff --git a/docs/app-dev/indexing-transactions.md b/docs/app-dev/indexing-transactions.md index b51929c8a..579f8690d 100644 --- a/docs/app-dev/indexing-transactions.md +++ b/docs/app-dev/indexing-transactions.md @@ -4,8 +4,7 @@ order: 6 # Indexing Transactions -Tendermint allows you to index transactions and later query or subscribe -to their results. +Tendermint allows you to index transactions and later query or subscribe to their results. Events can be used to index transactions and blocks according to what happened during their execution. Note that the set of events returned for a block from @@ -78,9 +77,8 @@ func (app *KVStoreApplication) DeliverTx(req types.RequestDeliverTx) types.Resul } ``` -The transaction will be indexed (if the indexer is not `null`) with a certain -attribute if the attribute's `Index` field is set to `true`. In the above -example, all attributes will be indexed. +The transaction will be indexed (if the indexer is not `null`) with a certain attribute if the attribute's `Index` field is set to `true`. +In the above example, all attributes will be indexed. ## Querying Transactions diff --git a/docs/imgs/a_plus_t.png b/docs/imgs/a_plus_t.png deleted file mode 100644 index 8f5bc5e95..000000000 Binary files a/docs/imgs/a_plus_t.png and /dev/null differ diff --git a/docs/tendermint-core/README.md b/docs/tendermint-core/README.md index c97980e1c..fa94f3a1e 100644 --- a/docs/tendermint-core/README.md +++ b/docs/tendermint-core/README.md @@ -14,6 +14,7 @@ This section dives into the internals of Tendermint the implementation. - [Running in Production](./running-in-production.md) - [Metrics](./metrics.md) - [Validators](./validators.md) +- [Subscribing to events](./subscription.md) - [Block Structure](./block-structure.md) - [RPC](./rpc.md) - [Fast Sync](./fast-sync.md) diff --git a/docs/tendermint-core/block-structure.md b/docs/tendermint-core/block-structure.md index c35cab88d..4563084a6 100644 --- a/docs/tendermint-core/block-structure.md +++ b/docs/tendermint-core/block-structure.md @@ -1,5 +1,5 @@ --- -order: 7 +order: 8 --- # Block Structure diff --git a/docs/tendermint-core/fast-sync.md b/docs/tendermint-core/fast-sync.md index 437e2c22a..9bbeade38 100644 --- a/docs/tendermint-core/fast-sync.md +++ b/docs/tendermint-core/fast-sync.md @@ -1,5 +1,5 @@ --- -order: 9 +order: 10 --- # Fast Sync diff --git a/docs/tendermint-core/light-client.md b/docs/tendermint-core/light-client.md index cf4537097..41d7ae761 100644 --- a/docs/tendermint-core/light-client.md +++ b/docs/tendermint-core/light-client.md @@ -1,5 +1,5 @@ --- -order: 12 +order: 13 --- # Light Client diff --git a/docs/tendermint-core/mempool.md b/docs/tendermint-core/mempool.md index da4b88d3d..8dd968781 100644 --- a/docs/tendermint-core/mempool.md +++ b/docs/tendermint-core/mempool.md @@ -1,5 +1,5 @@ --- -order: 11 +order: 12 --- # Mempool diff --git a/docs/tendermint-core/rpc.md b/docs/tendermint-core/rpc.md index 2bb802411..62c5b01dd 100644 --- a/docs/tendermint-core/rpc.md +++ b/docs/tendermint-core/rpc.md @@ -1,5 +1,5 @@ --- -order: 8 +order: 9 --- # RPC diff --git a/docs/tendermint-core/state-sync.md b/docs/tendermint-core/state-sync.md index d5e54e4b7..77c10c4de 100644 --- a/docs/tendermint-core/state-sync.md +++ b/docs/tendermint-core/state-sync.md @@ -1,5 +1,5 @@ --- -order: 10 +order: 11 --- # State Sync diff --git a/docs/app-dev/subscribing-to-events-via-websocket.md b/docs/tendermint-core/subscription.md similarity index 99% rename from docs/app-dev/subscribing-to-events-via-websocket.md rename to docs/tendermint-core/subscription.md index e12365883..067d0bf51 100644 --- a/docs/app-dev/subscribing-to-events-via-websocket.md +++ b/docs/tendermint-core/subscription.md @@ -1,5 +1,5 @@ --- -order: 5 +order: 7 --- # Subscribing to events via Websocket