b00f
0f931eeb10
types: allow genesis file to have 0 validators ( #2148 )
* fixing issue 2015
* Remove comments for code review
* Update tests
6 years ago
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
6 years ago
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.
6 years ago
bradyjoestar
ed08ae7321
[tm-monitor] use pubkey.Equals() func instead of raw `==` ( #2221 )
6 years ago
ValarDragon
6beaf6e72d
(squash this) address Jae's comments on `NumTrueBitsBefore`
6 years ago
peerlink
3624a17642
blockchain: fix register concrete name. ( #2213 )
6 years ago
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
6 years ago
Ethan Buchman
9c6fdad276
Merge pull request #2200 from tendermint/anton/missing-changelog-entry
Add missing changelog entry
6 years ago
ValarDragon
8d28344e84
(Squash this) switch to bare
6 years ago
ValarDragon
4cf1dbd676
(squash this) fix amino route
6 years ago
ValarDragon
00db469fc0
(squash this) begin addressing PR comments
6 years ago
Anton Kaliaev
93aadf160f
add missing changelog entry
Refs #1954
6 years ago
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!
6 years ago
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
6 years ago
bradyjoestar
785786bec4
add json2wal & fix wal2json ( #2196 )
* add json2wal & fix wal2json
* fix bug
* Update main.go
* add wal2JsonTest file
* Delete wal2JsonTest
6 years ago
ValarDragon
aab26c3ff7
Merge remote-tracking branch 'origin/develop' into dev/multisig
6 years ago
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
6 years ago
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.
6 years ago
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
6 years ago
Jordan Bibla
37ea7040ef
remove JB from codeowners file ( #2174 )
6 years ago
Ethan Buchman
6770992b01
Merge pull request #2181 from tendermint/zach/docs-fixes
docs: fix links & other improvements
6 years ago
Zach Ramsay
b30596b3a1
docs: fix links & other imrpvoements
6 years ago
Ethan Buchman
ef5c27a2d2
Merge pull request #2154 from tendermint/bucky/speed-up-tests
speed up some tests. ref #2038
6 years ago
Jun Kimura
e1b9bf7c81
set capacity of txsmap ( #2166 )
6 years ago
ValarDragon
4e7bf10b59
(squash this) squashed bug with multiple signatures at same index.
6 years ago
ValarDragon
67b6d51ff4
(squash this) address PR comments + fix bug in equality check
6 years ago
Dev Ojha
6dbbdb9438
Merge branch 'dev/compact_bitmap' into dev/multisig
6 years ago
ValarDragon
e7dd76c28d
crypto: Threshold multisig implementation
6 years ago
ValarDragon
21448bcf4f
crypto: Add compact bit array for intended usage in the multisig
This is in a separate PR for ease of review.
6 years ago
Ethan Buchman
ec3e34efd8
Merge pull request #2145 from tendermint/bucky/adr-chain-versions
adr: chain-versions
6 years ago
Ethan Buchman
b19e148bc5
Merge pull request #2144 from tendermint/bucky/adr-protocol-versions
adr: protocol versioning
6 years ago
Ethan Buchman
6f8b62d1f3
Merge pull request #2149 from tendermint/bucky/adr-abci-validators
[ADR] ABCI Validators
6 years ago
Ethan Buchman
e0e19a24a4
Merge pull request #2157 from tendermint/master
Merge pull request #2152 from tendermint/release/v0.23.0
6 years ago
Ethan Buchman
013b9cef64
Merge pull request #2152 from tendermint/release/v0.23.0
Release/v0.23.0
6 years ago
Ethan Buchman
087b657008
speed up some tests. ref #2038
6 years ago
Ethan Buchman
fe835cd456
Merge pull request #2116 from tendermint/265-change-abci-header-to-match-tm
change ABCI header to match Tendermint exactly
6 years ago
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
7 years ago
Ethan Buchman
f2b629680a
Merge pull request #2153 from tendermint/bucky/merge-0.23.0-to-develop
Bucky/merge 0.23.0 to develop
6 years ago
Ethan Buchman
720ce658f1
Merge branch 'release/v0.23.0' into bucky/merge-0.23.0-to-develop
6 years ago
Ethan Buchman
309a6772d7
types: fix formatting when printing signatures
- use cmn.Fingerprint and %X
6 years ago
Ethan Buchman
8bd514d9fb
update changelog
6 years ago
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
6 years ago
Ethan Buchman
ea67fb55eb
Merge pull request #2106 from tendermint/1134-add-proposer-to-the-block
add proposer address to block's Header
6 years ago
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!
6 years ago
Ethan Buchman
4d998b7c03
consensus: failing test for ProposerAddress
6 years ago
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
7 years ago
Ethan Buchman
06a157ad06
Merge pull request #1815 from tendermint/jae/literefactor4
ValidatorSet change delayed by 1 block, and lite refactor (#2 )
6 years ago
Dev Ojha
d6a666b445
p2p/pex: Fix mismatch between dialseeds and checkseeds. ( #2151 )
6 years ago
Ethan Buchman
c5c2b9601f
update changelog and version
6 years ago
Ethan Buchman
7538864c15
Merge branch 'develop' into jae/literefactor4
6 years ago