7276 Commits

Author SHA1 Message Date
Ethan Buchman
6c39c77fc5
Merge pull request #996 from ricardohsd/types-add-tests-to-vote
Add more tests to types/vote.go
2017-12-26 10:32:07 -05:00
Jae Kwon
66580408f8 GasWanted and GasUsed for Check & Deliver 2017-12-26 05:29:33 -08:00
Jae Kwon
e1ff53fd0b Use []byte instead of Bytes, use tmlibs/common.KVPair 2017-12-26 04:52:02 -08:00
Jae Kwon
b25df389db Remove Bytes, just use []byte; Use protobuf for KVPair/KI64Pair 2017-12-26 04:40:35 -08:00
Jae Kwon
a861d68a31 Update glide.yaml and fix tests 2017-12-26 00:45:31 -08:00
Jae Kwon
bf644b0984 Do not shadow assert 2017-12-26 00:36:58 -08:00
Jae Kwon
9472476a8b Update Makefile 2017-12-26 00:28:07 -08:00
Jae Kwon
6ec8c1602f Update Makefile 2017-12-25 22:41:40 -08:00
Jae Kwon
0f8ebd024d
Update clist.go
Add more justification of synchrony primitives in documentation.
2017-12-25 22:28:15 -08:00
Jae Kwon
2fd8f35b74 Fix #112 by using RWMutex per element 2017-12-25 21:12:14 -08:00
Jae Kwon
797bcdd9e0 Remove common/http 2017-12-25 17:46:21 -08:00
Anton Kaliaev
69c3a7640b
add safeAdd & safeSub plus quickcheck tests 2017-12-25 18:39:14 -06:00
Anton Kaliaev
e8b0458f16
check for overflow and underflow while choosing proposer
Refs #919
2017-12-25 18:39:14 -06:00
Anton Kaliaev
6b89639f90
update docs 2 [ci skip] 2017-12-25 17:58:15 -06:00
Anton Kaliaev
9b25f7325a
update docs [ci skip] 2017-12-25 17:53:54 -06:00
Anton Kaliaev
0093f9877a
change voting power change, not number of vals 2017-12-25 17:49:36 -06:00
Zach
96c816f428
Merge pull request #160 from KrzysiekJ/test-cmd-short-circuit
Short-circuit assertions in test command
2017-12-25 20:21:24 +00:00
Jae Kwon
f2a8e95248 Add KI64Pair(s) 2017-12-25 11:40:05 -08:00
Anton Kaliaev
cf0b5d3715
enforce <1/3 validator updates
Refs #950
2017-12-25 12:10:53 -06:00
Ethan Buchman
616f7e74db
Merge pull request #1001 from tendermint/makefile
Cleaned up makefile
2017-12-25 12:09:10 -05:00
Ethan Buchman
14c812a39c tmlibs timer fix 2017-12-25 11:11:55 -05:00
Ethan Buchman
1e52751344 update tests for makefile 2017-12-25 10:24:41 -05:00
Jae Kwon
ff65421324
Proposal: New Makefile standard template (#168)
* Cleaned up makefile.
* Improve 'make all' order
* Add devdoc
* Update circle.yml
2017-12-25 00:14:13 -08:00
Jae Kwon
f390385baf
Fee is a KNPair (#167)
KVPair is {[]byte,[]byte}
2017-12-24 18:39:16 -08:00
Jae Kwon
d7ac6e516a Cleaned up makefile 2017-12-23 02:23:05 -08:00
Emmanuel Odeke
62115b55ef
CRandHex: fix up doc to mention length of digits
The previous doc seemed misleading and was out of date i.e.
RandHex(24)
not
CRandHex.

Anyways provide a doc of what the function does in relation to
the length of digits of the hex value returned i.e.
  floor(numDigits / 2) * 2
so the even lowest number
  e.g:
  * len(CRandHex(5)) = 4
  * len(CRandHex(4)) = 4
2017-12-22 23:16:34 -07:00
Jae Kwon
aaaacba1cd
Use gogoproto's nullable=false (#166)
* Use gogoproto's nullable=false where appropriate.
2017-12-22 19:41:19 -08:00
Greg Szabo
f297602c14
Merge pull request #69 from tendermint/master
Backmerge to jenkins branch
2017-12-22 03:00:46 -05:00
Greg Szabo
cbfbc72ad8 Perftest config change 2017-12-22 01:53:10 -05:00
Ethan Buchman
c2436c46e6
Merge pull request #972 from tendermint/feature/enhance-endblock
Update EndBlock parameters
2017-12-22 01:30:58 -05:00
Ethan Buchman
e3585a6eb0 wip: tendermint specification 2017-12-21 22:36:37 -05:00
Ethan Buchman
43cc4fb645
Merge pull request #53 from tendermint/constant-time-equals
Constant time equals
2017-12-21 20:03:53 -05:00
Ethan Buchman
eaf4b8c795 fix Equals 2017-12-21 19:51:57 -05:00
Ethan Buchman
38608b1b0f comment and tmlibs fix 2017-12-21 18:32:40 -05:00
Ethan Buchman
2b634dab32
Merge pull request #994 from tendermint/clean/block-validation
Clean/block validation
2017-12-21 17:53:11 -05:00
Ethan Buchman
91acc51cd1 fix test 2017-12-21 17:52:06 -05:00
Ethan Buchman
dc54ba67e4 state: TestValidateBlock 2017-12-21 17:51:03 -05:00
Ethan Buchman
35521b553a save historical consensus params 2017-12-21 17:46:25 -05:00
Ethan Buchman
70a744558c types: params.Update() 2017-12-21 17:00:52 -05:00
Ethan Buchman
4b789ff7e9 another cmn fix 2017-12-21 16:49:47 -05:00
Ethan Buchman
306657a118 no patience for metalinter right now 2017-12-21 16:49:47 -05:00
Ethan Buchman
be765e4cb9 update glide for cmn fixes 2017-12-21 16:49:47 -05:00
Ethan Buchman
b5857da877 forgot file 2017-12-21 16:49:47 -05:00
Ethan Buchman
3ad055ef3a fix randPort 2017-12-21 16:49:47 -05:00
Ethan Buchman
3d00c477fc separate block vs state based validation 2017-12-21 16:49:47 -05:00
Ethan Buchman
c2912d612a update glide 2017-12-21 16:49:47 -05:00
Ethan Buchman
218acc2224
Merge pull request #107 from tendermint/fix/cmn
Fix/cmn
2017-12-21 16:30:45 -05:00
Ethan Buchman
a3c7525249
Merge pull request #993 from tendermint/984-priv-validator-signing
priv validator returns last sign bytes if h/r/s matches
2017-12-21 16:30:22 -05:00
Ethan Buchman
f81025631e update comment [ci skip] 2017-12-21 16:28:05 -05:00
Ethan Buchman
9c03c58de2 priv validator checks if only difference is timestamp; else error 2017-12-21 15:37:27 -05:00