Browse Source

blockchain: rename to core (#123)

pull/7804/head
Marko 4 years ago
committed by GitHub
parent
commit
8ff136c716
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 23 additions and 17 deletions
  1. +2
    -0
      rfc/README.md
  2. +3
    -3
      spec/README.md
  3. +1
    -1
      spec/abci/README.md
  4. +1
    -1
      spec/abci/abci.md
  5. +2
    -2
      spec/abci/client-server.md
  6. +0
    -5
      spec/blockchain/readme.md
  7. +2
    -2
      spec/consensus/consensus.md
  8. +1
    -3
      spec/core/data_structures.md
  9. +0
    -0
      spec/core/encoding.md
  10. +11
    -0
      spec/core/readme.md
  11. +0
    -0
      spec/core/state.md

+ 2
- 0
rfc/README.md View File

@ -21,3 +21,5 @@ If recorded decisions turned out to be lacking, convene a discussion, record the
Some RFC's will be presented at a Tendermint Dev Session. If you are an outside contributor and have submitted a RFC, you may be invited to present your RFC at one of these calls.
## Table of Contents
[001-block-retention](./001-block-retention.md)

+ 3
- 3
spec/README.md View File

@ -22,9 +22,9 @@ please submit them to our [bug bounty](https://tendermint.com/security)!
### Data Structures
- [Encoding and Digests](./blockchain/encoding.md)
- [Blockchain](./blockchain/blockchain.md)
- [State](./blockchain/state.md)
- [Encoding and Digests](./core/encoding.md)
- [Blockchain](./core/data_structures.md)
- [State](./core/state.md)
### Consensus Protocol


+ 1
- 1
spec/abci/README.md View File

@ -10,7 +10,7 @@ _methods_, where each method has a corresponding `Request` and `Response`
message type. Tendermint calls the ABCI methods on the ABCI application by sending the `Request*`
messages and receiving the `Response*` messages in return.
All message types are defined in a [protobuf file](https://github.com/tendermint/tendermint/blob/master/proto/abci/types.proto).
All message types are defined in a [protobuf file](https://github.com/tendermint/tendermint/blob/master/proto/tendermint/abci/types.proto).
This allows Tendermint to run applications written in any programming language.
This specification is split as follows:


+ 1
- 1
spec/abci/abci.md View File

@ -3,7 +3,7 @@
## Overview
The ABCI message types are defined in a [protobuf
file](https://github.com/tendermint/tendermint/blob/master/proto/abci/types.proto).
file](https://github.com/tendermint/tendermint/blob/master/proto/tendermint/abci/types.proto).
ABCI methods are split across four separate ABCI _connections_:


+ 2
- 2
spec/abci/client-server.md View File

@ -9,7 +9,7 @@ Applications](./apps.md).
## Message Protocol
The message protocol consists of pairs of requests and responses defined in the
[protobuf file](https://github.com/tendermint/tendermint/blob/master/proto/abci/types.proto).
[protobuf file](https://github.com/tendermint/tendermint/blob/master/proto/tendermint/abci/types.proto).
Some messages have no fields, while others may include byte-arrays, strings, integers,
or custom protobuf types.
@ -49,7 +49,7 @@ If GRPC is available in your language, this is the easiest approach,
though it will have significant performance overhead.
To get started with GRPC, copy in the [protobuf
file](https://github.com/tendermint/tendermint/blob/master/proto/abci/types.proto)
file](https://github.com/tendermint/tendermint/blob/master/proto/tendermint/abci/types.proto)
and compile it using the GRPC plugin for your language. For instance,
for golang, the command is `protoc --go_out=plugins=grpc:. types.proto`.
See the [grpc documentation for more details](http://www.grpc.io/docs/).


+ 0
- 5
spec/blockchain/readme.md View File

@ -1,5 +0,0 @@
---
cards: true
---
# Blockchain

+ 2
- 2
spec/consensus/consensus.md View File

@ -17,7 +17,7 @@
vote](https://godoc.org/github.com/tendermint/tendermint/types#FirstPrecommit)
for something.
- A vote _at_ `(H,R)` is a vote signed with the bytes for `H` and `R`
included in its [sign-bytes](../blockchain/blockchain.md#vote).
included in its [sign-bytes](../core/data_structures.md#vote).
- _+2/3_ is short for "more than 2/3"
- _1/3+_ is short for "1/3 or more"
- A set of +2/3 of prevotes for a particular block or `<nil>` at
@ -251,7 +251,7 @@ commit-set) are each justified in the JSet with no duplicitous vote
signatures (by the committers).
- **Lemma**: When a fork is detected by the existence of two
conflicting [commits](../blockchain/blockchain.md#commit), the
conflicting [commits](../core/data_structures.md#commit), the
union of the JSets for both commits (if they can be compiled) must
include double-signing by at least 1/3+ of the validator set.
**Proof**: The commit cannot be at the same round, because that


spec/blockchain/blockchain.md → spec/core/data_structures.md View File


spec/blockchain/encoding.md → spec/core/encoding.md View File


+ 11
- 0
spec/core/readme.md View File

@ -0,0 +1,11 @@
---
cards: true
---
# Core
This section describes the core types and functionality of the Tendermint protocol implementation.
[Core Data Structures](./data_structures.md)
[Encoding](./encoding.md)
[State](./state.md)

spec/blockchain/state.md → spec/core/state.md View File


Loading…
Cancel
Save