Marko
43f3276d6f
change link checker to run daily ( #4601 )
2020-03-25 06:59:52 +00:00
Marko
18d44a0186
blockchain: enable v2 to be set ( #4597 )
...
* blockchain: enable v2 to be set
- enable v2 to be set via config params
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com >
* replace tab with space
* correctly spell usability
2020-03-23 19:12:31 +00:00
Marko
130b16529d
minor link fixing ( #4598 )
2020-03-23 17:51:54 +01:00
Marko
044f1bf288
format: add format cmd & goimport repo ( #4586 )
...
* format: add format cmd & goimport repo
- replaced format command
- added goimports to format command
- ran goimports
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com >
* fix outliers & undo proto file changes
2020-03-23 09:19:26 +01:00
Greg Szabo
d9c34315d2
Docker image port fix ( #4589 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-03-21 13:37:49 +00:00
Marko
a116dca990
deps: run go mod tidy ( #4587 )
...
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com >
2020-03-21 09:57:18 +00:00
dependabot-preview[bot]
a0294fe5b9
build(deps): bump github.com/gorilla/websocket from 1.4.1 to 1.4.2 ( #4584 )
...
Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/gorilla/websocket/releases )
- [Commits](https://github.com/gorilla/websocket/compare/v1.4.1...v1.4.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-20 11:44:30 +00:00
Greg Szabo
c05b2f2384
Dockerfile updated with defaults ( #4577 )
2020-03-17 10:31:55 +00:00
Anton Kaliaev
c917c2ddfb
rpc: fix panic when Subscribe is called ( #4570 )
...
but HTTP client is not running.
`Subscribe`, `Unsubscribe(All)` methods return an error now.
Closes #4568
2020-03-16 22:02:54 +04:00
dependabot-preview[bot]
629dff0f0d
build(deps): bump github.com/prometheus/client_golang ( #4574 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.5.0...v1.5.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-16 12:29:20 +00:00
Marko
fdc2efc083
fix: fix spelling of comment ( #4566 )
...
- :P
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com >
2020-03-13 16:21:09 +00:00
Denis Fadeev
033cac2b75
Update docs website ( #4564 )
...
* update theme
* Update version
* Updated Questions section in the footer
* Remove links to Riot chat
* Typo
* Add Discord link
* Update docs theme to the latest version
* Use docs-staging branch for staging website
* Resolve merge conflicts
* Update version
* Add google analytics
Co-authored-by: Marko <marbar3778@yahoo.com >
2020-03-13 14:34:31 +00:00
Marko
c06341e100
removal: remove build folder ( #4565 )
...
- remove tools/build folder
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com >
2020-03-13 14:20:00 +00:00
dependabot-preview[bot]
ab9cb0e133
build(deps): bump github.com/golang/protobuf from 1.3.4 to 1.3.5 ( #4563 )
...
Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf ) from 1.3.4 to 1.3.5.
- [Release notes](https://github.com/golang/protobuf/releases )
- [Commits](https://github.com/golang/protobuf/compare/v1.3.4...v1.3.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-13 11:48:50 +00:00
Denis Fadeev
53b660ef10
Use docs-staging branch ( #4561 )
...
Co-authored-by: Marko <marbar3778@yahoo.com >
2020-03-12 20:28:37 +00:00
Callum Waters
fdc29ef112
Merge pull request #4560 from tendermint/callum/update-changelog
...
p2p: Update Changelog with ban list PR - #4548
2020-03-12 19:42:25 +01:00
Callum
586d299991
moved to changelog_pending
2020-03-12 18:39:13 +01:00
Callum
c42d530507
update Changelog with PR #4548
2020-03-12 18:03:44 +01:00
Callum Waters
61a9ec11aa
Merge pull request #4548 from tendermint/callum/p2p-blacklist
...
p2p: ban bad peers
2020-03-12 15:52:06 +01:00
Callum Waters
6ae1f3c1f7
Merge branch 'master' into callum/p2p-blacklist
2020-03-12 15:32:02 +01:00
Callum Michael Waters
7e6b1a87da
cannot decrease ban time
2020-03-12 15:29:31 +01:00
Callum Michael Waters
c8bb1cc8b7
made suggested changes
2020-03-12 12:35:28 +01:00
Marko
48f073d796
privval: return error on getpubkey ( #4534 )
...
closes #3602
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com >
2020-03-12 11:10:36 +04:00
Callum Waters
038aff1fdb
lite2: add benchmarking tests ( #4514 )
...
Closes #4392
Refs #4504
2020-03-12 10:57:06 +04:00
Tess Rinearson
864ce4be79
tools/build: delete stale tools ( #4558 )
2020-03-12 10:08:09 +04:00
Marko
4ef506f7ba
deps: bump deps that bot cant ( #4555 )
...
* deps: bump deps that bot cant
- bumping deps that dependat bot does not do.
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com >
* run go mod tidy
* fix go.sum
2020-03-11 18:02:41 +01:00
Callum Waters
52357362e3
Merge branch 'master' into callum/p2p-blacklist
2020-03-11 17:19:51 +01:00
Callum Michael Waters
dbf02200de
lint fix
2020-03-11 17:16:46 +01:00
Callum Michael Waters
5de6ec78e5
added logs for more information
2020-03-11 16:48:06 +01:00
Callum Michael Waters
1e37a1f3e4
added isBanned check in addrbook
2020-03-11 16:43:32 +01:00
Callum Michael Waters
2f2d62efed
banned addresses can't be added again
2020-03-11 16:33:45 +01:00
Callum Michael Waters
65d86bcad1
added banned address error
2020-03-11 16:31:03 +01:00
Callum Michael Waters
60d375eba6
basic test for banning peers
2020-03-11 16:27:49 +01:00
Callum Michael Waters
4110c252af
make banTime an argument and set default in PEX reactor instead of AddrBook
2020-03-11 15:44:22 +01:00
Callum Michael Waters
08ccbdcb43
ban function requires a ban duration as an argument
2020-03-11 15:06:42 +01:00
Callum Michael Waters
429febde80
reconfigure mutexes
2020-03-11 15:00:22 +01:00
dependabot-preview[bot]
cd5a987f6e
build(deps): bump github.com/tendermint/tm-db from 0.4.1 to 0.5.0 ( #4554 )
...
Bumps [github.com/tendermint/tm-db](https://github.com/tendermint/tm-db ) from 0.4.1 to 0.5.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.4.1...v0.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-11 13:29:40 +00:00
dependabot-preview[bot]
8c749dc518
build(deps): bump google.golang.org/grpc from 1.27.1 to 1.28.0 ( #4551 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.27.1 to 1.28.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.27.1...v1.28.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-11 12:25:37 +00:00
Marko
c534291a56
rc1/v0.33.2( #4541 )
...
* rc1/v0.33.2
- release candiadte for 0.33.2
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com >
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com >
2020-03-11 11:57:42 +01:00
Tess Rinearson
31bea92d12
libs/kv: remove unused type KI64Pair ( #4542 )
2020-03-10 21:34:44 +01:00
Callum Michael Waters
eeb0b0d112
lint fix
2020-03-10 19:06:48 +01:00
Callum Michael Waters
e18636ef1f
separate reinstatement of peers from discovery of new peers
2020-03-10 19:04:45 +01:00
Callum Michael Waters
6ccd3324c2
move reinstatement after if statement in pex reactor
2020-03-10 19:01:56 +01:00
Callum Michael Waters
7466f35345
mvp blacklist alg
2020-03-10 18:13:45 +01:00
dependabot-preview[bot]
cb8a2cc67f
build(deps): bump github.com/Workiva/go-datastructures ( #4545 )
...
Bumps [github.com/Workiva/go-datastructures](https://github.com/Workiva/go-datastructures ) from 1.0.51 to 1.0.52.
- [Release notes](https://github.com/Workiva/go-datastructures/releases )
- [Commits](https://github.com/Workiva/go-datastructures/compare/v1.0.51...v1.0.52 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-10 15:29:31 +00:00
Tess Rinearson
73c19bd6ac
CONTRIBUTING: include instructions for installing protobuf
v0.33.1-dev3
2020-03-09 17:52:08 +00:00
Marko
f17717f3a3
adr: crypto encoding for proto ( #4481 )
...
* adr: crypto encoding for proto work
- this adr is meant to help with deciding on how to move forward with keys in tendermint.
* minor change
* fix gomod
* add a third option
* fix spelling
* add first part of descision
* breakdown keys and where they are used
* add some wording
* minor wording fix
* question
* change proto messages
* minor update
* undo go.mod changes
* add a few things based on comemnts
* push, push it real good
* minor explanation on interface type
* touch up
2020-03-09 08:44:37 +00:00
Callum Waters
b6f0aa3a88
lite2: replace primary when providing invalid header ( #4523 )
...
Closes : #4420
Created a new error ErrInvalidHeaderwhich can be formed during the verification process verifier.go and will result in the replacement of the primary provider with a witness by executing: replacePrimaryProvider()
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com >
2020-03-06 23:05:20 +04:00
Anton Kaliaev
bc89aad162
rpc: create buffered subscriptions on /subscribe ( #4521 )
...
Closes #3935
2020-03-06 17:23:44 +04:00
Anton Kaliaev
d3f965ba68
lite2: indicate success/failure of Update ( #4536 )
...
error itself is not enough since it only signals if there were any
errors. Either (types.SignedHeader) or (success bool) is needed to
indicate the status of the operation. Returning a header is optimal
since most of the clients will want to get a newly verified header
anyway.
2020-03-06 17:10:28 +04:00