a335caaedb
alias amino imports ( #3219 )
...
As per conversation here: https://github.com/tendermint/tendermint/pull/3218#discussion_r251364041
This is the result of running the following code on the repo:
```bash
find . -name '*.go' | grep -v 'vendor/' | xargs -n 1 goimports -w
```
2019-01-28 16:13:17 +04:00
ec53ce359b
Simple merkle rfc compatibility ( #2713 )
...
* Begin simple merkle compatibility PR
* Fix query_test
* Use trillian test vectors
* Change the split point per RFC 6962
* update spec
* refactor innerhash to match spec
* Update changelog
* Address @liamsi's comments
* Write the comment requested by @liamsi
2019-01-13 18:02:38 -05:00
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
2018-11-11 10:09:33 -05:00
124d0db1e0
Make txs and evidencelist use merkle.SimpleHashFromBytes to create hash ( #2635 )
...
This is a performance regression, but will also spare the types directory
from knowing about RFC 6962, which is a more correct abstraction. For txs
this performance hit will be fixed soon with #2603 . For evidence, the
performance impact is negligible due to it being capped at a small number.
2018-10-15 16:42:47 -04:00
12fa9d1cab
crypto/merkle: Remove byter in favor of plain byte slices ( #2595 )
...
* crypto/merkle: Remove byter in favor of plain byte slices
This PR is fully backwards compatible in terms of function output!
(The Go API differs though) The only test case changes was to refactor
it to be table driven.
* Update godocs per review comments
2018-10-10 12:46:09 -04:00
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
2018-09-28 20:03:19 -04:00
ec710395b7
RIPEMD160 -> SHA256
2018-07-02 14:27:43 -04:00
d55243f0e6
fix import paths
2018-07-01 22:36:49 -04:00
a605b66c5a
Move abci imports
2018-06-22 07:28:07 +02:00
34974e3932
Make types use Amino; Refactor PrivValidator* to FilePV/SocketPV
2018-03-31 00:18:43 +02:00
3395f5fb0e
types: builds
2018-03-02 01:28:38 -05:00
7a5060dc52
replace data.Bytes with cmn.HexBytes
2018-02-03 03:47:01 -05:00
4e3488c677
update types
2018-02-03 03:23:10 -05:00
eeab0efa56
types: tx.go comments
2017-12-26 20:21:17 -05:00
922af7c405
int64 height
...
uint64 is considered dangerous. the details will follow in a blog post.
2017-12-01 19:04:53 -06:00
d1a00c684e
types: comments
2017-09-22 12:00:37 -04:00
e1792c1ea5
fix tx string format take 2
2017-05-16 14:12:48 +02:00
d5113377e2
fix tx string format
2017-05-16 14:01:52 +02:00
118d565534
Merge pull request #472 from tendermint/string_reprs
...
Add Tx String representation. Got the ok from Anton.
2017-05-15 09:49:40 +02:00
4c7a2be06a
Add Tx String representation
2017-04-30 16:06:49 -07:00
bdb34f9f4e
types: []byte -> data.Bytes
2017-04-27 19:01:18 -04:00
d5b524e309
go-merkle -> merkleeyes/iavl and tmlibs/merkle
2017-04-21 18:16:05 -04:00
5da9b3a803
postmerge
2017-04-21 18:09:47 -04:00
0017fb7ffe
premerge
2017-04-21 17:38:40 -04:00
f4d0076344
TxResult includes Tx. /tx only works if indexer active
2017-04-18 19:56:41 -04:00
6e065affe5
rpc: /tx allows height+hash
2017-04-13 16:04:36 -04:00
7fb0e8b30b
Merge branch 'feature/tx-proof' into feature/237-tx-indexing
...
Conflicts:
types/tx.go
2017-04-12 18:48:39 -04:00
2a59cda77e
/tx returns tx bytes
2017-04-12 18:18:17 -04:00
705e7bd577
Implemented and tested Txs.Index, hopefully better coverage
2017-04-12 15:18:09 +02:00
28307fd4c9
Add proof generation for one tx
2017-04-12 15:16:46 +02:00
05136ff09d
update some comments
2016-07-12 14:58:16 -04:00
65ebc344ac
broadcast_commit
2016-07-05 14:26:20 -04:00
501c4e4bac
fixes from review
2016-04-26 22:17:13 -04:00
d23f38b4f3
txs.Hash() to avoid extra allocs
2016-04-19 20:45:33 -04:00
e12f9d10e7
Bare consensus refactor
2015-11-01 11:34:08 -08:00
c4ed55d801
Refactor to move common libraries out of project
2015-10-22 17:39:06 -07:00
e4f0e2b399
update namereg with longer names, more allowed chars
2015-09-15 19:43:22 -04:00
6f25dfef44
move NewContractAddress to types and use ripemd160
2015-08-02 22:24:35 -04:00
3be3647dc8
tendermint/binary -> tendermint/wire
2015-07-28 12:18:17 -07:00
0ef5c3ad07
Fix returning prematurely within if(runCall){...}.
...
Renames
2015-07-28 12:16:17 -07:00
31b9d8ee27
SNativeTx -> PermissionTx, consolidate permissions and native contracts
2015-07-22 10:49:53 -04:00
d528d002fa
SNativeTx sign bytes
2015-07-22 10:49:53 -04:00
e037093740
snative refactor and SNativeTx
2015-07-22 10:49:53 -04:00
8e50bf15de
panic wrapper functions
2015-07-21 10:46:05 -04:00
1e7cc32597
tendermint/account -> acm
2015-07-19 09:40:55 -07:00
2e1d8ba054
Make Ripemd160 the default
2015-07-10 12:15:46 -07:00
72b681a1bc
fix TxID to use ripemd160 in events and rpc return
2015-07-10 05:56:38 +00:00
9965dd5de6
uint* to int* whereever appropriate; https://www.reddit.com/r/golang/comments/2q5vdu/int_vs_uint/
2015-06-25 20:28:34 -07:00
6062b06aa9
fixed NameTx.WriteSignBytes() bug.
2015-06-01 17:49:24 -07:00
c8103f6415
sign-bytes field ordering & escaping of strings
2015-06-01 14:59:10 -07:00