Ismail Khoffi
3ff820bdf4
fix amino overhead computation for Tx ( #2792 )
* fix amino overhead computation for Tx:
- also count the fieldnum / typ3
- add method to compute overhead per Tx
- slightly clarify comment on MaxAminoOverheadForBlock
- add tests
* fix TestReapMaxBytesMaxGas according to amino overhead
* fix TestMempoolFilters according to amino overhead
* address review comments:
- add a note about fieldNum = 1
- add forgotten godoc comment
* fix and use sm.TxPreCheck
* fix test
* remove print statement
6 years ago
Ismail Khoffi
6643c5dd11
Catch up with amino 0.13.0 ( #2690 )
* catch up with amino changes in
https://github.com/tendermint/go-amino/pull/222
* WIP: update to amino v0.13.0
* update to fixed amino release
6 years ago
Joon
71a34adfe5
General Merkle Proof ( #2298 )
* first commit
finalize rebase
add protoc_merkle to Makefile
* in progress
* fix kvstore
* fix tests
* remove iavl dependency
* fix tx_test
* fix test_abci_cli
fix test_apps
* fix test_apps
* fix test_cover
* rm rebase residue
* address comment in progress
* finalize rebase
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
7 years ago
Anton Kaliaev
20bb522592
add tests for ABCIResults#Bytes and tx#IndexByHash
7 years ago
Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
7 years ago
Zach Ramsay
d02c5d1e30
detele everything
7 years ago
Ethan Buchman
d55243f0e6
fix import paths
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
Jae Kwon
34974e3932
Make types use Amino; Refactor PrivValidator* to FilePV/SocketPV
7 years ago
Ethan Buchman
3395f5fb0e
types: builds
7 years ago
Ethan Buchman
d2cd079541
types: tests build
7 years ago
Zach Ramsay
d56b44f3a5
all: no more anonymous imports
7 years ago
Ethan Buchman
bdb34f9f4e
types: []byte -> data.Bytes
8 years ago
Ethan Buchman
a70c95b79e
tmlibs/common/test -> tmlibs/test
8 years ago
Ethan Buchman
d1926bcad1
use tmlibs
8 years ago
Ethan Buchman
5da9b3a803
postmerge
8 years ago
Ethan Buchman
0017fb7ffe
premerge
8 years ago
Ethan Buchman
a1387c7c17
remove expected panic in test
8 years ago
Ethan Frey
705e7bd577
Implemented and tested Txs.Index, hopefully better coverage
8 years ago
Ethan Frey
285a2a7061
More thorough testing of mutated bytes, use fixed go-wire
8 years ago
Ethan Frey
fd68bc7cfd
Test Tx proofs secure
8 years ago
Jae Kwon
e12f9d10e7
Bare consensus refactor
9 years ago
Jae Kwon
c4ed55d801
Refactor to move common libraries out of project
9 years ago
Jae Kwon
56b195a899
tendermint send_tx
10 years ago
Ethan Buchman
31b9d8ee27
SNativeTx -> PermissionTx, consolidate permissions and native contracts
10 years ago
Ethan Buchman
d528d002fa
SNativeTx sign bytes
10 years ago
Jae Kwon
1e7cc32597
tendermint/account -> acm
10 years ago
Ethan Buchman
dc7b912881
crypto byte arrays are fixed length
10 years ago
Jae Kwon
109a3c2dd3
Added sim_txs draft
10 years ago
Ethan Buchman
41502e05c1
chain_id written as string not hex in WriteSignBytes
10 years ago
Ethan Buchman
2045aee9cd
pass chainID through sign interfaces
10 years ago
Ethan Buchman
8a2d9525f0
network > chain_id, put in genesis.json
10 years ago
Jae Kwon
489bf767cb
importing tendermint/config/tendermint_test applies the test config
10 years ago
Jae Kwon
75ef479547
Config is passed into each module. Remove tendermint/confer
10 years ago
Jae Kwon
85c8850ac2
Config names have no dots, are under_scored.
10 years ago
Jae Kwon
b92c0401e6
Made all JSON fields lower_case
10 years ago
Jae Kwon
0cb99be988
Log expected and result of SignBytes tests, drone.io is failing
10 years ago
Jae Kwon
54d1c19611
WriteSignBytes writes JSON with fields in lex order.
10 years ago