Go to file
Dev Ojha 6e3c5e8033 p2p/pex: Allow configured seed nodes to not be resolvable over DNS (#2129)
* p2p/pex: Allow configured seed nodes to be offline

Previously you couldn't startup tendermint if a seed node was offline.
This now allows you to startup tendermint, as long as all seed node addresses
are formatted correctly. In the event that all seed nodes are down,
and the address book is empty, then it crashes with an informative error msg.
(This case doesn't occur if no seeds were specified)

Closes #1716

* (Squash this) Address melekes' comments

* (squash this) fix package imports

* (squash this) fix pex_reactor comment

* (squash this) add a test case
2018-08-04 20:35:08 -04:00
.circleci ci: Reduce log output in test_cover (#2105) 2018-07-30 01:05:27 +02:00
.github update github bug report template (#2131) 2018-08-03 11:39:57 +04:00
DOCKER move abci Dockerfile (still needs to be updated tho) 2018-07-04 14:19:33 -04:00
abci abci: Update readme for building protoc (#2124) 2018-08-01 13:57:31 +04:00
benchmarks crypto: Remove Ed25519 and Secp256k1 suffix on GenPrivKey 2018-07-20 10:44:21 -07:00
blockchain Removed unnecessary onStart call (#2098) 2018-07-29 09:46:53 +04:00
cmd crypto: Remove Ed25519 and Secp256k1 suffix on GenPrivKey 2018-07-20 10:44:21 -07:00
config crypto: Refactor to move files out of the top level directory 2018-07-18 08:38:44 -07:00
consensus stop gracefully instead of trying to resume ops 2018-08-03 11:24:55 +04:00
crypto crypto: Switch hkdfchacha back to xchacha (#2058) 2018-07-25 23:12:39 +02:00
docs Merge pull request #2096 from tendermint/dev/adr_symmetric 2018-08-04 20:27:24 -04:00
evidence Removed unnecessary onStart call (#2098) 2018-07-29 09:46:53 +04:00
libs [libs/autofile] create a Group ticker on Start 2018-08-03 11:34:58 +04:00
lite Fix 0.22.7, bump to 0.22.8 2018-07-26 18:08:09 -07:00
mempool proto3 timestamp (#2064) 2018-07-27 04:23:19 +02:00
networks update some docs 2018-07-02 14:20:27 -04:00
node do not overwrite metrics provider in node#NewNode 2018-07-24 16:01:11 +04:00
p2p p2p/pex: Allow configured seed nodes to not be resolvable over DNS (#2129) 2018-08-04 20:35:08 -04:00
privval libs/cmn: Remove Tempfile, Tempdir, switch to ioutil variants (#2114) 2018-07-31 19:43:36 +02:00
proxy proto3 timestamp (#2064) 2018-07-27 04:23:19 +02:00
rpc revert "make `/status` RPC endpoint resistant to consensus halt" 2018-07-28 09:17:42 +04:00
scripts crypto: Refactor to move files out of the top level directory 2018-07-18 08:38:44 -07:00
state abci: Change validators to last_commit_info in RequestBeginBlock (#2074) 2018-07-30 17:29:40 +02:00
test makefile: Add `make check_dep` and remove `make ensure_deps` (#2055) 2018-07-25 18:09:52 +02:00
tools tools: clean up Makefile and remove LICENSE file (#2042) 2018-07-24 16:02:32 +02:00
types abci: Change validators to last_commit_info in RequestBeginBlock (#2074) 2018-07-30 17:29:40 +02:00
version Fix 0.22.7, bump to 0.22.8 2018-07-26 18:08:09 -07:00
.editorconfig merge 2 rules in .editorconfig 2017-12-04 15:01:28 -06:00
.gitignore rpc: Improve slate for Jenkins (#2070) 2018-07-25 23:37:08 +02:00
CHANGELOG.md Merge pull request #2085 from tendermint/master 2018-07-27 04:21:34 +02:00
CHANGELOG_PENDING.md p2p/pex: Allow configured seed nodes to not be resolvable over DNS (#2129) 2018-08-04 20:35:08 -04:00
CODE_OF_CONDUCT.md Add Code of Conduct 2017-06-19 15:46:15 +02:00
CONTRIBUTING.md contributing guide typos (#1831) 2018-06-29 11:09:16 +04:00
Gopkg.lock update genproto 2018-08-02 17:54:55 +04:00
Gopkg.toml update genproto 2018-08-02 17:54:55 +04:00
LICENSE GPLv3 -> Apache2.0 2016-07-18 11:51:37 -04:00
Makefile proto3 timestamp (#2064) 2018-07-27 04:23:19 +02:00
README.md Link to "The latest gossip on BFT consensus" (#2102) 2018-07-29 09:49:42 +04:00
ROADMAP.md version bump. add roadmap back. minor fixes 2018-05-15 22:42:29 -04:00
SECURITY.md security.md 2018-05-20 00:33:37 -04:00
Vagrantfile update Vagrantfile 2018-05-17 10:43:38 +04:00
appveyor.yml appveyor: use make 2017-12-10 20:07:44 -05:00
codecov.yml Remove pb.go files from codecov 2018-07-17 17:42:30 +01:00
docker-compose.yml Switch ports 466xx to 266xx (#1735) 2018-06-12 13:25:52 +04:00

README.md

Tendermint

Byzantine-Fault Tolerant State Machine Replication. Or Blockchain for short.

version API Reference Go version riot.im license

Branch Tests Coverage
master CircleCI codecov
develop CircleCI codecov

Tendermint Core is Byzantine Fault Tolerant (BFT) middleware that takes a state transition machine - written in any programming language - and securely replicates it on many machines.

For protocol details, see the specification. For a consensus proof and detailed protocol analysis checkout our recent paper, "The latest gossip on BFT consensus".

A Note on Production Readiness

While Tendermint is being used in production in private, permissioned environments, we are still working actively to harden and audit it in preparation for use in public blockchains, such as the Cosmos Network. We are also still making breaking changes to the protocol and the APIs. Thus we tag the releases as alpha software.

In any case, if you intend to run Tendermint in production, please contact us :)

Security

To report a security vulnerability, see our bug bounty program.

For examples of the kinds of bugs we're looking for, see SECURITY.md

Minimum requirements

Requirement Notes
Go version Go1.9 or higher

Install

See the install instructions

Quick Start

Resources

Tendermint Core

For details about the blockchain data structures and the p2p protocols, see the the Tendermint specification.

For details on using the software, Read The Docs. Additional information about some - and eventually all - of the sub-projects below, can be found at Read The Docs.

Sub-projects

  • Amino, a reflection-based improvement on proto3
  • IAVL, Merkleized IAVL+ Tree implementation

Tools

Applications

More

Contributing

Yay open source! Please see our contributing guidelines.

Versioning

SemVer

Tendermint uses SemVer to determine when and how the version changes. According to SemVer, anything in the public API can change at any time before version 1.0.0

To provide some stability to Tendermint users in these 0.X.X days, the MINOR version is used to signal breaking changes across a subset of the total public API. This subset includes all interfaces exposed to other processes (cli, rpc, p2p, etc.), but does not include the in-process Go APIs.

That said, breaking changes in the following packages will be documented in the CHANGELOG even if they don't lead to MINOR version bumps:

  • types
  • rpc/client
  • config
  • node

Exported objects in these packages that are not covered by the versioning scheme are explicitly marked by // UNSTABLE in their go doc comment and may change at any time without notice. Functions, types, and values in any other package may also change at any time.

Upgrades

In an effort to avoid accumulating technical debt prior to 1.0.0, we do not guarantee that breaking changes (ie. bumps in the MINOR version) will work with existing tendermint blockchains. In these cases you will have to start a new blockchain, or write something custom to get the old data into the new chain.

However, any bump in the PATCH version should be compatible with existing histories (if not please open an issue).

Code of Conduct

Please read, understand and adhere to our code of conduct.