Alexander Simmerl
0f2d97dffe
Merge pull request #1742 from Liamsi/proto_files
...
Add Proto files for types.Header (incl. BlockId, Time, PartsSetHeader)
2018-07-20 17:43:25 +02:00
Alexander Simmerl
ed8714e40c
Merge pull request #1965 from tendermint/693-part-2
...
make Block Header and Data non-pointers
2018-07-20 17:42:42 +02:00
Alexander Simmerl
6017d817e5
Merge pull request #2008 from tendermint/1772-rwmutex-cs
...
use RWMutex for consensus state
2018-07-20 17:24:55 +02:00
Alexander Simmerl
63835c0360
Merge pull request #2009 from tendermint/1772-call-validators-with-timeout
...
make `/status` RPC endpoint resistant to consensus halt
2018-07-20 17:22:16 +02:00
Alexander Simmerl
c82c60df11
rpc: Test Validator retrevial timeout
2018-07-20 17:08:55 +02:00
Anton Kaliaev
0fbb465b8f
add protoc_all and protoc_grpc to .PHONY
2018-07-20 01:27:41 +04:00
Anton Kaliaev
2e75214316
update gogo to 1.1.1 and other misc. updates
...
Refs #1883
2018-07-20 01:27:41 +04:00
Anton Kaliaev
5be456e5b1
update grpc version to 1.13.0
...
Refs #1883
2018-07-20 01:27:41 +04:00
Anton Kaliaev
1bd5476854
make /status RPC endpoint resistant to consensus halt
...
Refs #1772
2018-07-19 11:26:50 +04:00
Anton Kaliaev
5037dd40c5
use RWMutex for consensus state
...
allows multiple RPC requests to query consensus state
Refs #1772
2018-07-19 10:49:12 +04:00
Liamsi
96818af9d5
fix protos to make all tests pass, document differences
2018-07-18 19:06:38 +02:00
Liamsi
a81ca93139
update to new (timestamp & empty structs) encoding in amino
...
- timestamps no longer have fixed length encoding
-
2018-07-18 16:37:15 +02:00
Liamsi
2744682e77
update to latest amino (pre) release v0.11.1
...
- also reformat code and order imports
2018-07-18 15:53:53 +02:00
Liamsi
d665c79cc9
WIP: more empty struct examples
2018-07-18 15:18:10 +02:00
Liamsi
3c38a25bbb
add empty struct examples
2018-07-18 15:17:51 +02:00
Liamsi
0cd82fa166
add empty struct examples
2018-07-18 15:14:41 +02:00
Liamsi
99fa7f8132
everything works with https://github.com/tendermint/go-amino/pull/178
2018-07-18 15:14:41 +02:00
Liamsi
82104c9329
almost
2018-07-18 15:14:41 +02:00
Zach
40342bfa4a
Update DOCS_README.md ( #1985 )
2018-07-18 13:32:17 +04:00
Anton Kaliaev
912fe477a4
Merge pull request #1987 from silasdavis/static-marshaler
...
Generate static marshalling methods for ABCI types to make compatible with downstream GRPC usage
2018-07-18 13:26:44 +04:00
Anton Kaliaev
b31ee798bd
preserve original address and dial it instead of self-reported address ( #1994 )
...
Refs #1720
2018-07-18 13:23:29 +04:00
Jeremiah Andrews
6c4ca140ed
Add private peer ID tracking to AddrBook ( #1989 )
...
* Add private peer ID tracking to AddrBook
* Remove private peer tracking/blocking from pex
* debug level msg when we fail to add private address
2018-07-18 13:22:09 +04:00
needkane
449846ccb2
NodeInfo version check: delete redundant code
2018-07-18 13:12:52 +04:00
Dev Ojha
3353bb99ae
tools: Remove redundant grep -v vendors/ ( #1996 )
...
* tools: Remove redundant grep -v vendors/
This was used in conjunction with `go list <path>`, however `go list`
already ignores the vendor directory. This made this `grep -v` redundant.
* Missed an apostrophe
2018-07-17 21:33:00 +04:00
Silas Davis
b7e5cbeb3b
Remove pb.go files from codecov
...
Signed-off-by: Silas Davis <silas@monax.io >
2018-07-17 17:42:30 +01:00
Silas Davis
21b900dceb
Add gogo generated tests for pb.go files
...
Signed-off-by: Silas Davis <silas@monax.io >
2018-07-17 14:56:11 +01:00
Silas Davis
c9f92f465b
Use pattern rule for protoc building and \\nolint in generated pb.go files
...
Signed-off-by: Silas Davis <silas@monax.io >
2018-07-17 14:20:49 +01:00
Silas Davis
398f3779cc
Add gogoproto marshallers to proto files in order to make use of
...
gogoproto.nullable compatible with GRPC downstream of ABCI and libs
protbuf types
2018-07-17 11:51:38 +01:00
Zach
257622cf6b
update rpc/core/doc.go
...
Closes #1932 (#1986 )
2018-07-17 10:52:49 +04:00
Max Levy
07ad325b1a
A link fixed ( #1991 )
...
To address the relocation of terraform-and-ansible.md under networks/, as per https://github.com/tendermint/tendermint/commit/e54c0f804faa3d4a6c0c1ada0288c07d2a49ce50#diff-95ac35ad12aa33ed70e9ff5db2229771
2018-07-17 10:49:38 +04:00
Max Levy
76f5e92528
Fixed a link ( #1992 )
...
Broken by #e54c0f8
2018-07-17 10:44:59 +04:00
Dev Ojha
71859f8f3b
common/rand: Remove exponential distribution functions ( #1979 )
...
We were computing these functions incorrectly.
I'm not sure what distribution these numbers are, but it isn't the
normal exponential distribution. (We're making the probability of
getting a number of a particular bitlength equal, but the number in
that bitlength thats gets chosen is uniformly chosen)
We weren't using these functions anywhere in our codebase, and they
had a nomenclature error. (There aren't exponentially distributed
integers, instead they would be geometrically distributed)
2018-07-16 11:38:04 +04:00
ValarDragon
a3df06d081
libs/common/rand: Update godocs
...
The godocs fell out of sync with the code here. Additionally we had
warning that these randomness functions weren't for cryptographic
use on every function. However these warnings are confusing, since
there was no implication that they would be secure there, and a
single warning on the actual Rand type would suffice. (This is what
is done in golang's math/rand godoc)
Additionally we indicated that rand.Bytes() was reading OS randomness
but in fact that had been changed.
2018-07-16 11:38:04 +04:00
Dev Ojha
dae7dc30e0
Switch usage of math/rand to cmn's rand ( #1980 )
...
This commit switches all usage of math/rand to cmn's rand. The only
exceptions are within the random file itself, the tools package, and the
crypto package. In tools you don't want it to lock between the go-routines.
The crypto package doesn't use it so the crypto package have no other
dependencies within tendermint/tendermint for easier portability.
Crypto/rand usage is unadjusted.
Closes #1343
2018-07-16 11:20:37 +04:00
Dev Ojha
14cebd181d
config: 10x default send/recv rate ( #1978 )
...
* config: 10x default send/recv rate
This increases the default send/recv rate from 512 kB/s to 5.12 mB/s
Closes #1752
* Fix typo
2018-07-16 11:17:27 +04:00
Ethan Buchman
522a425708
Merge pull request #1975 from tendermint/bucky/1951-fix-protoc-libs
...
makefile: fix protoc_libs
2018-07-15 13:19:00 +01:00
Ethan Buchman
0fbcbb3aeb
makefile: fix protoc_libs
2018-07-14 18:33:18 +01:00
Ethan Buchman
8a5930ad72
Merge pull request #1974 from tendermint/master
...
Merge master back to develop
2018-07-14 15:13:52 +01:00
Ethan Buchman
c64a3c74c8
Merge pull request #1972 from tendermint/release/v0.22.4
...
Release/v0.22.4
v0.22.4
2018-07-14 14:55:12 +01:00
Ethan Buchman
722f8a1b6f
Merge pull request #1973 from tendermint/bucky/fix-pubsub-stop
...
fix stopping pubsub
2018-07-14 14:47:20 +01:00
Ethan Buchman
d903057011
fix stopping pubsub
2018-07-14 14:50:56 +01:00
Ethan Buchman
74106c8bea
update changelog
2018-07-14 14:05:50 +01:00
Ethan Buchman
94006855d1
changelog and version
v0.22.4-rc0
2018-07-14 13:29:54 +01:00
Ethan Buchman
a963af4c46
Merge pull request #1968 from tendermint/dev/tmbench_refactor_statistics
...
tools/tmbench: Move statistics to a seperate file
2018-07-14 13:14:00 +01:00
Ethan Buchman
a1400aee73
Merge pull request #1964 from tendermint/dev/tmbench_improve_sendloop_efficiency
...
tools/tmbench: Improve accuracy with large tx sizes.
2018-07-14 13:12:33 +01:00
Ethan Buchman
789666ef78
Merge pull request #1936 from tendermint/693-ensure-types-are-covered
...
Ensure all funcs in types pkg are well guarded (Part 1)
2018-07-14 13:02:56 +01:00
Ethan Buchman
c66e1514de
Merge branch 'develop' into 693-ensure-types-are-covered
2018-07-14 13:02:42 +01:00
Ethan Buchman
a163f08e4e
Merge pull request #1970 from tendermint/bucky/consensus-stop-wait
...
consensus: wait on stop if not fastsync
2018-07-14 12:50:15 +01:00
Ethan Buchman
9b0b0b02d0
consensus: wait on stop if not fastsync
2018-07-14 12:53:54 +01:00
Ethan Buchman
5439da6323
Merge pull request #1971 from tendermint/master
...
Merge master back to develop
2018-07-14 12:48:54 +01:00