Anton Kaliaev
d73c5cbdb1
reap max bytes from the mempool & check transaction size
See ADR 020: Limiting txs size inside a block docs/architecture/adr-020-block-size.md
Refs #2035
6 years ago
Ethan Buchman
6dde320591
fixes from review
6 years ago
Ethan Buchman
e3f54ece2f
abci: VoteInfo, ValidatorUpdate. See ADR-018
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
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
6 years ago
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
6 years ago
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
6 years ago
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
6 years ago
Anton Kaliaev
715ec19c96
add tests for protobuf
Refs #693
6 years ago
Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
6 years ago
Zach Ramsay
d02c5d1e30
detele everything
6 years ago
Alexander Simmerl
a605b66c5a
Move abci imports
6 years ago
Alexander Simmerl
3e1baf68f8
crypto: Rename last traces of go-crypto ( #1786 )
Follow-up to #1782
6 years ago
Liamsi
d2c05bc5b9
Revert "delete everything" (includes everything non-go-crypto)
This reverts commit 96a3502
7 years ago
Liamsi
96a3502126
delete everything
7 years ago
Ethan Buchman
9481cabd50
fixes from review
7 years ago
Ethan Buchman
fcf61b8088
check addrs match pubkeys in abci Validator. version bump
7 years ago
Ethan Buchman
8e45348737
update for abci v0.11.0 release. let InitChain update validators
7 years ago
Ethan Buchman
2edc68c59b
use all fields in abci types
7 years ago
Ethan Buchman
2897685c57
abci header takes ValidatorsHash
7 years ago
Ethan Buchman
54e61468d4
fixes from review
7 years ago
Ethan Buchman
5c7ccbd4a7
use const for abci type strings
7 years ago
Ethan Buchman
3d2c4fd309
update Evidence type - requires pubkey and valset to verify and convert to abci.Evidence
7 years ago
Ethan Buchman
e1e6878a4d
fix state tests
7 years ago
Ethan Buchman
e4147b6f1a
state test runs
7 years ago
Ethan Buchman
7606b7595f
compiles
7 years ago
Ethan Buchman
485b4a0c6f
revert gogo
7 years ago
Ethan Buchman
ebd2fe7a68
more types
7 years ago
Ethan Buchman
f28eae7816
update types
7 years ago
Ethan Buchman
cd0fd06b0d
update for sdk2 libs. need to fix kv test
NOTE we only updating for tmlibs and abci
7 years ago
Ethan Buchman
4e3488c677
update types
7 years ago
Ethan Buchman
35521b553a
save historical consensus params
7 years ago
Anton Kaliaev
0ffd60b8cf
ValidatorSetUpdates -> ValidatorUpdates
7 years ago
Ethan Buchman
898ae53672
types: fix for broken customtype int in gogo
7 years ago
Ethan Buchman
388f66c9b3
types: drop uint64 from protobuf.go
7 years ago
Anton Kaliaev
922af7c405
int64 height
uint64 is considered dangerous. the details will follow in a blog post.
7 years ago
Anton Kaliaev
86af889dfb
remove unnecessary casts (Refs #911 )
7 years ago
Ethan Buchman
d1a00c684e
types: comments
7 years ago
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.
8 years ago
Ethan Buchman
5da9b3a803
postmerge
8 years ago
Ethan Buchman
0017fb7ffe
premerge
8 years ago
Ethan Buchman
c147b41013
TMSP -> ABCI
8 years ago
Ethan Buchman
5046d5b181
more handshake replay cleanup
8 years ago
Ethan Buchman
07597dfd45
post rebase fixes for BlockID, partSize
8 years ago
Ethan Buchman
f37f56d4f1
fixes
8 years ago
Ethan Buchman
c3d5634efa
begin block
8 years ago