Browse Source

Fix broken /docs/spec links (#4376)

pull/4377/head
Erik Grinaker 5 years ago
committed by GitHub
parent
commit
66a544a640
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 15 additions and 15 deletions
  1. +1
    -1
      README.md
  2. +2
    -2
      consensus/state.go
  3. +1
    -1
      crypto/README.md
  4. +2
    -2
      docs/architecture/adr-044-lite-client-with-weak-subjectivity.md
  5. +1
    -1
      docs/architecture/adr-045-abci-evidence.md
  6. +1
    -1
      docs/interviews/tendermint-bft.md
  7. +1
    -1
      docs/tendermint-core/secure-p2p.md
  8. +5
    -5
      p2p/README.md
  9. +1
    -1
      types/block.go

+ 1
- 1
README.md View File

@ -129,7 +129,7 @@ For more information on upgrading, see [UPGRADING.md](./UPGRADING.md)
### Tendermint Core
For details about the blockchain data structures and the p2p protocols, see the
[Tendermint specification](/docs/spec).
[Tendermint specification](https://docs.tendermint.com/master/spec/).
For details on using the software, see the [documentation](/docs/) which is also
hosted at: https://docs.tendermint.com/master/


+ 2
- 2
consensus/state.go View File

@ -1864,10 +1864,10 @@ 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://github.com/tendermint/spec.
// even if cs.LockedBlock != nil. See https://docs.tendermint.com/master/spec/.
timeIotaMs := time.Duration(cs.state.ConsensusParams.Block.TimeIotaMs) * time.Millisecond
if cs.LockedBlock != nil {
// See the BFT time spec https://tendermint.com/docs/spec/consensus/bft-time.html
// See the BFT time spec https://docs.tendermint.com/master/spec/consensus/bft-time.html
minVoteTime = cs.LockedBlock.Time.Add(timeIotaMs)
} else if cs.ProposalBlock != nil {
minVoteTime = cs.ProposalBlock.Time.Add(timeIotaMs)


+ 1
- 1
crypto/README.md View File

@ -14,7 +14,7 @@ If you want to decode bytes into one of the types, but don't care about the spec
## Binary encoding
For Binary encoding, please refer to the [Tendermint encoding specification](https://github.com/tendermint/tendermint/blob/master/docs/spec/blockchain/encoding.md).
For Binary encoding, please refer to the [Tendermint encoding specification](https://docs.tendermint.com/master/spec/blockchain/encoding.html).
## JSON Encoding


+ 2
- 2
docs/architecture/adr-044-lite-client-with-weak-subjectivity.md View File

@ -84,7 +84,7 @@ The linear verification algorithm requires downloading all headers
between the `TrustHeight` and the `LatestHeight`. The lite client downloads the
full header for the provided `TrustHeight` and then proceeds to download `N+1`
headers and applies the [Tendermint validation
rules](https://github.com/tendermint/tendermint/blob/master/docs/spec/blockchain/blockchain.md#validation)
rules](https://docs.tendermint.com/master/spec/blockchain/blockchain.html#validation)
to each block.
### Bisecting Verification
@ -119,7 +119,7 @@ network usage.
---
Check out the formal specification
[here](https://github.com/tendermint/tendermint/blob/master/docs/spec/consensus/light-client.md).
[here](https://docs.tendermint.com/master/spec/consensus/light-client.html).
## Status


+ 1
- 1
docs/architecture/adr-045-abci-evidence.md View File

@ -18,7 +18,7 @@ graceful here, but that's for another day.
It's possible to fool lite clients without there being a fork on the
main chain - so called Fork-Lite. See the
[fork accountability](https://github.com/tendermint/tendermint/blob/master/docs/spec/consensus/fork-accountability.md)
[fork accountability](https://docs.tendermint.com/master/spec/consensus/fork-accountability.html)
document for more details. For a sequential lite client, this can happen via
equivocation or amnesia attacks. For a skipping lite client this can also happen
via lunatic validator attacks. There must be some way for applications to punish


+ 1
- 1
docs/interviews/tendermint-bft.md View File

@ -247,4 +247,4 @@ keep the list of new nodes it discovers, and when you need to establish
connection to a peer, you'll look to address book and get some addresses from
there. There's categorization/ranking of nodes there.
[1]: https://github.com/tendermint/tendermint/blob/master/docs/spec/reactors/consensus/proposer-selection.md
[1]: https://docs.tendermint.com/master/spec/reactors/consensus/proposer-selection.html

+ 1
- 1
docs/tendermint-core/secure-p2p.md View File

@ -67,7 +67,7 @@ Authenticated encryption is enabled by default.
## Specification
The full p2p specification can be found [here](https://github.com/tendermint/tendermint/tree/master/docs/spec/p2p).
The full p2p specification can be found [here](https://docs.tendermint.com/master/spec/p2p/).
## Additional Reading


+ 5
- 5
p2p/README.md View File

@ -4,8 +4,8 @@ The p2p package provides an abstraction around peer-to-peer communication.
Docs:
- [Connection](https://github.com/tendermint/tendermint/blob/master/docs/spec/p2p/connection.md) for details on how connections and multiplexing work
- [Peer](https://github.com/tendermint/tendermint/blob/master/docs/spec/p2p/peer.md) for details on peer ID, handshakes, and peer exchange
- [Node](https://github.com/tendermint/tendermint/blob/master/docs/spec/p2p/node.md) for details about different types of nodes and how they should work
- [Pex](https://github.com/tendermint/tendermint/blob/master/docs/spec/reactors/pex/pex.md) for details on peer discovery and exchange
- [Config](https://github.com/tendermint/tendermint/blob/master/docs/spec/p2p/config.md) for details on some config option
- [Connection](https://docs.tendermint.com/master/spec/p2p/connection.html) for details on how connections and multiplexing work
- [Peer](https://docs.tendermint.com/master/spec/p2p/node.html) for details on peer ID, handshakes, and peer exchange
- [Node](https://docs.tendermint.com/master/spec/p2p/node.html) for details about different types of nodes and how they should work
- [Pex](https://docs.tendermint.com/master/spec/reactors/pex/pex.html) for details on peer discovery and exchange
- [Config](https://docs.tendermint.com/master/spec/p2p/config.html) for details on some config option

+ 1
- 1
types/block.go View File

@ -319,7 +319,7 @@ func MaxDataBytesUnknownEvidence(maxBytes int64, valsCount int) int64 {
// NOTE: changes to the Header should be duplicated in:
// - header.Hash()
// - abci.Header
// - /docs/spec/blockchain/blockchain.md
// - https://github.com/tendermint/spec/spec/blockchain/blockchain.md
type Header struct {
// basic block info
Version version.Consensus `json:"version"`


Loading…
Cancel
Save