Commit Graph

7501 Commits

Author SHA1 Message Date
Denis Fadeev
b1a920c8c2 animated sidebar and nested directories (#4063) 2019-10-16 17:26:06 +02:00
Erik Grinaker
ea3dc6d742 Include peer ID when logging rejected txns (#4057)
* Include sender when logging rejected txns

* Log as peerID to be consistent with other log messages

* Updated CHANGELOG_PENDING

* Handle nil source

* Updated PR link in CHANGELOG_PENDING

* Renamed TxInfo.SenderAddress and peerAddress til PeerFullID

* Renamed PeerFullID to PeerP2PID

* Forgot to rename a couple of references
2019-10-16 10:40:45 +02:00
Marko
f58741be62 testing ci (#4061)
* testing ci

* remove version
2019-10-15 12:18:39 +02:00
dependabot-preview[bot]
892bc4281d build(deps): bump github.com/gogo/protobuf from 1.3.0 to 1.3.1 (#4055)
Bumps [github.com/gogo/protobuf](https://github.com/gogo/protobuf) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/gogo/protobuf/releases)
- [Commits](https://github.com/gogo/protobuf/compare/v1.3.0...v1.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-14 22:59:54 +02:00
Sean Braithwaite
67cdd008cd Blockchain v2 processor (#4012)
* Add processor prototype

* Change processor API

    + expose a simple `handle` function which mutates internal state

* processor tests

* fix gofmt and ohter golangci issues

* scopelint var on range scope

* add check for short block received

* fix formatting

* small test reorg

* ignore unused for now

* ci fix changes

* go.mod revert
2019-10-14 19:06:11 +02:00
Marko
7edc0601d5 New lint version upgrade (#4056)
* New lint version upgrade

- linter was upgraded

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>

* enable-a;; is deprecated

* minor change

* another try

* some more changes

* some more changes

* reenable prealloc

* add version till bot is fixed
2019-10-14 17:40:15 +02:00
Denis Fadeev
aaa060fda4 Docs theme (#4042)
* docs theme

* vuepress-theme-cosmos

* version bump

* changes to docs

* more code changes

* sidebar order fix

* moar changes

* fixed dev sessions title

* fixed dev sessions title, again

* specs should show up in sidebar

* contents cards

* version bump

* sidebar, rpc

* version bump

* custom footer and super naive search

* version

* minor change to vuepress

* move swagger file

* pre and post scripts

* build

* changed docs build process

* added deployment config

* updated versions file and added deployment filters
2019-10-11 18:07:58 +02:00
Marko
3e5fa20f4c docs: add ABCI Overview (2/2) dev session (#4044)
*  add upcoming dev session

* add link
2019-10-10 14:40:44 -05:00
Anton Kaliaev
f2b7cecb79 Merge pull request #4050 from tendermint/anton/v0326-and-v03110
merge v0.32.6 and v0.31.10 back to master
2019-10-10 12:31:41 -05:00
Anton Kaliaev
7ac8443cc0 add v0.31.10 changelog entry 2019-10-10 12:08:20 -05:00
Anton Kaliaev
10e41b40c0 set the date to today 2019-10-10 12:08:12 -05:00
Anton Kaliaev
143b2b85c3 update changelog and bump version to v0.32.6 2019-10-10 12:08:02 -05:00
Anton Kaliaev
fb65d065ae p2p: only allow ed25519 pubkeys when connecting
also, recover from any possible failures in acceptPeers

Refs #4030
2019-10-10 12:07:46 -05:00
Marko
04b8bfaec2 stale bot (#4049)
* Add stale bot

- added stale bot to only pull requests for now

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>

* change code owner from xla to tess
2019-10-10 09:43:20 -05:00
Alexander Bezobchuk
9ad9c5a786 Update indexing-transactions.md (#4045)
* Update indexing-transactions.md

* Toml instead of Yaml
2019-10-08 16:08:59 +02:00
Marko
a13a4b8c77 remove traces of github.com/tendermint/abci (#4038)
*  Remove traces oaf `github.com/tendermint/abci`

- removed abci dockerfile as it was still referencing `github.com/tendermint/abci`

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>

* nor change to install of abci

* use abci-cli instead of tendermint node

* remove traces of Dockerfile.develop

also use latest Go in Dockerfile.testing

* update docker readme

* remove wrapping because it will look awful on docker hub
2019-10-07 10:34:24 -05:00
Marko
38359f407e docs: add previous dev sessions (#4040)
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
2019-10-07 09:55:09 -05:00
Marko
acea49e4ae Cleanup docs (#4037)
* Quick clean up of docs

- removed a few files that have been deprecated and/or relocated

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>

* cleanup  a few docs
2019-10-07 14:26:06 +02:00
Anton Kaliaev
e024805354 docs: any path can be absolute or relative (#4035)
Fixes #4026
2019-10-02 12:23:32 -07:00
Anton Kaliaev
b225e0e87e changelog: add v0.31.9 and v0.31.8 updates (#4034)
also replace TODO placeholder with the actual issue in v0.32.5
2019-10-02 11:46:50 -07:00
Anton Kaliaev
004ff3ac38 Merge pull request #4032 from tendermint/v0.32.5-backport
V0.32.5 backport
2019-10-02 11:11:13 -07:00
Anton Kaliaev
9dc1ca1537 update changelog 2019-10-02 11:01:15 -07:00
Zaki Manian
ba547cb780 Update CHANGELOG.md
Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com>
2019-10-02 11:01:06 -07:00
Zaki Manian
4c11bab23f Changelog update 2019-10-02 11:00:57 -07:00
Zaki Manian
1af0e83931 update version.go 2019-10-02 11:00:47 -07:00
Zaki Manian
8c9bf1dade Update p2p/conn/secret_connection.go
Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com>
2019-10-01 23:00:35 -07:00
Zaki Manian
ebfaf30705 Fix for panic in signature verification if a peer sends a nil public key. 2019-10-01 23:00:35 -07:00
Marko
797a3f6c16 Add Dogsled to linting (#4025)
* add dogsled

* add back comments
2019-09-30 23:31:51 -07:00
Phil Salant
05075ea5b7 linters: modify code to pass maligned and interfacer (#3959)
* Fix maligned structs

* Fix interfacer errors

* Revert accidental go.mod and go.sum changes

* Revert P2PConfig struct maligned reorder

* Revert PeerRoundState struct maligned reordering

* Revert RoundState struct maligned reordering

* Reorder WSClient struct

* Revert accidental type change

* Clean up type change

* Clean up type changes

* Revert to types.ABCIApplicationServer in GRPCServer struct

* Revert maligned changes to BaseConfig struct

* Fix tests in io_test.go

* Fix client_test package tests

* Fix reactor tests in consensus package

* Fix new interfacer errors
2019-09-30 17:12:51 -07:00
Marko
68f8fba7c2 .golangci: disable new linters (#4024)
* Add Version to golangci

- added version to golangci because of recent update

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>

* remove unused for 1.17

* disable new linters
2019-09-30 13:46:55 -07:00
Erik Grinaker
ac099aa272 Improved tm-monitor formatting (#4023)
* tm-monitor: tweaked formatting of start time and avg tx throughput.

* tm-monitor: update health when validator number is updated.

* Updated CHANGELOG_PENDING

* Added PR number to CHANGELOG_PENDING.

Improves `tm-monitor` formatting of start time (RFC1123 without unnecessary precision) and avg tx throughput (three decimal places). The old tx throughput display was confusing during local testing where the tx rate is low and displayed as 0.

Also updates the monitor health whenever the validator number changes. It otherwise starts with moderate health and fails to update this once it discovers the validators, leading to incorrect health reporting and invalid uptime statistics. Let me know if you would like me to submit this as a separate PR.

### Before:

```
2019-09-29 20:40:00.992834 +0200 CEST m=+0.024057059 up -92030989600.42%

Height: 2518
Avg block time: 1275.496 ms
Avg tx throughput: 0 per sec
Avg block latency: 2.464 ms
Active nodes: 4/4 (health: moderate) Validators: 4

NAME                HEIGHT     BLOCK LATENCY     ONLINE     VALIDATOR     
localhost:26657     2518       0.935 ms          true       true          
localhost:26660     2518       0.710 ms          true       true          
localhost:26662     2518       0.708 ms          true       true          
localhost:26664     2518       0.717 ms          true       true          
```

### After:

```
Sun, 29 Sep 2019 20:21:59 +0200 up 100.00%

Height: 2480
Avg block time: 1361.445 ms
Avg tx throughput: 0.735 per sec
Avg block latency: 4.232 ms
Active nodes: 4/4 (health: full) Validators: 4

NAME                HEIGHT     BLOCK LATENCY     ONLINE     VALIDATOR     
localhost:26657     2480       1.174 ms          true       true          
localhost:26660     2480       1.037 ms          true       true          
localhost:26662     2480       0.981 ms          true       true          
localhost:26664     2480       0.995 ms          true       true          
```
2019-09-29 22:30:30 -07:00
Marko
cb1a0a7333 docs: remove traces of develop branch (#4022)
* Develop -> Master

- Some places still had develop instead of master.

closes #4107

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>

* add one more
2019-09-27 15:16:19 -07:00
Ethan Buchman
b065b8a0c5 ADR 045 - ABCI Evidence (#4010)
* ADR 045: ABCI Evidnce Handling

* add link to abci evidence defn

* remove debug line
2019-09-26 23:42:22 -07:00
dependabot-preview[bot]
a81aa14b06 deps: bump google.golang.org/grpc from 1.23.1 to 1.24.0 (#4021)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.23.1 to 1.24.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.23.1...v1.24.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-26 17:58:30 -07:00
Anton Kaliaev
134fe28962 remove benchmarks folder (#3999)
Afaik, nobody is using it. I've never used it myself.

1) atomic, os.Write, map, codec benchmarks all seem temporary and to be
of no use in the future.
2) syncing benchmark may be useful, but we're trying to move away from
Bash. Also, the blocks are empty there.
2019-09-24 10:07:34 -07:00
Ethan Buchman
51dc810d04 Merge pull request #4009 from tendermint/release/v0.32.4
Release/v0.32.4
2019-09-21 11:12:17 -04:00
Marko
0d13736ace address pr comments in #4002 (#4004) 2019-09-19 12:24:17 -04:00
Marko
bf989eb272 fix linting (#4000) 2019-09-19 09:31:28 -04:00
Marko Baricevic
b3b30a5e70 Merge branch 'master' into rc1-v0.32.4 2019-09-19 14:11:06 +02:00
dependabot-preview[bot]
8fbc62563e build(deps): bump github.com/tendermint/tm-db from 0.1.1 to 0.2.0 (#4001)
Bumps [github.com/tendermint/tm-db](https://github.com/tendermint/tm-db) from 0.1.1 to 0.2.0.
- [Release notes](https://github.com/tendermint/tm-db/releases)
- [Changelog](https://github.com/tendermint/tm-db/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tendermint/tm-db/compare/v0.1.1...v0.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-19 14:09:42 +02:00
Marko Baricevic
049f158465 revert abci change 2019-09-19 14:08:49 +02:00
Marko Baricevic
a5a19add77 bump versions 2019-09-19 11:51:51 +02:00
Marko Baricevic
fce61cc51c pr suggestions 2019-09-19 11:03:39 +02:00
Marko Baricevic
0116c8113b RC1 - 0.32.4
- Release candidate for v0.32.4

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
2019-09-19 10:53:15 +02:00
Anton Kaliaev
4dfbaeb0c4 regenerate protobuf files with newer gogo version (#3998)
protoc 3.7.0
gogo v1.3.0
2019-09-19 11:41:57 +03:00
Sean Braithwaite
abab49089d Merge pull request #3878 from tendermint/brapse/blockchain-v2-riri-routine
[blockchain] v2 Routines
2019-09-18 16:06:56 -04:00
Sean Braithwaite
fc77f8faf3 Merge branch 'brapse/blockchain-v2-riri-routine' of https://github.com/tendermint/tendermint into brapse/blockchain-v2-riri-routine 2019-09-18 16:00:07 -04:00
Sean Braithwaite
2ae7a300b7 merge artifact go build file 2019-09-18 15:59:51 -04:00
Sean Braithwaite
211bd64355 Merge branch 'master' into brapse/blockchain-v2-riri-routine 2019-09-18 15:46:29 -04:00
Sean Braithwaite
0cbf32de97 merge fix 2019-09-18 15:22:24 -04:00