Ethan Buchman
|
1bd700ee52
|
test: automate building consensus/test_data
|
2016-12-18 00:15:10 -05:00 |
Ethan Buchman
|
38783e7fa1
|
types: SignatureEd25519 -> Signature
|
2016-12-18 00:14:07 -05:00 |
Ethan Buchman
|
dcbb35089f
|
consensus: wal.Flush() and cleanup replay tests
|
2016-12-17 23:43:17 -05:00 |
Ethan Buchman
|
de6bba4609
|
test: randConsensusNet takes more args
|
2016-12-17 14:45:20 -05:00 |
Ethan Buchman
|
d800a51da4
|
test: crank it to eleventy
|
2016-12-07 20:13:52 -05:00 |
Ethan Buchman
|
8df32cd540
|
test: increase proposal timeout
|
2016-12-06 19:54:10 -05:00 |
Jae Kwon
|
4202c4bf20
|
Fix Merge pull request #319
|
2016-12-06 01:16:13 -08:00 |
Ethan Buchman
|
b74a97a4f6
|
update grpc broadcast tx
|
2016-12-02 00:29:25 -05:00 |
Ethan Buchman
|
0fe53dc5cf
|
remove privValIndex; Stale->AppHashIsStale
|
2016-12-02 00:27:36 -05:00 |
Ethan Buchman
|
2f9063c1d6
|
consensus: test validator set change
|
2016-11-23 18:20:46 -05:00 |
Ethan Buchman
|
6f8c91b651
|
use NewValidator; fix setPrivValidatorIndex
|
2016-11-22 20:38:14 -05:00 |
Ethan Buchman
|
e0db20c0cf
|
update privValidatorIndex on valset change
|
2016-11-22 20:38:14 -05:00 |
Ethan Buchman
|
655b6300f5
|
val set changes
|
2016-11-22 20:38:14 -05:00 |
Ethan Buchman
|
d7f6c0775a
|
remove LastCommitHeight
|
2016-11-22 20:38:14 -05:00 |
Ethan Buchman
|
a3d863f83b
|
consensus: track index of privVal
|
2016-11-22 20:38:14 -05:00 |
Jae Kwon
|
e09950d3fb
|
Use new Group semantics
|
2016-11-21 19:16:19 -08:00 |
Ethan Buchman
|
c6a648fad7
|
consensus: lock before loading commit
|
2016-11-16 16:47:31 -05:00 |
Ethan Buchman
|
07597dfd45
|
post rebase fixes for BlockID, partSize
|
2016-11-16 16:13:17 -05:00 |
Ethan Buchman
|
4360c360a4
|
move handshake to state, use Handshaker, more tests
|
2016-11-16 13:29:22 -05:00 |
Ethan Buchman
|
3f90fcae48
|
fail tests and fix
|
2016-11-16 13:26:39 -05:00 |
Ethan Buchman
|
8ec1839f5d
|
save block b4 apply; track stale apphash
|
2016-11-16 13:26:39 -05:00 |
Ethan Buchman
|
fb9735ef46
|
rebase fixes and BeginBlock(hash,header)
|
2016-11-16 13:25:13 -05:00 |
Ethan Buchman
|
138de19e1e
|
test: app persistence
|
2016-11-16 13:25:13 -05:00 |
Ethan Buchman
|
d3ae920bd0
|
state: ApplyBlock
|
2016-11-16 13:25:13 -05:00 |
Ethan Buchman
|
f37f56d4f1
|
fixes
|
2016-11-16 13:25:13 -05:00 |
Ethan Buchman
|
81e6df0d57
|
cswal: write #HEIGHT:1 for empty wal
|
2016-11-16 01:23:19 -05:00 |
Jae Kwon
|
d83fc02597
|
MakePartSet takes partSize from config. fix replay test
|
2016-11-16 01:23:16 -05:00 |
Jae Kwon
|
95c8bb4252
|
Fixing issues from review in #229
|
2016-11-15 18:48:35 -05:00 |
Jae Kwon
|
c1729addce
|
Fix BFT issue where VoteSetMaj23Message wasn't being sent where prs.Round == blockStore.Round()
|
2016-11-15 18:48:35 -05:00 |
Jae Kwon
|
3e3b034252
|
Make ConsensusReactor use ConsensusState's blockstore; debug functions
|
2016-11-15 18:48:34 -05:00 |
Ethan Buchman
|
9d0c7f6ec7
|
fix bft test. still halts
|
2016-11-15 18:47:19 -05:00 |
Ethan Buchman
|
c5a803a146
|
DataChannel -> StateChannel for Maj23Msg
|
2016-11-15 18:45:36 -05:00 |
Ethan Buchman
|
5f55ed2a40
|
consensus: ensure dir for cswal on reactor tests
|
2016-11-15 18:45:36 -05:00 |
Ethan Buchman
|
7afcf92539
|
consensus: fix panic on POLRound=-1
|
2016-11-15 18:45:36 -05:00 |
Ethan Buchman
|
57da2e4af5
|
make byzantine logic testable
|
2016-11-15 18:45:36 -05:00 |
Ethan Buchman
|
f837252ff1
|
consensus: test reactor
|
2016-11-15 18:37:33 -05:00 |
Jae Kwon
|
fd128c7180
|
Fix comments from review
|
2016-11-15 18:37:00 -05:00 |
Jae Kwon
|
ea4b60a602
|
Fix compile bug
|
2016-11-15 18:37:00 -05:00 |
Jae Kwon
|
b73a6905a1
|
Initial pass at bft_fix_2 completion
|
2016-11-15 18:37:00 -05:00 |
Jae Kwon
|
655d829314
|
Fix proposal sign bytes. Start tracking blockID in POL
|
2016-11-15 18:35:17 -05:00 |
Jae Kwon
|
1173a85c85
|
Use BlockID everywhere
|
2016-11-15 18:34:58 -05:00 |
Jae Kwon
|
7221887330
|
VoteSet can handle conflicting votes. TODO: add more tests
|
2016-11-15 18:33:16 -05:00 |
Jae Kwon
|
3c5a2f55c2
|
Add validator index and address to Vote.
|
2016-11-15 18:33:16 -05:00 |
Ethan Buchman
|
1fedf5b332
|
Merge branch 'consensus_wal_autofile' into develop_old
|
2016-11-15 15:43:22 -05:00 |
Jae Kwon
|
2aecb2a4a3
|
Ensure *_wal_dir exists
|
2016-11-05 09:15:34 -07:00 |
Ethan Buchman
|
3ff9355e7b
|
change some logs to debug
|
2016-11-03 20:13:39 -04:00 |
Jae Kwon
|
3d3d8b5b7b
|
cswal -> cs_wal_dir
|
2016-10-30 03:55:27 -07:00 |
Jae Kwon
|
1788a68b1c
|
Consensus WAL uses AutoFile/Group
|
2016-10-28 15:01:14 -07:00 |
Jae Kwon
|
480f44f16c
|
QuitService->BaseService
|
2016-10-28 12:14:24 -07:00 |
Jae Kwon
|
9a089482dc
|
Unnest
|
2016-10-28 11:58:09 -07:00 |
Jae Kwon
|
fc31b463b1
|
Don't use io.Seek*, not supported in older versions
|
2016-10-26 22:19:44 -07:00 |
Jae Kwon
|
830e84adc4
|
Fix minor bug in Consensus WAL; Fix AutoFile dependency
|
2016-10-26 21:51:03 -07:00 |
Jae Kwon
|
a9d8039082
|
Fix peer memleak; stop goroutine when peer is offline
|
2016-10-17 11:29:43 -07:00 |
Ethan Buchman
|
2113b6f4bb
|
rpc: use interfaces for pipe
|
2016-10-14 21:38:49 -04:00 |
Ethan Buchman
|
7d493774c7
|
log: move some Info to Debug
|
2016-10-14 20:27:50 -04:00 |
Ethan Buchman
|
0098387fbf
|
consensus: hvs.StringIndented needed a lock. addresses #284
|
2016-10-11 19:12:39 -04:00 |
Ethan Buchman
|
71baad59df
|
replay: ensure cs.height and wal.height match
|
2016-10-11 16:06:46 -04:00 |
Ethan Buchman
|
9365d33243
|
replay: more tests
|
2016-10-11 12:55:04 -04:00 |
Ethan Buchman
|
3c18d841fa
|
replay: larger read buffer
|
2016-10-11 12:51:48 -04:00 |
Ethan Buchman
|
7dcb567e53
|
replay test data
|
2016-10-11 11:44:07 -04:00 |
Ethan Buchman
|
7a424e6b12
|
Merge pull request #291 from tendermint/type-safe-fire-event
Type safe fire event
|
2016-10-10 17:36:52 -04:00 |
Ethan Buchman
|
a07063f119
|
add test for mempool deadlock
|
2016-10-10 17:05:50 -04:00 |
Ethan Buchman
|
35d4cca8bb
|
type safe events
|
2016-10-10 03:10:29 -04:00 |
Ethan Buchman
|
206d00ed8c
|
fixes from review
|
2016-09-09 23:50:25 -04:00 |
Ethan Buchman
|
9fb84d66be
|
Merge pull request #268 from tendermint/replay
consensus: no sign err in replay; fix a race
|
2016-09-09 23:04:39 -04:00 |
Ethan Buchman
|
987dac9ee0
|
consensus: no sign err in replay; fix a race
|
2016-09-08 19:00:59 -04:00 |
Ethan Buchman
|
3a7ee13ece
|
proxy: typed app conns
|
2016-08-24 01:45:45 -04:00 |
Ethan Buchman
|
678599c7d4
|
consensus: add note about replay test
|
2016-08-23 11:33:18 -04:00 |
Ethan Buchman
|
3998bdbfc1
|
fixes from review
|
2016-08-17 23:08:43 -04:00 |
Ethan Buchman
|
1110c5d37d
|
privVal.LastSignBytes and more replay tests
|
2016-08-14 13:33:03 -04:00 |
Ethan Buchman
|
a1c20ce866
|
types: privVal.LastSignature. closes #247
|
2016-08-14 13:33:03 -04:00 |
Ethan Buchman
|
c90bde3187
|
some comments
|
2016-08-09 20:31:53 -04:00 |
Ethan Buchman
|
6fef314423
|
version bump and release branch
|
2016-08-05 19:15:14 -04:00 |
Ethan Buchman
|
8987d29bee
|
tests: broadcast_tx with tmsp; p2p
|
2016-07-24 14:08:47 -04:00 |
Ethan Buchman
|
05136ff09d
|
update some comments
|
2016-07-12 14:58:16 -04:00 |
Ethan Buchman
|
54357bcf8f
|
crank consensus timeout parameters for tests (see #236)
|
2016-07-12 14:25:27 -04:00 |
Ethan Buchman
|
f44336d57d
|
consensus: don't print shared vars in cs.String()
|
2016-07-12 12:47:13 -04:00 |
Ethan Buchman
|
a1a90fd41f
|
consensus: increase mempool_test timeout
|
2016-07-11 22:37:42 -04:00 |
Ethan Buchman
|
33d9877599
|
consensus: hvs.Reset(height, valSet)
|
2016-07-11 22:37:42 -04:00 |
Ethan Buchman
|
47acada2cb
|
consensus: t.Fatal -> panic
|
2016-07-11 22:37:39 -04:00 |
Ethan Buchman
|
dd788c5631
|
consensus: fix race from OnStop accessing cs.Height
|
2016-07-11 20:55:07 -04:00 |
Ethan Buchman
|
e4c795f15c
|
consensus: fix more races in tests
|
2016-07-11 20:40:48 -04:00 |
Ethan Buchman
|
8ca615c301
|
wait until txs removed from mempool to fire tx events
|
2016-07-05 17:03:09 -04:00 |
Ethan Buchman
|
bc0b52293e
|
update circle and glide
|
2016-07-05 15:40:53 -04:00 |
Jae Kwon
|
ad17090a0f
|
No global config
|
2016-05-08 15:00:58 -07:00 |
Ethan Buchman
|
39344a601d
|
flush before commit
|
2016-04-29 14:23:04 -07:00 |
Ethan Buchman
|
8e5e5c689f
|
lock mempool for commit and update. closes #202
|
2016-04-29 14:23:04 -07:00 |
Ethan Buchman
|
09fe44a6b3
|
test for mempool commit/update concurrency bug
|
2016-04-29 14:23:04 -07:00 |
Ethan Buchman
|
501c4e4bac
|
fixes from review
|
2016-04-26 22:17:13 -04:00 |
Ethan Buchman
|
523a170c3e
|
EventDataTypeNewBlockHeader
|
2016-04-19 20:59:52 -04:00 |
Ethan Buchman
|
922f720cf6
|
cswal_light logs own votes; fix tests
|
2016-04-19 20:45:33 -04:00 |
Ethan Buchman
|
ae295bd9b6
|
bump rpc version; add consensus version
|
2016-04-19 20:45:33 -04:00 |
Ethan Buchman
|
ae07c0171d
|
light weight block event
|
2016-04-19 20:45:33 -04:00 |
Ethan Buchman
|
79c9a9f03a
|
don't verify own block parts
|
2016-04-19 20:45:33 -04:00 |
Ethan Buchman
|
5e42c96267
|
crank the part size; prioritize data channel
|
2016-04-19 20:45:33 -04:00 |
Ethan Buchman
|
2215ad74ff
|
consensus: cswal doesnt write any consensus msgs in light mode
|
2016-04-19 20:43:54 -04:00 |
Jae Kwon
|
39d72d5811
|
Remove fees
|
2016-04-03 04:51:44 -07:00 |
Jae Kwon
|
f17c4c1d57
|
s/Validation/Commit/g
|
2016-04-02 09:10:16 -07:00 |
Jae Kwon
|
a8ee0377d5
|
Use tmsp.Client interface
|
2016-03-24 10:42:05 -07:00 |
Jae Kwon
|
2c1504f93c
|
Reap takes maxTxs
|
2016-03-06 15:08:32 -08:00 |