Skip to content

Commit

Permalink
docs: move subscription to tendermint-core (#5323)
Browse files Browse the repository at this point in the history
## Description

- Move subscriptions to tendermint-core section. 

- Remove unused photot

Closes: #XXX
  • Loading branch information
tac0turtle authored Sep 2, 2020
1 parent 710a97d commit c2ce5e6
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 12 deletions.
8 changes: 3 additions & 5 deletions docs/app-dev/indexing-transactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
Binary file removed docs/imgs/a_plus_t.png
Binary file not shown.
1 change: 1 addition & 0 deletions docs/tendermint-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/tendermint-core/block-structure.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
order: 7
order: 8
---

# Block Structure
Expand Down
2 changes: 1 addition & 1 deletion docs/tendermint-core/fast-sync.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
order: 9
order: 10
---

# Fast Sync
Expand Down
2 changes: 1 addition & 1 deletion docs/tendermint-core/light-client.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
order: 12
order: 13
---

# Light Client
Expand Down
2 changes: 1 addition & 1 deletion docs/tendermint-core/mempool.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
order: 11
order: 12
---

# Mempool
Expand Down
2 changes: 1 addition & 1 deletion docs/tendermint-core/rpc.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
order: 8
order: 9
---

# RPC
Expand Down
2 changes: 1 addition & 1 deletion docs/tendermint-core/state-sync.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
order: 10
order: 11
---

# State Sync
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
order: 5
order: 7
---

# Subscribing to events via Websocket
Expand Down

0 comments on commit c2ce5e6

Please sign in to comment.