Ethan Buchman
6046b99197
consensus: include evidence in proposed block parts. fixes #2050
6 years ago
Anton Kaliaev
60378fd7f9
abci: remove fee ( #2043 )
Refs #1861
We don't use the fee field and its likely just confusing.
We can add backwards compatible priority (instead of fee) later.
Note priority is better than fee because it lets the app do the math on how to rank order transactions, rather than forcing that into tendermint (ie. if we return fee, priority would be fee/gas)
6 years ago
Ethan Buchman
f6705f02c7
fixes post merge
6 years ago
ValarDragon
c798702764
crypto: Remove Ed25519 and Secp256k1 suffix on GenPrivKey
6 years ago
Liamsi
96818af9d5
fix protos to make all tests pass, document differences
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
Liamsi
a81ca93139
update to new (timestamp & empty structs) encoding in amino
- timestamps no longer have fixed length encoding
-
6 years ago
Liamsi
2744682e77
update to latest amino (pre) release v0.11.1
- also reformat code and order imports
6 years ago
Liamsi
d665c79cc9
WIP: more empty struct examples
7 years ago
Liamsi
3c38a25bbb
add empty struct examples
7 years ago
Liamsi
0cd82fa166
add empty struct examples
7 years ago
Liamsi
99fa7f8132
everything works with https://github.com/tendermint/go-amino/pull/178
7 years ago
Liamsi
82104c9329
almost
7 years ago
Dev Ojha
dae7dc30e0
Switch usage of math/rand to cmn's rand ( #1980 )
This commit switches all usage of math/rand to cmn's rand. The only
exceptions are within the random file itself, the tools package, and the
crypto package. In tools you don't want it to lock between the go-routines.
The crypto package doesn't use it so the crypto package have no other
dependencies within tendermint/tendermint for easier portability.
Crypto/rand usage is unadjusted.
Closes #1343
6 years ago
Ethan Buchman
d903057011
fix stopping pubsub
6 years ago
Anton Kaliaev
270659f03f
make Block Header and Data non-pointers
make BlockMeta Header a non-pointer
Refs #693
6 years ago
Anton Kaliaev
3ffda994c2
Revert "rename privval#GetAddress and GetPubKey to Address and PubKey"
This reverts commit 58d0c8de89
.
6 years ago
Anton Kaliaev
6a85aecfb7
fix linter issues
6 years ago
Anton Kaliaev
d103aaf53f
add test for Vote#Verify
remove test for String (very brittle)
6 years ago
Anton Kaliaev
17e1df0cbd
test validator set more thoroughly
Refs #693
6 years ago
Anton Kaliaev
ff8ddee708
rename privval#GetAddress and GetPubKey to Address and PubKey
6 years ago
Anton Kaliaev
20bb522592
add tests for ABCIResults#Bytes and tx#IndexByHash
6 years ago
Anton Kaliaev
715ec19c96
add tests for protobuf
Refs #693
6 years ago
Anton Kaliaev
d51b196992
improve part set tests
Refs #693
6 years ago
Anton Kaliaev
5a4459935b
add a test for ConsensusParams#Update
Refs #693
6 years ago
Anton Kaliaev
3132f7fad4
add tests for genesis
Refs #693
6 years ago
Anton Kaliaev
80399e60fb
add tests for events public funcs
Refs #693
6 years ago
Anton Kaliaev
b271c40783
remove deprecated `app_options` field from genesis
6 years ago
Anton Kaliaev
37ce4e549e
add more tests for evidence
Refs #693
6 years ago
Anton Kaliaev
e4db5f8dcd
test event bus
Refs #693
6 years ago
Anton Kaliaev
6fe8ea966a
remove events we do not emit
6 years ago
Anton Kaliaev
1377ef1e1f
remove unused TxEventBuffer
6 years ago
Anton Kaliaev
95980d944b
[types] add tests for Block and Commit
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
Ethan Buchman
ec710395b7
RIPEMD160 -> SHA256
6 years ago
Ethan Buchman
d55243f0e6
fix import paths
6 years ago
Anton Kaliaev
2d98899b9b
set MaxTxs to 10000 (the same that was used in the config before)
6 years ago
Anton Kaliaev
297cd4cfe8
limit HTTP request body and WS read msg size to 1MB
6 years ago
Anton Kaliaev
9563927bbd
print only tx's hash and size when logging blocks
Closes #1799
6 years ago
Jae Kwon
8524a8da7f
Try to fix circle...
6 years ago
Jae Kwon
bf0ff212b9
Refactor "lite" to handle delayed validator set changes.
Also, fix consensus liveness issue.
7 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
6 years ago
Alexander Simmerl
3e1baf68f8
crypto: Rename last traces of go-crypto ( #1786 )
Follow-up to #1782
6 years ago
Liamsi
a39b2522d5
review comments:
- re-add test
- add TODO
- err instead of panic where possible
7 years ago
Liamsi
c96b27136f
remove go-crypto from go-crypto:
use tendermint/crypto :-)
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