Dev Ojha
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
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
Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
7 years ago
Zach Ramsay
d02c5d1e30
detele everything
7 years ago
Ethan Buchman
ec710395b7
RIPEMD160 -> SHA256
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
Ethan Buchman
e5220360c5
AddPart always verifies
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
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
Ethan Buchman
200787ede2
types: update for new go-wire. WriteSignBytes -> SignBytes
7 years ago
Ethan Buchman
7a5060dc52
replace data.Bytes with cmn.HexBytes
7 years ago
Ethan Buchman
4e3488c677
update types
7 years ago
Ethan Buchman
9529f12c28
more linting
7 years ago
Zach Ramsay
478a10aa41
Write doesn't need error checked
7 years ago
Zach Ramsay
d7cb291fb2
errcheck; sort some stuff out
7 years ago
Zach Ramsay
68e7983c70
linting errors: afew more
7 years ago
Zach Ramsay
8f0237610e
linting errors: clean it all up
7 years ago
Zach Ramsay
b75d4f73e7
errcheck: PR comment fixes
7 years ago
Zach Ramsay
57ea4987f7
linting: apply errcheck part1
7 years ago
Ethan Buchman
bdb34f9f4e
types: []byte -> data.Bytes
8 years ago
Ethan Buchman
d5b524e309
go-merkle -> merkleeyes/iavl and tmlibs/merkle
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
8ba79252c8
types: use mtx on PartSet.String()
8 years ago
Ethan Buchman
1b3766d802
types: canonical_json.go
8 years ago
zachary balder
da8b043612
sign bytes w struct literals
8 years ago
Jae Kwon
d83fc02597
MakePartSet takes partSize from config. fix replay test
8 years ago
Jae Kwon
1173a85c85
Use BlockID everywhere
8 years ago
Ethan Buchman
501c4e4bac
fixes from review
9 years ago
Ethan Buchman
922f720cf6
cswal_light logs own votes; fix tests
9 years ago
Ethan Buchman
a34f9e082e
lazy part_set reader
9 years ago
Ethan Buchman
79c9a9f03a
don't verify own block parts
9 years ago
Ethan Buchman
5e42c96267
crank the part size; prioritize data channel
9 years ago
Jae Kwon
0316dfc6f2
Update code.google.com to use golang.org
9 years ago
Jae Kwon
34f6f50a07
Conform to go-merkle SimpleProof.Aunts
9 years ago
Jae Kwon
ab1e8a35c6
Shorten consensus log events
9 years ago
Jae Kwon
d69b5c5ab6
Conform to go-wire 1.0
9 years ago
Jae Kwon
c4ed55d801
Refactor to move common libraries out of project
9 years ago
Jae Kwon
3be3647dc8
tendermint/binary -> tendermint/wire
10 years ago
Ethan Buchman
8e50bf15de
panic wrapper functions
10 years ago
Jae Kwon
2e1d8ba054
Make Ripemd160 the default
10 years ago
Jae Kwon
9965dd5de6
uint* to int* whereever appropriate; https://www.reddit.com/r/golang/comments/2q5vdu/int_vs_uint/
10 years ago
Jae Kwon
1a652a1cbb
Fix usage of SimpleProof for PartSet
10 years ago
Jae Kwon
da73e001ad
BitArray takes a pointer receiver. More logging
10 years ago
Jae Kwon
b92c0401e6
Made all JSON fields lower_case
10 years ago
Jae Kwon
5366d808ba
Proposal WriteSignBytes is JSON
10 years ago