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
Anton Kaliaev
93aadf160f
add missing changelog entry
...
Refs #1954
2018-08-10 09:33:02 +04:00
Dev Ojha
2756be5a59
libs: Remove usage of custom Fmt, in favor of fmt.Sprintf ( #2199 )
...
* libs: Remove usage of custom Fmt, in favor of fmt.Sprintf
Closes #2193
* Fix bug that was masked by custom Fmt!
2018-08-10 09:25:57 +04:00
Anton Kaliaev
fc7c298cc0
Remove gogoproto from Makefile's TOOLS ( #2198 )
...
* remove gogoproto from tools
because it's not a binary
* update protobuf version to 3.6.1 in `make get_protoc`
* update libs/common/types.pb.go and rpc/grpc/types.pb.go
* fix app tests
2018-08-10 09:14:17 +04:00
bradyjoestar
785786bec4
add json2wal & fix wal2json ( #2196 )
...
* add json2wal & fix wal2json
* fix bug
* Update main.go
* add wal2JsonTest file
* Delete wal2JsonTest
2018-08-10 09:09:40 +04:00
ValarDragon
aab26c3ff7
Merge remote-tracking branch 'origin/develop' into dev/multisig
2018-08-09 01:05:39 -05:00
Dev Ojha
5a8fe61200
crypto: Add compact bit array for intended usage in the multisig ( #2140 )
...
* crypto: Add compact bit array for intended usage in the multisig
This is in a separate PR for ease of review.
* (squash this) add comment
2018-08-09 09:38:23 +04:00
Ian Tan
3c98cec2c2
Add ADR entry for ProposeTx
( #1813 )
...
This adds an ADR entry addressing the implementation of a `ProposeTx`
method in the ABCI proposed in #1776 . Fundamentally, this proposal gives
some control of block proposals to the application. The initial use case is
to support the Minimal Viable Plasma specification.
2018-08-08 23:12:36 +04:00
Dev Ojha
1fbca09e3c
[ADR] Proposal for multisignature encoding ( #1960 )
...
* ADR: Proposal for multisignature encoding
This proposal is partially tied to the resolution of #1957 .
* Change title to Encoding standard for multisignatures
* ADR: Change multisigs ADR now that amino must be used for pubkeys
* Address PR comments
2018-08-08 23:10:33 +04:00
Jordan Bibla
37ea7040ef
remove JB from codeowners file ( #2174 )
2018-08-08 13:03:00 +04:00
Ethan Buchman
6770992b01
Merge pull request #2181 from tendermint/zach/docs-fixes
...
docs: fix links & other improvements
2018-08-07 20:35:13 -04:00
Zach Ramsay
b30596b3a1
docs: fix links & other imrpvoements
2018-08-07 19:47:51 -04:00
Ethan Buchman
ef5c27a2d2
Merge pull request #2154 from tendermint/bucky/speed-up-tests
...
speed up some tests. ref #2038
2018-08-07 15:57:08 -04:00
Jun Kimura
e1b9bf7c81
set capacity of txsmap ( #2166 )
2018-08-07 20:50:10 +04:00
ValarDragon
4e7bf10b59
(squash this) squashed bug with multiple signatures at same index.
2018-08-07 11:37:42 -05:00
ValarDragon
67b6d51ff4
(squash this) address PR comments + fix bug in equality check
2018-08-07 10:44:38 -05:00
Dev Ojha
6dbbdb9438
Merge branch 'dev/compact_bitmap' into dev/multisig
2018-08-06 21:20:23 -05:00
ValarDragon
e7dd76c28d
crypto: Threshold multisig implementation
2018-08-06 21:17:38 -05:00
ValarDragon
21448bcf4f
crypto: Add compact bit array for intended usage in the multisig
...
This is in a separate PR for ease of review.
2018-08-06 15:55:02 -05:00
Ethan Buchman
ec3e34efd8
Merge pull request #2145 from tendermint/bucky/adr-chain-versions
...
adr: chain-versions
2018-08-05 22:48:06 -04:00
Ethan Buchman
b19e148bc5
Merge pull request #2144 from tendermint/bucky/adr-protocol-versions
...
adr: protocol versioning
2018-08-05 22:47:12 -04:00
Ethan Buchman
6f8b62d1f3
Merge pull request #2149 from tendermint/bucky/adr-abci-validators
...
[ADR] ABCI Validators
2018-08-05 22:44:38 -04:00
Ethan Buchman
e0e19a24a4
Merge pull request #2157 from tendermint/master
...
Merge pull request #2152 from tendermint/release/v0.23.0
2018-08-05 17:12:01 -04:00
Ethan Buchman
013b9cef64
Merge pull request #2152 from tendermint/release/v0.23.0
...
Release/v0.23.0
v0.23.0
2018-08-05 17:11:22 -04:00
Ethan Buchman
087b657008
speed up some tests. ref #2038
2018-08-05 16:59:23 -04:00
Ethan Buchman
fe835cd456
Merge pull request #2116 from tendermint/265-change-abci-header-to-match-tm
...
change ABCI header to match Tendermint exactly
2018-08-05 16:55:10 -04:00
Anton Kaliaev
d7035abe73
change ABCI header to match Tendermint exactly
...
Now that Tendermint Amino will be compatible with proto3, the Header in ABCI
should exactly match the Tendermint header - they will then be encoded
identically in ABCI and in Tendermint Core.
Refs #265
2018-08-05 16:57:38 -04:00
Ethan Buchman
f2b629680a
Merge pull request #2153 from tendermint/bucky/merge-0.23.0-to-develop
...
Bucky/merge 0.23.0 to develop
2018-08-05 16:43:00 -04:00
Ethan Buchman
720ce658f1
Merge branch 'release/v0.23.0' into bucky/merge-0.23.0-to-develop
2018-08-05 16:42:04 -04:00
Ethan Buchman
309a6772d7
types: fix formatting when printing signatures
...
- use cmn.Fingerprint and %X
2018-08-05 16:35:43 -04:00
Ethan Buchman
8bd514d9fb
update changelog
2018-08-05 15:55:48 -04:00
ValarDragon
f903947ff3
crypto: Remove interface from crypto.Signature
...
Signatures are now []byte, which saves on the number of bytes after
amino encoding
(squash this) address Ismail's comment
2018-08-05 15:46:57 -04:00
Ethan Buchman
ea67fb55eb
Merge pull request #2106 from tendermint/1134-add-proposer-to-the-block
...
add proposer address to block's Header
2018-08-05 15:18:42 -04:00
Ethan Buchman
e1062a657f
fixes for ProposerAddress
...
- state.MakeBlock takes a proposerAddr
- validateBlock only checks that the ProposerAddress is in the validator
set
- fix raceyness from bad proposer test:
- use privValidator to get the proposer address (instead of racy
state)
- note we had to remove the test that checked the correct proposer was
included for higher rounds because we don't have a good way to test
this with multiple consensus states and not using the
privValidator.Address while calling createProposalBlock was a hack!
2018-08-05 15:19:21 -04:00
Ethan Buchman
4d998b7c03
consensus: failing test for ProposerAddress
2018-08-05 15:17:43 -04:00
Anton Kaliaev
bec9d5cba9
add proposer address to block's Header
...
Refs #1134
Validation:
- ignored in block.ValidateBasic since it's stateful information
- checked in blockExec.ValidateBlock
2018-08-05 15:16:49 -04:00
Ethan Buchman
06a157ad06
Merge pull request #1815 from tendermint/jae/literefactor4
...
ValidatorSet change delayed by 1 block, and lite refactor (#2 )
2018-08-05 14:54:07 -04:00
Dev Ojha
d6a666b445
p2p/pex: Fix mismatch between dialseeds and checkseeds. ( #2151 )
2018-08-05 14:47:01 -04:00
Ethan Buchman
c5c2b9601f
update changelog and version
2018-08-05 14:14:56 -04:00
Ethan Buchman
7538864c15
Merge branch 'develop' into jae/literefactor4
2018-08-05 13:51:41 -04:00
Ethan Buchman
279259ec8e
adr-018: abci validators
2018-08-05 12:45:27 -04:00
Ethan Buchman
ca9d07e5e4
update deps for amaino v0.12.0-rc0
2018-08-05 12:39:08 -04:00