diff --git a/.gitignore b/.gitignore index 0fd46fd16..a390e700c 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/DOCKER/README.md b/DOCKER/README.md index c95f0693a..8b10f9c03 100644 --- a/DOCKER/README.md +++ b/DOCKER/README.md @@ -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 diff --git a/abci/README.md b/abci/README.md index 529b949a9..7c68fd73f 100644 --- a/abci/README.md +++ b/abci/README.md @@ -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). diff --git a/abci/example/kvstore/README.md b/abci/example/kvstore/README.md index 89df96b35..03b163d72 100644 --- a/abci/example/kvstore/README.md +++ b/abci/example/kvstore/README.md @@ -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). diff --git a/consensus/README.md b/consensus/README.md index 0aa87013c..0e3b95fe9 100644 --- a/consensus/README.md +++ b/consensus/README.md @@ -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). diff --git a/consensus/state.go b/consensus/state.go index 20b46edf3..64995c9b9 100644 --- a/consensus/state.go +++ b/consensus/state.go @@ -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) diff --git a/crypto/README.md b/crypto/README.md index 90986fe46..16ea7d69a 100644 --- a/crypto/README.md +++ b/crypto/README.md @@ -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). diff --git a/crypto/merkle/README.md b/crypto/merkle/README.md index ef1083c33..e554d9fa0 100644 --- a/crypto/merkle/README.md +++ b/crypto/merkle/README.md @@ -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). diff --git a/docs/README.md b/docs/README.md index 4e304fbf3..0555e304c 100644 --- a/docs/README.md +++ b/docs/README.md @@ -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) diff --git a/evidence/doc.go b/evidence/doc.go index 42ea1d6bb..ef3e84d5b 100644 --- a/evidence/doc.go +++ b/evidence/doc.go @@ -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 diff --git a/light/client.go b/light/client.go index a3e130815..95f1620c0 100644 --- a/light/client.go +++ b/light/client.go @@ -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: diff --git a/light/doc.go b/light/doc.go index 739b94fba..0a2cf772a 100644 --- a/light/doc.go +++ b/light/doc.go @@ -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 @@ -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 diff --git a/networks/local/README.md b/networks/local/README.md index dcb31ae71..de7057ee7 100644 --- a/networks/local/README.md +++ b/networks/local/README.md @@ -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). diff --git a/p2p/README.md b/p2p/README.md index 5a171ad7e..515fdf090 100644 --- a/p2p/README.md +++ b/p2p/README.md @@ -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). diff --git a/rpc/core/abci.go b/rpc/core/abci.go index 3e116976e..3f4892e2a 100644 --- a/rpc/core/abci.go +++ b/rpc/core/abci.go @@ -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, @@ -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 { diff --git a/rpc/core/blocks.go b/rpc/core/blocks.go index 8bd9378b2..0441f5f0c 100644 --- a/rpc/core/blocks.go +++ b/rpc/core/blocks.go @@ -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 @@ -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 { @@ -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 { @@ -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 { @@ -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 { diff --git a/rpc/core/consensus.go b/rpc/core/consensus.go index 78c8e1209..a3522f583 100644 --- a/rpc/core/consensus.go +++ b/rpc/core/consensus.go @@ -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) @@ -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() @@ -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() @@ -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. diff --git a/rpc/core/events.go b/rpc/core/events.go index ce70ef82c..b189e5387 100644 --- a/rpc/core/events.go +++ b/rpc/core/events.go @@ -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() @@ -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) @@ -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) diff --git a/rpc/core/evidence.go b/rpc/core/evidence.go index 4f907e2a5..e4a03fe9d 100644 --- a/rpc/core/evidence.go +++ b/rpc/core/evidence.go @@ -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") diff --git a/rpc/core/health.go b/rpc/core/health.go index f98943241..1c572f2a7 100644 --- a/rpc/core/health.go +++ b/rpc/core/health.go @@ -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 } diff --git a/rpc/core/mempool.go b/rpc/core/mempool.go index 10ae27f24..4f6569876 100644 --- a/rpc/core/mempool.go +++ b/rpc/core/mempool.go @@ -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) { @@ -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) { @@ -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() @@ -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) @@ -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(), @@ -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 { diff --git a/rpc/core/net.go b/rpc/core/net.go index aa5ecf30f..3e3bcbb31 100644 --- a/rpc/core/net.go +++ b/rpc/core/net.go @@ -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)) @@ -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") diff --git a/rpc/core/status.go b/rpc/core/status.go index 22be0ccfd..38597f034 100644 --- a/rpc/core/status.go +++ b/rpc/core/status.go @@ -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 diff --git a/rpc/core/tx.go b/rpc/core/tx.go index c30c2bb0a..ad99df905 100644 --- a/rpc/core/tx.go +++ b/rpc/core/tx.go @@ -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 { @@ -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, diff --git a/rpc/openapi/openapi.yaml b/rpc/openapi/openapi.yaml index a04dd1fc1..44f77539d 100644 --- a/rpc/openapi/openapi.yaml +++ b/rpc/openapi/openapi.yaml @@ -51,7 +51,7 @@ info: ws ws://localhost:26657/websocket > { "jsonrpc": "2.0", "method": "subscribe", "params": ["tm.event='NewBlock'"], "id": 1 } - version: "Master" + version: "main" license: name: Apache 2.0 url: https://github.com/ostracon/ostracon/blob/main/LICENSE @@ -81,7 +81,7 @@ paths: description: | If you want to be sure that the transaction is included in a block, you can subscribe for the result using JSONRPC via a websocket. See - https://docs.tendermint.com/master/app-dev/subscribing-to-events-via-websocket.html + https://docs.tendermint.com/v0.34/app-dev/subscribing-to-events-via-websocket.html If you haven't received anything after a couple of blocks, resend it. If the same happens again, send it to some other node. A few reasons why it could happen: @@ -93,7 +93,7 @@ paths: Please refer to - https://docs.tendermint.com/master/tendermint-core/using-tendermint.html#formatting + https://docs.tendermint.com/v0.34/tendermint-core/using-tendermint.html#formatting for formatting/encoding rules. parameters: - in: query @@ -125,7 +125,7 @@ paths: description: | If you want to be sure that the transaction is included in a block, you can subscribe for the result using JSONRPC via a websocket. See - https://docs.tendermint.com/master/app-dev/subscribing-to-events-via-websocket.html + https://docs.tendermint.com/v0.34/app-dev/subscribing-to-events-via-websocket.html If you haven't received anything after a couple of blocks, resend it. If the same happens again, send it to some other node. A few reasons why it could happen: @@ -137,7 +137,7 @@ paths: 3. node can be offline Please refer to - https://docs.tendermint.com/master/tendermint-core/using-tendermint.html#formatting + https://docs.tendermint.com/v0.34/tendermint-core/using-tendermint.html#formatting for formatting/encoding rules. parameters: - in: query @@ -170,7 +170,7 @@ paths: IMPORTANT: use only for testing and development. In production, use BroadcastTxSync or BroadcastTxAsync. You can subscribe for the transaction result using JSONRPC via a websocket. See - https://docs.tendermint.com/master/app-dev/subscribing-to-events-via-websocket.html + https://docs.tendermint.com/v0.34/app-dev/subscribing-to-events-via-websocket.html CONTRACT: only returns error if mempool.CheckTx() errs or if we timeout waiting for tx to commit. @@ -179,7 +179,7 @@ paths: will contain a non-OK ABCI code. Please refer to - https://docs.tendermint.com/master/tendermint-core/using-tendermint.html#formatting + https://docs.tendermint.com/v0.34/tendermint-core/using-tendermint.html#formatting for formatting/encoding rules. parameters: - in: query @@ -212,7 +212,7 @@ paths: The transaction won't be added to the mempool. Please refer to - https://docs.tendermint.com/master/tendermint-core/using-tendermint.html#formatting + https://docs.tendermint.com/v0.34/tendermint-core/using-tendermint.html#formatting for formatting/encoding rules. parameters: - in: query diff --git a/test/README.md b/test/README.md index 96feac959..e701d3022 100644 --- a/test/README.md +++ b/test/README.md @@ -1,3 +1,3 @@ # Ostracon Tests -Basically, see the [Tendermint v0.34.8 test](https://github.com/tendermint/tendermint/blob/v0.34.8/test/README.md). +Basically, see the [Tendermint v0.34 test](https://github.com/tendermint/tendermint/blob/v0.34.x/test/README.md). diff --git a/tools/README.md b/tools/README.md index 59a9cc061..f89164a92 100644 --- a/tools/README.md +++ b/tools/README.md @@ -2,4 +2,4 @@ Tools for working with Ostracon and associated technologies. Documentation for these tools can be found online in the [Tendermint tools -documentation](https://docs.tendermint.com/master/tools/). +documentation](https://docs.tendermint.com/v0.34/tools/). diff --git a/types/block.go b/types/block.go index b64488d06..2ac3cd04b 100644 --- a/types/block.go +++ b/types/block.go @@ -366,7 +366,7 @@ func MaxDataBytesNoEvidence(maxBytes int64, valsCount int) int64 { // NOTE: changes to the Header should be duplicated in: // - header.Hash() // - abci.Header -// - https://github.com/tendermint/spec/blob/master/spec/blockchain/blockchain.md +// - https://github.com/tendermint/tendermint/blob/v0.34.x/spec/blockchain/blockchain.md type Header struct { // basic block info Version tmversion.Consensus `json:"version"`