dependabot-preview[bot]
9edf17a85c
build(deps): bump github.com/tendermint/tm-db from 0.5.0 to 0.5.1 ( #4613 )
...
Bumps [github.com/tendermint/tm-db](https://github.com/tendermint/tm-db ) from 0.5.0 to 0.5.1.
- [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.5.0...v0.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-30 14:05:42 +00:00
dependabot-preview[bot]
94f5321fa3
build(deps): bump github.com/spf13/cobra from 0.0.6 to 0.0.7 ( #4612 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 0.0.6 to 0.0.7.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v0.0.6...0.0.7 )
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-30 13:49:29 +00:00
Tess Rinearson
ccf53a2276
all: name reactors when they are initialized ( #4608 )
...
Previously, many reactors were initialized with the name "Reactor," which made it difficult to log which reactor was doing what. This changes those reactors' names to something more descriptive.
2020-03-27 18:30:42 +01:00
Marko
7164c67205
docs: validator setup & Key info ( #4604 )
...
- defined what variables needed to be changed in the `config.toml` in order to run a validator.
- Briefly explained how a sentry node archtecture should look
- add section explaing importance of key secruity
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com >
2020-03-27 16:17:23 +00:00
Callum Waters
53aa1ceba5
create style guide and update contributors section ( #4576 )
2020-03-27 16:26:39 +01:00
Marko
b14c0e579e
tools: remove need to install buf ( #4605 )
...
* tools: remove need to install buf
- using buf docker image instead of needing devs to install it
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com >
* fix ci for lint and break checking
2020-03-27 06:47:39 +01:00
Callum Waters
a25faed5f0
lite2: cache headers in bisection ( #4562 )
...
Closes : #4546
The algorithm uses an array to store the headers and validators and populates it at every bisection (which is an unsuccessful verification). When a successful verification finally occurs it updates the new trusted header, trims that header from the cache (the array) and sets the depth pointer back to 0. Instead of retrieving new headers it will use the cached headers, incrementing in depth until it reaches the end of the cache which by then it will start to retrieve new headers from the provider.
Mathematically, this method doesn't properly bisect after the first round but it will always choose a pivot header that is within 1/8th of the upper header's height. I.e. if we are trying to jump 128 headers, the maximum offset from bisection height (64) is 64 + 16(128/8) = 80, therefore a better heuristic would be to obtain the new pivot header height as the middle of these two numbers which would therefore mean to multiply it by 9/16ths instead of 1/2 (sorry this might be a bit more complicated in writing but I can try better explain if someone is interested). Therefore I would also, upon consensus, propose that we change the pivot height to 9/16th's of the previous height
2020-03-26 12:38:02 +01:00
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