Erik Grinaker
b1b82c493a
db: add support for badgerdb ( #5233 )
...
* db: add support for badgerdb
* add badgerdb comment for Config.DBBackend
2020-08-12 13:23:57 +00:00
Callum Waters
430a4d0504
update evidence verification ( #139 )
2020-08-12 14:19:09 +02:00
Erik Grinaker
feaa1ed17e
state: don't save genesis state in database when loaded ( #5231 )
...
Fixes #5138 . I don't have a strong opinion on this, but find it sort of odd that `Load` functions actually save as well.
2020-08-12 08:24:44 +00:00
Erik Grinaker
cc247c091b
genesis: add support for arbitrary initial height ( #5191 )
...
Adds a genesis parameter `initial_height` which specifies the initial block height, as well as ABCI `RequestInitChain.InitialHeight` to pass it to the ABCI application, and `State.InitialHeight` to keep track of the initial height throughout the code. Fixes #2543 , based on [RFC-002](https://github.com/tendermint/spec/pull/119 ). Spec changes in https://github.com/tendermint/spec/pull/135 .
2020-08-11 17:03:28 +00:00
Erik Grinaker
89ac8f6e62
update hashing of empty inputs, and initial block LastResultsHash ( #141 )
2020-08-11 16:52:23 +02:00
Erik Grinaker
95acfdead1
abci: add ResponseInitChain.app_hash ( #140 )
2020-08-11 16:48:22 +02:00
Erik Grinaker
08ffe13295
abci: add ResponseInitChain.app_hash, check and record it ( #5227 )
...
Fixes #5177 .
2020-08-11 14:28:11 +00:00
Marko
40bd416d59
test: protobuf vectors for reactors ( #5221 )
...
## Description
Add test vectors for all reactors
- [x] state-sync
- [x] privval
- [x] mempool
- [x] p2p
- [x] evidence
- [ ] light?
this PR is primarily oriented at testvectors for things going over the wire. should we expand the testvectors into types as well?
Closes: #XXX
2020-08-11 14:00:11 +00:00
Callum Waters
bfcf45a461
evidence: remove validator index verification ( #5225 )
2020-08-11 15:32:32 +02:00
Callum Waters
312c4f8fe1
evidence: change evidence time to block time ( #5219 )
...
adds blockstore interface to evidence and adds fix to byzantine test
2020-08-11 14:39:07 +02:00
Erik Grinaker
604923e034
RFC-002: non-zero genesis ( #119 )
2020-08-11 13:28:59 +02:00
Erik Grinaker
f66b7a8e32
merkle: return hashes for empty merkle trees ( #5193 )
...
Fixes #5192 .
@liamsi Can you verify that the test vectors match the Rust implementation? I updated `ProofsFromByteSlices()` as well, anything else that should be updated?
2020-08-11 10:31:05 +00:00
Marko
d551251869
contributing: add steps for adding and removing rc branches ( #5223 )
...
## Description
When doing a release the former rc branch should be deleted as the content of the branch is now on the release branch. After a release is made a new RC branch should be created.
Closes: #XXX
2020-08-11 09:21:08 +00:00
Callum Waters
713a773c81
Evidence time is sourced from block time ( #138 )
2020-08-10 21:20:24 +02:00
dependabot-preview[bot]
04783eaf91
build(deps): [Security] Bump prismjs from 1.20.0 to 1.21.0 in /docs
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.20.0 to 1.21.0. **This update includes a security fix.**
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.20.0...v1.21.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-08-10 08:50:40 +00:00
Sad Pencil
62d09ccc10
libs/rand: fix "out-of-memory" error on unexpected argument ( #5215 )
2020-08-10 10:42:14 +02:00
Marko
1c9a2640e9
crypto: consistent api across keys ( #5214 )
...
## Description
This Pr changes `GenPrivKeySecp256k1` to `GenPrivKeyFromSecret` to be consistent with the other keys. Also the previous name was not descriptive on what it did.
Closes: #XXX
2020-08-07 17:05:31 +00:00
Erik Grinaker
3413a0dbd8
node: don't attempt fast sync when InitChain sets self as only validator ( #5211 )
...
Fixes #5178 .
2020-08-06 17:50:20 +00:00
odidev
2a98ef8af1
Added ARM64 in GOARCH for Linux/ARM64 binary release ( #5209 )
...
Added GOARCH: arm64 with GOOS: linux, for releasing Linux/ARM64 binary
release for tendermint.
Signed-off-by: odidev <odidev@puresoftware.com >
2020-08-06 18:00:23 +02:00
Erik Grinaker
e96921822d
spec: revert event hashing ( #132 )
2020-08-06 11:10:11 +02:00
Erik Grinaker
958c4cdc6e
changelog: add v0.32.13 release ( #5204 )
2020-08-05 12:07:51 +02:00
Erik Grinaker
310f802cd2
changelog: add v0.33.7 release ( #5203 )
...
Merge once #5185 is out.
2020-08-04 11:53:23 +00:00
Callum Waters
68468fb024
evidence: fix usage of time field in abci evidence ( #5201 )
...
* fix usage of time in abci evidence
* update changelong and upgrading
* add test cases
2020-08-04 12:58:48 +02:00
Sean Braithwaite
29f4e13e05
Merge pull request #130 from tendermint/marko/bring_blockchain_back
...
spec: bringing blockchain back
2020-08-03 17:48:34 +02:00
dependabot-preview[bot]
ad2e515112
build(deps): Bump github.com/spf13/viper from 1.7.0 to 1.7.1
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.7.0...v1.7.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-08-03 12:09:24 +00:00
Marko Baricevic
ef1e0ff886
add correct links
2020-08-03 10:52:05 +02:00
Marko Baricevic
c5e45ecb48
bring blockchain back
2020-08-03 10:48:38 +02:00
Marko
2d167aefcf
ci: freeze golangci action version ( #5196 )
...
## Description
This PR updates golang-ci to latest and stops looking at master for the action.
Closes: #XXX
2020-08-03 07:57:06 +00:00
dependabot-preview[bot]
19fad101e2
build(deps): Bump google.golang.org/grpc from 1.30.0 to 1.31.0
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.30.0 to 1.31.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.30.0...v1.31.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-08-03 06:30:06 +00:00
Callum Waters
185cd5b8e5
evidence: don't stop evidence verification if an evidence fails ( #5189 )
2020-07-31 15:30:37 +02:00
Callum Waters
3c21c3546c
evidence: remove phantom validator evidence ( #5181 )
2020-07-31 12:23:58 +02:00
Callum Waters
31b182b7aa
update spec with the removal of phantom validator evidence ( #126 )
2020-07-31 12:03:44 +02:00
Anton Kaliaev
db345066a8
rpc/client/http: log error ( #5182 )
...
Closes #3410
2020-07-31 09:36:14 +00:00
Callum Waters
4a06dc9916
abci: fix abci evidence types ( #5174 )
2020-07-30 17:27:48 +02:00
Erik Grinaker
29d15df10b
changelog: bump to 0.34.0-rc2 ( #5176 )
...
Bumps 0.34.0-rc2 - rc1 must be pulled due to premature checksum recorded on sum.golang.org.
v0.34.0-rc2
2020-07-30 13:46:33 +00:00
Callum Waters
77429b71d6
fix assertions on byzantine test ( #5171 )
2020-07-30 15:24:29 +02:00
Marko
6ec8e57d08
changelog: move entries from pending ( #5172 )
...
## Description
This pr bumps version and moves changlog entries.
Closes: #XXX
2020-07-30 12:23:23 +00:00
Erik Grinaker
79d6b034b7
version: bump version numbers ( #5173 )
...
Bumps the Tendermint version to 0.34.0, and debumps the P2P and block protocol numbers since 0.33.6 has:
```go
// P2PProtocol versions all p2p behaviour and msgs.
// This includes proposer selection.
P2PProtocol Protocol = 7
// BlockProtocol versions all block data structures and processing.
// This includes validity of blocks and state updates.
BlockProtocol Protocol = 10
```
2020-07-30 12:15:15 +00:00
Sean Braithwaite
d46cd7f573
Merge pull request #125 from tendermint/anton/2769-canonical
...
spec/consensus: canonical vs subjective commit
2020-07-30 12:00:54 +02:00
Anton Kaliaev
0d8d721999
consensus: only call privValidator.GetPubKey once per block ( #5143 )
...
Closes #4865
2020-07-30 09:44:04 +00:00
Anton Kaliaev
4d43bfe3bd
state: revert event hashing ( #5159 )
...
See ADR 058
Closes #5113
Spec PR: https://github.com/tendermint/spec/pull/122
2020-07-30 09:15:08 +00:00
Anton Kaliaev
2b97e03cf6
docs: document canonical field ( #5166 )
...
Closes #2769
Spec PR: https://github.com/tendermint/spec/pull/125
2020-07-30 09:07:03 +00:00
Marko
dc71f265aa
types: check if nil or empty valset ( #5167 )
...
Solves #5138 in the way that if a validatorSet is nil or empty it will not try to transform it to protobug
Co-authored-by: Callum Michael Waters <cmwaters19@gmail.com >
2020-07-29 20:16:42 +02:00
Anton Kaliaev
0445156ed9
Apply suggestions from code review
...
Co-authored-by: Igor Konnov <igor.konnov@gmail.com >
2020-07-29 15:45:46 +04:00
Anton Kaliaev
b5f030892d
docs: document ConsensusParams ( #5165 )
...
Closes #2836
2020-07-29 11:24:01 +00:00
Anton Kaliaev
3a29521848
spec/consensus: canonical vs subjective commit
...
Refs https://github.com/tendermint/tendermint/issues/2769
2020-07-29 15:13:15 +04:00
Anton Kaliaev
4ab7b7d7ca
docs: add more details on Vote struct from /consensus_state ( #5164 )
...
Closes #2743
2020-07-29 10:20:39 +00:00
Marko
2bd673c8eb
blockchain: remove duplicate evidence sections ( #124 )
2020-07-29 08:24:42 +02:00
Marko
8ff136c716
blockchain: rename to core ( #123 )
2020-07-28 16:51:14 +02:00
Callum Waters
bc8b3e830b
consensus: added byzantine test, modified previous test ( #5150 )
2020-07-28 15:27:22 +02:00