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
270659f03f
make Block Header and Data non-pointers
make BlockMeta Header a non-pointer
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
Anton Kaliaev
59f624043c
reorder statements
6 years ago
Alexander Simmerl
48a1f6f9b3
state: Format panics
6 years ago
Anton Kaliaev
e565e348d5
fix wrong field access in LoadConsensusParams
Closes #1766
6 years ago
Anton Kaliaev
c1aeb08e4b
return error if power is negative
Refs #1893
6 years ago
Anton Kaliaev
dda8b67f37
state: err if 0 power validator is added to the validator set
Closes #1893
6 years ago
Ethan Buchman
d55243f0e6
fix import paths
6 years ago
Jae Kwon
a5b7ea93c4
Delay validator set changes by 1 block.
7 years ago
Jae Kwon
8128627f08
Optimizing blockchain reactor.
Should be paired with https://github.com/tendermint/iavl/pull/65 .
7 years ago
Alexander Simmerl
a605b66c5a
Move abci imports
7 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
ia
b5775b56c6
all: gofmt ( #1743 )
* all: gofmt
Run 'gofmt -w .' from project root.
* Update changelog to say that I ran gofmt
* Revert "Update changelog to say that I ran gofmt"
This reverts commit 956f133ff0
.
7 years ago
Ethan Buchman
fcf61b8088
check addrs match pubkeys in abci Validator. version bump
7 years ago
Ethan Buchman
6b8613b3e7
ResponseEndBlock: ensure Address matches PubKey if provided
7 years ago
Ethan Buchman
71556c62eb
fixes from rebase
7 years ago
Ethan Buchman
54e61468d4
fixes from review
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
866bcceb35
fix consensus tests
7 years ago
Ethan Buchman
e1e6878a4d
fix state tests
7 years ago
Ethan Buchman
e4147b6f1a
state test runs
7 years ago
Ethan Buchman
485b4a0c6f
revert gogo
7 years ago
Ethan Buchman
575d94dbb9
state compiles
7 years ago
Ethan Buchman
2007c66091
fix test
7 years ago
Ethan Buchman
97c5533c35
update some comments
7 years ago
Ethan Buchman
3d33226e80
move types/services.go to state pkg. pass State to evpool.Update
7 years ago
Ethan Buchman
edb851280a
state: b -> block
7 years ago
Ethan Buchman
dd62f06994
state: s -> state
7 years ago
Ethan Buchman
f1c53c7358
evidence: dont send evidence to unsynced peers
* only send evidence to peers that are synced enough to validate it all
* closes #1624
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
Anton Kaliaev
bb9aa85d22
copy events and pubsub packages from tmlibs
Refs #847
7 years ago
Anton Kaliaev
5e3a23df6d
simplify indexer service main loop
7 years ago
Anton Kaliaev
6f7333fd5f
fix tests
7 years ago
Anton Kaliaev
58e3246ffc
batch index txs
7 years ago
Ethan Buchman
c68d406195
fix tests
7 years ago
Jae Kwon
e4492afbad
Merge
7 years ago
Jae Kwon
89cdde7f1e
Fix state tests
7 years ago
Thomas Corbière
2644a529f0
Fix lint errors ( #1390 )
* use increment and decrement operators.
* remove unnecessary else branches.
* fix package comment with leading space.
* fix receiver names.
* fix error strings.
* remove omittable code.
* remove redundant return statement.
* Revert changes (code is generated.)
* use cfg as receiver name for all config-related types.
* use lsi as the receiver name for the LastSignedInfo type.
7 years ago
Anton Kaliaev
2b63f57b4c
fix tx_indexer's matchRange
before we're using IteratePrefix, which is wrong because we want full
range, not just "account.number=1".
7 years ago
Anton Kaliaev
4085c72496
sort /tx_search results by height by default
Refs #1366
7 years ago
Anton Kaliaev
116a4ec705
temporary fix
I assume there is a deeper issue with how UnmarshalBinary works in
go-amino (i.e., when loading array of some objects, the empty array
becomes []object{nil}). Note when Marshaling, the object is nil.
7 years ago
Ethan Buchman
656854186c
state: fix txResult issue with UnmarshalBinary into ptr
7 years ago
Ethan Buchman
eaafd9d61c
state: builds
7 years ago
Zach
2cc63069c6
rename dummy to kvstore ( #1223 )
* remove accidental binary
* docs: s/Dummy&dummy/KVStore&kvstore/g
* glide update to abci
* update abci import paths
* dummy begone, hello kvstore
* RequestInitChain needs genesisBytes
* glide update
7 years ago
Ethan Buchman
f4feb7703b
fix appHash log. closes #1207
7 years ago
Anton Kaliaev
106cdb74e5
do not enforce 1/3 validator power change
leave it to the app
Refs #1022
7 years ago
Ethan Buchman
d34286c421
minor fixes - tests pass
7 years ago