Ethan Buchman
6dde320591
fixes from review
2018-08-17 10:32:10 -04:00
Ethan Buchman
e3f54ece2f
abci: VoteInfo, ValidatorUpdate. See ADR-018
2018-08-16 13:19:13 -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
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
Anton Kaliaev
0c7338c5f0
abci: Change validators to last_commit_info in RequestBeginBlock ( #2074 )
...
* change validators to last_commit_info in RequestBeginBlock
* do not send pubkeys with RequestBeginBlock
Refs #1856
2018-07-30 17:29:40 +02:00
Anton Kaliaev
96ae535fb8
proto3 timestamp ( #2064 )
...
This PR changes ABCI time format from int64 (Unix seconds) to WKT (WellKnownType) google.protobuf.Timestamp.
Refs #1857
Reasons:
better precision
standard DT for proto
* update Gopkg.lock
* [makefile] remove extra grep
- go list excludes vendor by default now
* proto3 timestamp
* [docs/abci-spec] note about serialisation format
* make time non-nullable
2018-07-27 04:23:19 +02:00
ValarDragon
99e582d79a
crypto: Refactor to move files out of the top level directory
...
Currently the top level directory contains basically all of the code
for the crypto package. This PR moves the crypto code into submodules
in a similar manner to what `golang/x/crypto` does. This improves code
organization.
Ref discussion: https://github.com/tendermint/tendermint/pull/1966
Closes #1956
2018-07-18 08:38:44 -07:00
Alexander Simmerl
e39e43f86f
Merge pull request #1790 from tendermint/xla/merge-abci-tmlibs
...
Merge abci
2018-06-23 00:55:31 +02:00
Alexander Simmerl
a605b66c5a
Move abci imports
2018-06-22 07:28:07 +02:00
Alexander Simmerl
3e1baf68f8
crypto: Rename last traces of go-crypto ( #1786 )
...
Follow-up to #1782
2018-06-22 08:24:36 +04:00
Liamsi
d2c05bc5b9
Revert "delete everything" (includes everything non-go-crypto)
...
This reverts commit 96a3502
2018-06-20 17:35:30 -07:00
Liamsi
96a3502126
delete everything
2018-06-20 15:19:08 -07:00
Ethan Buchman
9481cabd50
fixes from review
2018-06-06 20:45:20 -07:00
Ethan Buchman
fcf61b8088
check addrs match pubkeys in abci Validator. version bump
2018-06-06 16:35:35 -07:00
Ethan Buchman
8e45348737
update for abci v0.11.0 release. let InitChain update validators
2018-06-06 15:47:04 -07:00
Ethan Buchman
2edc68c59b
use all fields in abci types
2018-06-06 13:07:17 -07:00
Ethan Buchman
2897685c57
abci header takes ValidatorsHash
2018-06-06 00:28:12 -07:00
Ethan Buchman
54e61468d4
fixes from review
2018-06-05 22:04:38 -07:00
Ethan Buchman
5c7ccbd4a7
use const for abci type strings
2018-06-05 22:04:38 -07:00
Ethan Buchman
3d2c4fd309
update Evidence type - requires pubkey and valset to verify and convert to abci.Evidence
2018-06-05 22:04:26 -07:00
Ethan Buchman
e1e6878a4d
fix state tests
2018-06-05 22:00:25 -07:00
Ethan Buchman
e4147b6f1a
state test runs
2018-06-05 22:00:25 -07:00
Ethan Buchman
7606b7595f
compiles
2018-06-05 22:00:25 -07:00
Ethan Buchman
485b4a0c6f
revert gogo
2018-06-05 21:59:52 -07:00
Ethan Buchman
ebd2fe7a68
more types
2018-06-05 21:59:52 -07:00
Ethan Buchman
f28eae7816
update types
2018-06-05 21:59:52 -07:00
Ethan Buchman
cd0fd06b0d
update for sdk2 libs. need to fix kv test
...
NOTE we only updating for tmlibs and abci
2018-02-03 03:35:02 -05:00
Ethan Buchman
4e3488c677
update types
2018-02-03 03:23:10 -05:00
Ethan Buchman
35521b553a
save historical consensus params
2017-12-21 17:46:25 -05:00
Anton Kaliaev
0ffd60b8cf
ValidatorSetUpdates -> ValidatorUpdates
2017-12-21 11:52:26 -06:00
Ethan Buchman
898ae53672
types: fix for broken customtype int in gogo
2017-12-02 12:00:46 -05:00
Ethan Buchman
388f66c9b3
types: drop uint64 from protobuf.go
2017-12-02 01:07:17 -05:00
Anton Kaliaev
922af7c405
int64 height
...
uint64 is considered dangerous. the details will follow in a blog post.
2017-12-01 19:04:53 -06:00
Anton Kaliaev
86af889dfb
remove unnecessary casts (Refs #911 )
2017-12-01 17:17:22 -05:00
Ethan Buchman
d1a00c684e
types: comments
2017-09-22 12:00:37 -04:00
Adrian Brink
842609ddcb
Send InitChain message from ABCI to Core on Genesis
...
InitChain is send from the ABCI to the Core node when the ABCI
app has no blocks stored.
2017-04-27 20:22:11 +02:00
Ethan Buchman
c147b41013
TMSP -> ABCI
2017-01-12 15:53:32 -05:00
Ethan Buchman
5046d5b181
more handshake replay cleanup
2016-11-22 20:38:14 -05:00
Ethan Buchman
07597dfd45
post rebase fixes for BlockID, partSize
2016-11-16 16:13:17 -05:00
Ethan Buchman
f37f56d4f1
fixes
2016-11-16 13:25:13 -05:00
Ethan Buchman
c3d5634efa
begin block
2016-11-16 13:23:57 -05:00