Jeremiah Andrews
43d40ee489
Addressing review comments
2018-08-27 18:42:01 -07:00
Jeremiah Andrews
e5965ababe
Update spec for ordering of Commit struct values
2018-08-20 22:20:18 -07:00
Jeremiah Andrews
f403195f67
Make vote.ValidatorAddress consistent when extracted from commit
2018-08-20 07:55:44 -07:00
Jeremiah Andrews
170364a472
Replace struct literals with constructor calls
2018-08-18 21:39:19 -07:00
Jeremiah Andrews
632ac41d79
Fix minor issues for review
2018-08-18 21:39:19 -07:00
Jeremiah Andrews
0cb37d424f
Add to changelog_pending
2018-08-18 21:39:19 -07:00
Jeremiah Andrews
30250910c8
Add consensus/state test which reconstructs LastCommit
2018-08-18 21:39:19 -07:00
Jeremiah Andrews
3c500b7daf
Add docs changes
2018-08-18 21:38:02 -07:00
Jeremiah Andrews
84bb815583
Filter votes with non-majority2/3 BlockID from Commit
2018-08-18 21:38:02 -07:00
Jeremiah Andrews
cfa602a96c
Add signer with different BlockID to TestMakeCommit
2018-08-18 21:38:02 -07:00
Jeremiah Andrews
e47a8939f9
Change Commit to hold signatures+timestamps instead of votes
2018-08-18 21:38:02 -07:00
Ethan Buchman
debe56326f
Merge pull request #2159 from tendermint/bucky/abci-validators
...
Bucky/abci validators
2018-08-17 11:12:27 -04:00
Ethan Buchman
6dde320591
fixes from review
2018-08-17 10:32:10 -04:00
bradyjoestar
62b2093da5
ABCIAppClient conn close ( #2236 )
...
Refs https://github.com/grpc/grpc-go/issues/2264
2018-08-17 11:59:46 +04:00
Ethan Buchman
76bb4b15c7
rebase fixes
2018-08-16 13:22:04 -04:00
Ethan Buchman
0cbf9b2a7d
update changelog
2018-08-16 13:19:30 -04:00
Ethan Buchman
0701d79046
minor fixes
2018-08-16 13:19:14 -04:00
Ethan Buchman
4f61b97bbe
update dep for proto. fix types/proto3/block.proto
2018-08-16 13:19:14 -04:00
Ethan Buchman
1111c1848d
update abci spec
2018-08-16 13:19:14 -04:00
Ethan Buchman
c919643c3e
abci: move round back from votes to commit
2018-08-16 13:19:14 -04:00
Ethan Buchman
b189ab676f
makefile: lint flags
2018-08-16 13:19:14 -04:00
Ethan Buchman
fe6a504374
revert gogo version used to generate files
2018-08-16 13:19:13 -04:00
Ethan Buchman
91376627ea
update ADR
2018-08-16 13:19:13 -04:00
Ethan Buchman
e3f54ece2f
abci: VoteInfo, ValidatorUpdate. See ADR-018
2018-08-16 13:19:13 -04:00
Ethan Buchman
f26b83f15f
abci: add next_validators_hash to header
2018-08-16 13:19:13 -04:00
Ethan Buchman
1f6c7bf22a
make: update protoc_abci use of awk
2018-08-16 13:19:13 -04:00
Ethan Buchman
d69cf9dd2f
Merge pull request #2231 from tendermint/anton/changelog-2
...
Add a changelog entry & Upgrading guides
2018-08-15 10:19:06 -04:00
Anton Kaliaev
4e78badac9
docs: note max outbound peers excludes persistent
2018-08-15 12:54:20 +04:00
Anton Kaliaev
684e3cb446
add upgrading guides
2018-08-15 12:53:00 +04:00
Anton Kaliaev
a649deb6ee
add a changelog entry
2018-08-15 12:52:43 +04:00
bradyjoestar
5446452b01
pass in NodeKey to NewNode ( #2212 )
...
Fixes #1544
2018-08-15 12:29:45 +04:00
bradyjoestar
ad24d66750
[abci-cli] print out all the sub-commands available ( #2219 )
2018-08-15 12:28:17 +04:00
Anton Kaliaev
eb98f1c3a9
add missing changelog entries ( #2224 )
2018-08-14 19:16:18 -04:00
Dev Ojha
728d2ed266
crypto: Remove unnecessary prefixes from amino route variable names ( #2205 )
...
* crypto: Remove unnecessary ed25519 and secp256k1 prefixes from amino routes.
* (squash this) add changelog
* (squash this) multisig amino fixes
* (squash this) fix build error
2018-08-14 19:13:25 -04:00
Zach
e10666859f
Zach/automated docs ( #2225 )
...
* add docs/config.js for better developer experience
* update docs_readme :)
2018-08-14 18:40:05 -04:00
Anton Kaliaev
6fad8eaf5a
[p2p/pex] connect to more than 10 peers ( #2169 )
...
* [p2p/pex] connect to more than 10 peers
also, remove DefaultMinNumOutboundPeers because a) I am not sure it's
needed b) it's super confusing
look closely
```
maxPeers := sw.config.MaxNumPeers - DefaultMinNumOutboundPeers
if maxPeers <= sw.peers.Size() {
sw.Logger.Info("Ignoring inbound connection: already have enough peers", "address", inConn.RemoteAddr().String(), "numPeers", sw.peers.Size(), "max", maxPeers)
```
we print maxPeers = config.MaxPeers - DefaultMinNumOutboundPeers. So we
may not have enough peers even though we say we have enough.
Refs #2130
* update spec
* replace MaxNumPeers with MaxNumInboundPeers/MaxNumOutboundPeers
Refs #2130
* update changelog
* make max rpc conns formula visible to users
* update spec
* docs: note max outbound peers excludes persistent
2018-08-14 18:25:56 -04:00
Ethan Buchman
db53dc5fd4
Merge pull request #2164 from tendermint/dev/multisig
...
Threshold Multisignature implementation
2018-08-14 16:37:07 -04:00
ValarDragon
2fe34491ba
(squash this) Fix build errors
2018-08-14 11:42:40 -07:00
Anton Kaliaev
80e49abada
send ValidatorSetUpdates event when validator set changes ( #2161 )
...
Refs #1916
2018-08-14 19:16:35 +04:00
b00f
0f931eeb10
types: allow genesis file to have 0 validators ( #2148 )
...
* fixing issue 2015
* Remove comments for code review
* Update tests
2018-08-14 19:02:53 +04:00
Dev Ojha
89668c3179
clist: Speedup functions ( #2208 )
...
* clist: Speedup detachNext() and detachPrev()
We used unnecessary function calls, defers, and extra mutexes.
These are not our friends for writing fast code in our libs.
* Remove more defers from clist functions
* Add more benchmarks
2018-08-14 19:00:21 +04:00
Dev Ojha
d0dcb1cde1
cmap: Remove defers ( #2210 )
...
All functions in cmap have just one code path. Thus there is not a reason
to use defer statements.
2018-08-14 18:59:04 +04:00
bradyjoestar
ed08ae7321
[tm-monitor] use pubkey.Equals() func instead of raw `==` ( #2221 )
2018-08-14 18:57:48 +04:00
ValarDragon
6beaf6e72d
(squash this) address Jae's comments on `NumTrueBitsBefore`
2018-08-13 18:46:33 -07:00
peerlink
3624a17642
blockchain: fix register concrete name. ( #2213 )
2018-08-13 17:40:49 +04:00
Dev Ojha
8a1a79257e
mempool: Keep cache hashmap and linked list in sync ( #2188 )
...
* mempool: Keep cache hashmap and linked list in sync
This removes bugs with the linked list being full, but hashmap empty
* address PR comments
* switch clist back to list
2018-08-13 14:42:33 +04:00
Ethan Buchman
9c6fdad276
Merge pull request #2200 from tendermint/anton/missing-changelog-entry
...
Add missing changelog entry
2018-08-10 17:41:48 -04:00
ValarDragon
8d28344e84
(Squash this) switch to bare
2018-08-10 13:59:35 -05:00
ValarDragon
4cf1dbd676
(squash this) fix amino route
2018-08-10 13:20:59 -05:00
ValarDragon
00db469fc0
(squash this) begin addressing PR comments
2018-08-10 13:14:43 -05:00