Ethan Buchman
2edc68c59b
use all fields in abci types
7 years ago
Ethan Buchman
72330e6609
val_set_hash -> validators_hash
7 years ago
Ethan Buchman
2897685c57
abci header takes ValidatorsHash
7 years ago
Ethan Buchman
8fa7c493bc
add val_set_hash to header
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
aa8be33da1
fix fmt
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
3d33226e80
move types/services.go to state pkg. pass State to evpool.Update
7 years ago
Alexander Simmerl
bf370d36c2
Extract priv_validator into first class package
This is a maintenance change to move the private validator package out
of the types and to a top-level location. There is no good reason to
keep it under the types and it will more clearly coommunicate where
additions related to the privval belong. It leaves the interface and the
mock in types for now as it would introduce circular dependency between
privval and types, this should be resolved eventually.
* mv priv_validator to privval pkg
* use consistent `privval` as import
Follow-up to #1255
7 years ago
Ethan Buchman
c681347ee3
move genesis fields into RequestInitChain. some nullable=false
7 years ago
Ethan Buchman
512b3121a7
include genesis file structure
7 years ago
Ethan Buchman
90c3a469ff
Revert "Merge pull request #247 from tendermint/bucky/no-gogo"
This reverts commit ef79007433
, reversing
changes made to bcfdd6dbaf
.
7 years ago
Anton Kaliaev
6004587347
expect all tags to be strings ( #1498 )
* expect all tags to be strings
Refs #1369
* port changes from https://github.com/tendermint/tmlibs/pull/204
Refs #1369
7 years ago
Ethan Buchman
01f87fd8d3
remove gogoproto
7 years ago
Ethan Buchman
cfdec76020
update everything for Params and Result types
7 years ago
Ethan Buchman
5830c338ae
Application uses new ParamsXxx and ResultXxx Types
7 years ago
Ethan Buchman
07a9ddb2d5
result.go is json.go and codetype.go
7 years ago
Ethan Buchman
fac6bcd19e
consolidate util.go and pubkey.go to validator.go
7 years ago
Ethan Buchman
3d4f3bbbdd
varint -> uvarint for length prefix
7 years ago
Ethan Buchman
3dbdc87edb
protoc and update everything
7 years ago
Ethan Buchman
8bb04d7ef7
Validator and SignedValidator
7 years ago
Anton Kaliaev
bb9aa85d22
copy events and pubsub packages from tmlibs
Refs #847
7 years ago
Ethan Buchman
efbc2efb42
add proposer to header
7 years ago
Ethan Buchman
31576150ad
add total_voting_power to evidence
7 years ago
Ethan Buchman
459ee59e46
Request/ResponseValidator, update Header
7 years ago
Christopher Goes
e196dacf80
Add 'type' field to abci.Evidence
7 years ago
Christopher Goes
4c73ceee08
Add time field to abci.Evidence
7 years ago
Ethan Buchman
e5220360c5
AddPart always verifies
7 years ago
Ethan Buchman
9b20287463
add tags to begin/end block
7 years ago
Ethan Buchman
f7d775337b
absent_validators: repeated int -> repeated bytes
7 years ago
Ethan Buchman
162811476a
update some comments
7 years ago
Zarko Milosevic
2c125b6c78
Fix validValue rule
7 years ago
Ethan Buchman
e9804d76cf
fixes from review
7 years ago
Adrian Brink
f80b3aee48
Change AppStateBytes to GenesisBytes
The consensus should pass the entire genesis file to the application.
That way the application has access to the chain_id, the timestap, ...
7 years ago
Ethan Buchman
658060150c
rpc: add voting power totals to vote bitarrays
7 years ago
Adrian Brink
ef67705524
Allow ResponseInitChain to return the initial validator set
ResponseInitChain should be able to return an initial validator set that
is determined by some logic within the genesis.json file.
7 years ago
Ethan Buchman
c45ba2967a
fixes from review
7 years ago
Ethan Buchman
a2d77cbe4e
add MarshalJSON methods to fix dump_consensus_state
7 years ago
Ethan Buchman
94c016a04e
use MarshalJSONIndent for init files. closes #1506
7 years ago
Jae Kwon
b42d5a2211
blockID -> block_id for JSON
7 years ago
Thomas Corbière
6a48bd0c88
use the tag interface for pubsub. ( #1438 )
* use the tag interface for pubsub.
* update tmlibs.
* Fix unresolved conflict.
7 years ago
Ethan Buchman
1a1e4e767b
check max msg size in DecodeMessage
7 years ago
Ethan Buchman
bb1b249e8a
types: lock block on MakePartSet
7 years ago