Skip to content

Commit

Permalink
docs: Update v0.34.x to prepare for v0.37 (#9244)
Browse files Browse the repository at this point in the history
* Ignore generated/copied RPC docs

Signed-off-by: Thane Thomson <[email protected]>

* Sync vuepress config with main

Signed-off-by: Thane Thomson <[email protected]>

* Sync docs package-lock.json with main

Signed-off-by: Thane Thomson <[email protected]>

* Sync docs redirects with main

Signed-off-by: Thane Thomson <[email protected]>

* Sync docs versions with main

Signed-off-by: Thane Thomson <[email protected]>

* Update OpenAPI version to v0.34

Signed-off-by: Thane Thomson <[email protected]>

* Sync DOCS_README with main

Signed-off-by: Thane Thomson <[email protected]>

* Update all v0.34.x docs references from master to main

Signed-off-by: Thane Thomson <[email protected]>

* Update v0.34 OpenAPI references from master to main

Signed-off-by: Thane Thomson <[email protected]>

* Update repo doc links from master to main

Signed-off-by: Thane Thomson <[email protected]>

* Update code comment references from master to main

Signed-off-by: Thane Thomson <[email protected]>

* Update repo root doc links from master to main

Signed-off-by: Thane Thomson <[email protected]>

* Update repo root doc links for docs.tendermint.com from master to main

Signed-off-by: Thane Thomson <[email protected]>

* Build v0.34.x as "latest"

Signed-off-by: Thane Thomson <[email protected]>

* Explicitly mark v0.34 docs as latest in version selector

Signed-off-by: Thane Thomson <[email protected]>

* Add nav link to main and clearly mark as unstable

Signed-off-by: Thane Thomson <[email protected]>

* Direct all docs.tendermint.com links to v0.34 on v0.34.x

Signed-off-by: Thane Thomson <[email protected]>

* Update all relevant links on v0.34.x branch to be v0.34-specific

Signed-off-by: Thane Thomson <[email protected]>

* Update changelog refs to docs.tendermint.com

Signed-off-by: Thane Thomson <[email protected]>

* Update remaining GH master link to main

Signed-off-by: Thane Thomson <[email protected]>

* Sync docs build and nav config with main

Signed-off-by: Thane Thomson <[email protected]>

* Migrate spec links to GitHub repo from docs site

Signed-off-by: Thane Thomson <[email protected]>

Signed-off-by: Thane Thomson <[email protected]>

Co-authored-by: Thane Thomson <[email protected]>
  • Loading branch information
tnasu and thanethomson committed Jul 20, 2023
1 parent 4cb2f6e commit 00c3919
Show file tree
Hide file tree
Showing 28 changed files with 56 additions and 54 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ docs/.vuepress/dist
docs/package-lock.json # To avoid security notifications. If the time comes to use VuePress, activate this.
*.log
docs/node_modules/
docs/.vuepress/public/rpc
index.html.md
node/data

Expand Down
2 changes: 1 addition & 1 deletion DOCKER/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Docker

Basically, see the [Tendermint v0.34.8 Docker](https://github.com/tendermint/tendermint/blob/v0.34.8/DOCKER/README.md).
Basically, see the [Tendermint v0.34 Docker](https://github.com/tendermint/tendermint/blob/v0.34.x/DOCKER/README.md).

## Quick Start

Expand Down
2 changes: 1 addition & 1 deletion abci/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Application BlockChain Interface (ABCI)

Basically, see the [Tendermint v0.34.8 ABCI spec](https://github.com/tendermint/tendermint/blob/v0.34.8/abci/README.md).
Basically, see the [Tendermint v0.34 ABCI spec](https://github.com/tendermint/tendermint/blob/v0.34.x/abci/README.md).
2 changes: 1 addition & 1 deletion abci/example/kvstore/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# KVStore

Basically, see the [Tendermint v0.34.8 KVStore spec](https://github.com/tendermint/tendermint/blob/v0.34.8/abci/example/kvstore/README.md).
Basically, see the [Tendermint v0.34 KVStore spec](https://github.com/tendermint/tendermint/blob/v0.34.x/abci/example/kvstore/README.md).
2 changes: 1 addition & 1 deletion consensus/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Consensus

Basically, see the [Tendermint v0.34.8 Consensus spec](https://github.com/tendermint/tendermint/blob/v0.34.8/consensus/README.md).
Basically, see the [Tendermint v0.34 Consensus spec](https://github.com/tendermint/tendermint/blob/v0.34.x/consensus/README.md).
5 changes: 3 additions & 2 deletions consensus/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -2313,10 +2313,11 @@ func (cs *State) voteTime() time.Time {
now := tmtime.Now()
minVoteTime := now
// TODO: We should remove next line in case we don't vote for v in case cs.ProposalBlock == nil,
// even if cs.LockedBlock != nil. See https://docs.tendermint.com/master/spec/.
// even if cs.LockedBlock != nil. See https://github.com/tendermint/tendermint/tree/v0.34.x/spec/.
timeIota := time.Duration(cs.state.ConsensusParams.Block.TimeIotaMs) * time.Millisecond
if cs.LockedBlock != nil {
// See the BFT time spec https://docs.tendermint.com/master/spec/consensus/bft-time.html
// See the BFT time spec
// https://github.com/tendermint/tendermint/blob/v0.34.x/spec/consensus/bft-time.md
minVoteTime = cs.LockedBlock.Time.Add(timeIota)
} else if cs.ProposalBlock != nil {
minVoteTime = cs.ProposalBlock.Time.Add(timeIota)
Expand Down
2 changes: 1 addition & 1 deletion crypto/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Crypto

Basically, see the [Tendermint v0.34.8 Crypto spec](https://github.com/tendermint/tendermint/blob/v0.34.8/crypto/README.md).
Basically, see the [Tendermint v0.34 Crypto spec](https://github.com/tendermint/tendermint/blob/v0.34.x/crypto/README.md).
2 changes: 1 addition & 1 deletion crypto/merkle/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Merkle Tree

Basically, see the [Tendermint v0.34.8 Merkle Tree spec](https://github.com/tendermint/tendermint/blob/v0.34.8/crypto/merkle/README.md).
Basically, see the [Tendermint v0.34 Merkle Tree spec](https://github.com/tendermint/tendermint/blob/v0.34.x/crypto/merkle/README.md).
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: Ostracon is a blockchain application platform.
Welcome to the Ostracon documentation!
Therefore, sorry for under construction.

Basically, you can find the information on [Tendermint v0.34.8 docs/README.md](https://github.com/tendermint/tendermint/blob/v0.34.8/docs/README.md)
Basically, you can find the information on [Tendermint v0.34 docs/README.md](https://github.com/tendermint/tendermint/blob/v0.34.x/docs/README.md)

In addition, we have prepared a simple document here.
* [English](en)
Expand Down
2 changes: 1 addition & 1 deletion evidence/doc.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Package evidence handles all evidence storage and gossiping from detection to block proposal.
For the different types of evidence refer to the `evidence.go` file in the types package
or https://github.com/tendermint/spec/blob/master/spec/consensus/light-client/accountability.md.
or https://github.com/tendermint/tendermint/blob/v0.34.x/spec/consensus/light-client/accountability.md.
# Gossiping
Expand Down
2 changes: 1 addition & 1 deletion light/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ func (c *Client) VerifyLightBlockAtHeight(ctx context.Context, height int64, now
// headers are not adjacent, verifySkipping is performed and necessary (not all)
// intermediate headers will be requested. See the specification for details.
// Intermediate headers are not saved to database.
// https://github.com/tendermint/spec/blob/master/spec/consensus/light-client.md
// https://github.com/tendermint/tendermint/blob/v0.34.x/spec/consensus/light-client.md
//
// If the header, which is older than the currently trusted header, is
// requested and the light client does not have it, VerifyHeader will perform:
Expand Down
6 changes: 3 additions & 3 deletions light/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Check out other examples in example_test.go
## 2. Pure functions to verify a new header (see verifier.go)
Verify function verifies a new header against some trusted header. See
https://github.com/tendermint/spec/blob/master/spec/consensus/light-client/verification.md
https://github.com/tendermint/tendermint/blob/v0.34.x/spec/consensus/light-client/verification.md
for details.
There are two methods of verification: sequential and bisection
Expand All @@ -118,10 +118,10 @@ as a wrapper, which verifies all the headers, using a light client connected to
some other node.
See
https://docs.tendermint.com/master/tendermint-core/light-client-protocol.html
https://docs.tendermint.com/v0.34/tendermint-core/light-client-protocol.html
for usage example.
Or see
https://github.com/tendermint/spec/tree/master/spec/consensus/light-client
https://github.com/tendermint/tendermint/tree/v0.34.x/spec/consensus/light-client
for the full spec
*/
package light
2 changes: 1 addition & 1 deletion networks/local/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Local Cluster with Docker Compose

See the [docs](https://docs.tendermint.com/master/networks/docker-compose.html).
See the [docs](https://docs.tendermint.com/v0.34/networks/docker-compose.html).
2 changes: 1 addition & 1 deletion p2p/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# p2p

Basically, see the [Tendermint v0.34.8 p2p spec](https://github.com/tendermint/tendermint/blob/v0.34.8/p2p/README.md).
Basically, see the [Tendermint v0.34 p2p spec](https://github.com/tendermint/tendermint/blob/v0.34.x/p2p/README.md).
4 changes: 2 additions & 2 deletions rpc/core/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

// ABCIQuery queries the application for some information.
// More: https://docs.tendermint.com/master/rpc/#/ABCI/abci_query
// More: https://docs.tendermint.com/v0.34/rpc/#/ABCI/abci_query
func ABCIQuery(
ctx *rpctypes.Context,
path string,
Expand All @@ -32,7 +32,7 @@ func ABCIQuery(
}

// ABCIInfo gets some info about the application.
// More: https://docs.tendermint.com/master/rpc/#/ABCI/abci_info
// More: https://docs.tendermint.com/v0.34/rpc/#/ABCI/abci_info
func ABCIInfo(ctx *rpctypes.Context) (*ctypes.ResultABCIInfo, error) {
resInfo, err := env.ProxyAppQuery.InfoSync(proxy.RequestInfo)
if err != nil {
Expand Down
10 changes: 5 additions & 5 deletions rpc/core/blocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

// BlockchainInfo gets block headers for minHeight <= height <= maxHeight.
// Block headers are returned in descending order (highest first).
// More: https://docs.tendermint.com/master/rpc/#/Info/blockchain
// More: https://docs.tendermint.com/v0.34/rpc/#/Info/blockchain
func BlockchainInfo(ctx *rpctypes.Context, minHeight, maxHeight int64) (*ctypes.ResultBlockchainInfo, error) {
// maximum 20 block metas
const limit int64 = 20
Expand Down Expand Up @@ -77,7 +77,7 @@ func filterMinMax(base, height, min, max, limit int64) (int64, int64, error) {

// Block gets block at a given height.
// If no height is provided, it will fetch the latest block.
// More: https://docs.tendermint.com/master/rpc/#/Info/block
// More: https://docs.tendermint.com/v0.34/rpc/#/Info/block
func Block(ctx *rpctypes.Context, heightPtr *int64) (*ctypes.ResultBlock, error) {
height, err := getHeight(env.BlockStore.Height(), heightPtr)
if err != nil {
Expand All @@ -93,7 +93,7 @@ func Block(ctx *rpctypes.Context, heightPtr *int64) (*ctypes.ResultBlock, error)
}

// BlockByHash gets block by hash.
// More: https://docs.tendermint.com/master/rpc/#/Info/block_by_hash
// More: https://docs.tendermint.com/v0.34/rpc/#/Info/block_by_hash
func BlockByHash(ctx *rpctypes.Context, hash []byte) (*ctypes.ResultBlock, error) {
block := env.BlockStore.LoadBlockByHash(hash)
if block == nil {
Expand All @@ -106,7 +106,7 @@ func BlockByHash(ctx *rpctypes.Context, hash []byte) (*ctypes.ResultBlock, error

// Commit gets block commit at a given height.
// If no height is provided, it will fetch the commit for the latest block.
// More: https://docs.tendermint.com/master/rpc/#/Info/commit
// More: https://docs.tendermint.com/v0.34/rpc/#/Info/commit
func Commit(ctx *rpctypes.Context, heightPtr *int64) (*ctypes.ResultCommit, error) {
height, err := getHeight(env.BlockStore.Height(), heightPtr)
if err != nil {
Expand Down Expand Up @@ -138,7 +138,7 @@ func Commit(ctx *rpctypes.Context, heightPtr *int64) (*ctypes.ResultCommit, erro
// Results are for the height of the block containing the txs.
// Thus response.results.deliver_tx[5] is the results of executing
// getBlock(h).Txs[5]
// More: https://docs.tendermint.com/master/rpc/#/Info/block_results
// More: https://docs.tendermint.com/v0.34/rpc/#/Info/block_results
func BlockResults(ctx *rpctypes.Context, heightPtr *int64) (*ctypes.ResultBlockResults, error) {
height, err := getHeight(env.BlockStore.Height(), heightPtr)
if err != nil {
Expand Down
8 changes: 4 additions & 4 deletions rpc/core/consensus.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
// validators are sorted by their voting power - this is the canonical order
// for the validators in the set as used in computing their Merkle root.
//
// More: https://docs.tendermint.com/master/rpc/#/Info/validators
// More: https://docs.tendermint.com/v0.34/rpc/#/Info/validators
func Validators(ctx *rpctypes.Context, heightPtr *int64, pagePtr, perPagePtr *int) (*ctypes.ResultValidators, error) {
// The latest validator that we know is the NextValidator of the last block.
height, err := getHeight(latestUncommittedHeight(), heightPtr)
Expand Down Expand Up @@ -47,7 +47,7 @@ func Validators(ctx *rpctypes.Context, heightPtr *int64, pagePtr, perPagePtr *in

// DumpConsensusState dumps consensus state.
// UNSTABLE
// More: https://docs.tendermint.com/master/rpc/#/Info/dump_consensus_state
// More: https://docs.tendermint.com/v0.34/rpc/#/Info/dump_consensus_state
func DumpConsensusState(ctx *rpctypes.Context) (*ctypes.ResultDumpConsensusState, error) {
// Get Peer consensus states.
peers := env.P2PPeers.Peers().List()
Expand Down Expand Up @@ -80,7 +80,7 @@ func DumpConsensusState(ctx *rpctypes.Context) (*ctypes.ResultDumpConsensusState

// ConsensusState returns a concise summary of the consensus state.
// UNSTABLE
// More: https://docs.tendermint.com/master/rpc/#/Info/consensus_state
// More: https://docs.tendermint.com/v0.34/rpc/#/Info/consensus_state
func ConsensusState(ctx *rpctypes.Context) (*ctypes.ResultConsensusState, error) {
// Get self round state.
bz, err := env.ConsensusState.GetRoundStateSimpleJSON()
Expand All @@ -89,7 +89,7 @@ func ConsensusState(ctx *rpctypes.Context) (*ctypes.ResultConsensusState, error)

// ConsensusParams gets the consensus parameters at the given block height.
// If no height is provided, it will fetch the latest consensus params.
// More: https://docs.tendermint.com/master/rpc/#/Info/consensus_params
// More: https://docs.tendermint.com/v0.34/rpc/#/Info/consensus_params
func ConsensusParams(ctx *rpctypes.Context, heightPtr *int64) (*ctypes.ResultConsensusParams, error) {
// The latest consensus params that we know is the consensus params after the
// last block.
Expand Down
6 changes: 3 additions & 3 deletions rpc/core/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const (
)

// Subscribe for events via WebSocket.
// More: https://docs.tendermint.com/master/rpc/#/Websocket/subscribe
// More: https://docs.tendermint.com/v0.34/rpc/#/Websocket/subscribe
func Subscribe(ctx *rpctypes.Context, query string) (*ctypes.ResultSubscribe, error) {
addr := ctx.RemoteAddr()

Expand Down Expand Up @@ -102,7 +102,7 @@ func Subscribe(ctx *rpctypes.Context, query string) (*ctypes.ResultSubscribe, er
}

// Unsubscribe from events via WebSocket.
// More: https://docs.tendermint.com/master/rpc/#/Websocket/unsubscribe
// More: https://docs.tendermint.com/v0.34/rpc/#/Websocket/unsubscribe
func Unsubscribe(ctx *rpctypes.Context, query string) (*ctypes.ResultUnsubscribe, error) {
addr := ctx.RemoteAddr()
env.Logger.Info("Unsubscribe from query", "remote", addr, "query", query)
Expand All @@ -118,7 +118,7 @@ func Unsubscribe(ctx *rpctypes.Context, query string) (*ctypes.ResultUnsubscribe
}

// UnsubscribeAll from all events via WebSocket.
// More: https://docs.tendermint.com/master/rpc/#/Websocket/unsubscribe_all
// More: https://docs.tendermint.com/v0.34/rpc/#/Websocket/unsubscribe_all
func UnsubscribeAll(ctx *rpctypes.Context) (*ctypes.ResultUnsubscribe, error) {
addr := ctx.RemoteAddr()
env.Logger.Info("Unsubscribe from all", "remote", addr)
Expand Down
2 changes: 1 addition & 1 deletion rpc/core/evidence.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

// BroadcastEvidence broadcasts evidence of the misbehavior.
// More: https://docs.tendermint.com/master/rpc/#/Info/broadcast_evidence
// More: https://docs.tendermint.com/v0.34/rpc/#/Info/broadcast_evidence
func BroadcastEvidence(ctx *rpctypes.Context, ev types.Evidence) (*ctypes.ResultBroadcastEvidence, error) {
if ev == nil {
return nil, errors.New("no evidence was provided")
Expand Down
2 changes: 1 addition & 1 deletion rpc/core/health.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

// Health gets node health. Returns empty result (200 OK) on success, no
// response - in case of an error.
// More: https://docs.tendermint.com/master/rpc/#/Info/health
// More: https://docs.tendermint.com/v0.34/rpc/#/Info/health
func Health(ctx *rpctypes.Context) (*ctypes.ResultHealth, error) {
return &ctypes.ResultHealth{}, nil
}
12 changes: 6 additions & 6 deletions rpc/core/mempool.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (

// BroadcastTxAsync returns right away, with no response. Does not wait for
// CheckTx nor DeliverTx results.
// More: https://docs.tendermint.com/master/rpc/#/Tx/broadcast_tx_async
// More: https://docs.tendermint.com/v0.34/rpc/#/Tx/broadcast_tx_async
func BroadcastTxAsync(ctx *rpctypes.Context, tx types.Tx) (*ctypes.ResultBroadcastTx, error) {
chErr := make(chan error)
env.Mempool.CheckTxAsync(tx, mempl.TxInfo{}, func(err error) {
Expand All @@ -36,7 +36,7 @@ func BroadcastTxAsync(ctx *rpctypes.Context, tx types.Tx) (*ctypes.ResultBroadca

// BroadcastTxSync returns with the response from CheckTx. Does not wait for
// DeliverTx result.
// More: https://docs.tendermint.com/master/rpc/#/Tx/broadcast_tx_sync
// More: https://docs.tendermint.com/v0.34/rpc/#/Tx/broadcast_tx_sync
func BroadcastTxSync(ctx *rpctypes.Context, tx types.Tx) (*ctypes.ResultBroadcastTx, error) {
resCh := make(chan *ocabci.Response, 1)
err := env.Mempool.CheckTxSync(tx, func(res *ocabci.Response) {
Expand Down Expand Up @@ -66,7 +66,7 @@ func BroadcastTxSync(ctx *rpctypes.Context, tx types.Tx) (*ctypes.ResultBroadcas
}

// BroadcastTxCommit returns with the responses from CheckTx and DeliverTx.
// More: https://docs.tendermint.com/master/rpc/#/Tx/broadcast_tx_commit
// More: https://docs.tendermint.com/v0.34/rpc/#/Tx/broadcast_tx_commit
func BroadcastTxCommit(ctx *rpctypes.Context, tx types.Tx) (*ctypes.ResultBroadcastTxCommit, error) {
subscriber := ctx.RemoteAddr()

Expand Down Expand Up @@ -155,7 +155,7 @@ func BroadcastTxCommit(ctx *rpctypes.Context, tx types.Tx) (*ctypes.ResultBroadc

// UnconfirmedTxs gets unconfirmed transactions (maximum ?limit entries)
// including their number.
// More: https://docs.tendermint.com/master/rpc/#/Info/unconfirmed_txs
// More: https://docs.tendermint.com/v0.34/rpc/#/Info/unconfirmed_txs
func UnconfirmedTxs(ctx *rpctypes.Context, limitPtr *int) (*ctypes.ResultUnconfirmedTxs, error) {
// reuse per_page validator
limit := validatePerPage(limitPtr)
Expand All @@ -169,7 +169,7 @@ func UnconfirmedTxs(ctx *rpctypes.Context, limitPtr *int) (*ctypes.ResultUnconfi
}

// NumUnconfirmedTxs gets number of unconfirmed transactions.
// More: https://docs.tendermint.com/master/rpc/#/Info/num_unconfirmed_txs
// More: https://docs.tendermint.com/v0.34/rpc/#/Info/num_unconfirmed_txs
func NumUnconfirmedTxs(ctx *rpctypes.Context) (*ctypes.ResultUnconfirmedTxs, error) {
return &ctypes.ResultUnconfirmedTxs{
Count: env.Mempool.Size(),
Expand All @@ -179,7 +179,7 @@ func NumUnconfirmedTxs(ctx *rpctypes.Context) (*ctypes.ResultUnconfirmedTxs, err

// CheckTx checks the transaction without executing it. The transaction won't
// be added to the mempool either.
// More: https://docs.tendermint.com/master/rpc/#/Tx/check_tx
// More: https://docs.tendermint.com/v0.34/rpc/#/Tx/check_tx
func CheckTx(ctx *rpctypes.Context, tx types.Tx) (*ctypes.ResultCheckTx, error) {
res, err := env.ProxyAppMempool.CheckTxSync(abci.RequestCheckTx{Tx: tx})
if err != nil {
Expand Down
4 changes: 2 additions & 2 deletions rpc/core/net.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

// NetInfo returns network info.
// More: https://docs.tendermint.com/master/rpc/#/Info/net_info
// More: https://docs.tendermint.com/v0.34/rpc/#/Info/net_info
func NetInfo(ctx *rpctypes.Context) (*ctypes.ResultNetInfo, error) {
peersList := env.P2PPeers.Peers().List()
peers := make([]ctypes.Peer, 0, len(peersList))
Expand Down Expand Up @@ -92,7 +92,7 @@ func UnsafeDialPeers(ctx *rpctypes.Context, peers []string, persistent, uncondit
}

// Genesis returns genesis file.
// More: https://docs.tendermint.com/master/rpc/#/Info/genesis
// More: https://docs.tendermint.com/v0.34/rpc/#/Info/genesis
func Genesis(ctx *rpctypes.Context) (*ctypes.ResultGenesis, error) {
if len(env.genChunks) > 1 {
return nil, errors.New("genesis response is large, please use the genesis_chunked API instead")
Expand Down
2 changes: 1 addition & 1 deletion rpc/core/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

// Status returns Ostracon status including node info, pubkey, latest block
// hash, app hash, block height and time.
// More: https://docs.tendermint.com/master/rpc/#/Info/status
// More: https://docs.tendermint.com/v0.34/rpc/#/Info/status
func Status(ctx *rpctypes.Context) (*ctypes.ResultStatus, error) {
var (
earliestBlockHeight int64
Expand Down
4 changes: 2 additions & 2 deletions rpc/core/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
// Tx allows you to query the transaction results. `nil` could mean the
// transaction is in the mempool, invalidated, or was not sent in the first
// place.
// More: https://docs.tendermint.com/master/rpc/#/Info/tx
// More: https://docs.tendermint.com/v0.34/rpc/#/Info/tx
func Tx(ctx *rpctypes.Context, hash []byte, prove bool) (*ctypes.ResultTx, error) {
// if index is disabled, return error
if _, ok := env.TxIndexer.(*null.TxIndex); ok {
Expand Down Expand Up @@ -53,7 +53,7 @@ func Tx(ctx *rpctypes.Context, hash []byte, prove bool) (*ctypes.ResultTx, error

// TxSearch allows you to query for multiple transactions results. It returns a
// list of transactions (maximum ?per_page entries) and the total count.
// More: https://docs.tendermint.com/master/rpc/#/Info/tx_search
// More: https://docs.tendermint.com/v0.34/rpc/#/Info/tx_search
func TxSearch(
ctx *rpctypes.Context,
query string,
Expand Down
Loading

0 comments on commit 00c3919

Please sign in to comment.