Anton Kaliaev
52d9cf080e
make GoLint happy
2017-04-20 13:36:39 +04:00
Anton Kaliaev
590efc1040
call saveToFile OnStop
...
This is better than waiting because while we wait, anything could happen
(crash, timeout of the code who's using addrbook, ...). If we save
immediately, we have much greater chances of success.
2017-04-20 13:36:38 +04:00
Anton Kaliaev
5eeaffd38e
do not create file, just temp dir
2017-04-20 13:36:38 +04:00
Anton Kalyaev
07e7b98c70
improve ensurePeers routine
...
optimizations:
- if we move peer to the old bucket as soon as connected and pick only
from new group, we can skip alreadyConnected check
2017-04-20 13:36:38 +04:00
Anton Kalyaev
873d34157d
prevent abuse from peers
2017-04-20 13:36:38 +04:00
Anton Kalyaev
47df1fb7d4
test PEXReactor#Receive
2017-04-20 13:36:38 +04:00
Anton Kalyaev
1a59b6a3b4
replace repeate timer with simple ticker
...
no need for repeate timer here (no need for goroutine safety)
2017-04-20 13:36:38 +04:00
Anton Kalyaev
0109f1e524
test ensurePeers goroutine
2017-04-20 13:36:37 +04:00
Anton Kalyaev
37d5a2cf3e
implement RemovePeer for PEXReactor
2017-04-20 13:36:37 +04:00
Anton Kalyaev
3af7c67757
add Dockerfile
2017-04-20 13:36:37 +04:00
Anton Kalyaev
26f661a5dd
prefer short names
2017-04-20 13:36:37 +04:00
Anton Kalyaev
057cfb30f1
remove unused error
2017-04-20 13:36:37 +04:00
Ethan Buchman
1a42f946dc
version bump
2017-04-19 00:05:18 -04:00
Ethan Buchman
e05052b079
update glide
2017-04-19 00:01:55 -04:00
Ethan Buchman
7d5b62b61f
CHANGELOG and version bump
2017-04-18 23:58:24 -04:00
Ethan Buchman
a75353da6d
version bump
2017-04-18 23:21:57 -04:00
Ethan Buchman
083fe959e2
Update README [ci skip]
2017-04-18 23:14:10 -04:00
Ethan Buchman
480b24d9f0
CHANGELOG [ci skip]
2017-04-18 23:05:48 -04:00
Ethan Buchman
aecf860b26
update glide
2017-04-18 22:27:24 -04:00
Ethan Buchman
bd369cc451
Merge pull request #450 from tendermint/fix-fastsync
...
blockpool: fix removePeer bug
2017-04-18 22:21:10 -04:00
Ethan Buchman
07143a4353
Merge pull request #412 from tendermint/feature/237-tx-indexing
...
tx indexing (Refs #237 )
2017-04-18 22:20:48 -04:00
Ethan Buchman
bf7521a6ab
Merge branch 'develop' into feature/237-tx-indexing
2017-04-18 22:20:13 -04:00
Ethan Buchman
fdeceb9a74
Merge pull request #449 from tendermint/fix-replay
...
Fix replay
2017-04-18 22:18:34 -04:00
Ethan Buchman
52d03d0071
post rebase fixes
2017-04-18 21:35:00 -04:00
Ethan Buchman
29a893b193
update comment
2017-04-18 21:28:11 -04:00
Jae Kwon
cf4074cc80
defer gr.Close() fixes
2017-04-18 21:28:10 -04:00
Ethan Buchman
cb2ed5bb7c
fixes from review
2017-04-18 21:28:10 -04:00
Ethan Buchman
2ba3656ffd
wal: gr.Close()
2017-04-18 21:28:10 -04:00
Jae Kwon
cd9e9e9f45
s/ExecBlock/ValExecBlock/g; s/sm.ApplyBlock/sm.ExecCommitBlock/g
2017-04-18 21:28:10 -04:00
Ethan Buchman
f9d0096744
support #HEIGHT based WAL
2017-04-18 21:28:10 -04:00
Ethan Buchman
935f70a346
comments and cleanup
2017-04-18 21:28:10 -04:00
Ethan Buchman
5109746b1c
Handshake uses ApplyBlock, no ConsensuState
2017-04-18 21:28:10 -04:00
Ethan Buchman
1684ec163f
ABCIResponses not needed as field in state
2017-04-18 21:27:50 -04:00
Ethan Buchman
3a973b80ac
update glide
2017-04-18 21:27:31 -04:00
Ethan Buchman
ed03cb5c17
consensus/replay: remove timeout
2017-04-18 21:27:31 -04:00
Ethan Buchman
54b26869d5
consensus/wal: #HEIGHT -> #ENDHEIGHT
2017-04-18 21:27:31 -04:00
Ethan Buchman
cb279bf662
state: ABCIResponses, s.Save() in ApplyBlock
2017-04-18 21:27:31 -04:00
Ethan Buchman
9d2de2b756
tx_indexer -> tx_index
2017-04-18 20:55:40 -04:00
Ethan Buchman
e6b7e66bbe
Merge pull request #23 from tendermint/more-tests
...
More tests
2017-04-18 20:26:54 -04:00
Ethan Buchman
45876d0828
NewBatch takes size, batch.Add doesn't use append
2017-04-18 20:23:58 -04:00
Ethan Buchman
b6a04a3456
more fixes from review
2017-04-18 20:11:53 -04:00
Ethan Buchman
f4d0076344
TxResult includes Tx. /tx only works if indexer active
2017-04-18 19:56:41 -04:00
Ethan Buchman
d572bb0c5d
state/txindex and pkg per indexer impl
2017-04-18 19:29:02 -04:00
Anton Kaliaev
2ac69176e1
add a comment for MConnection#CanSend
...
also add a note to TestMConnectionSend
2017-04-18 12:11:48 +04:00
Ethan Buchman
00847cdc6b
blockpool: fix removePeer bug
2017-04-15 02:22:03 -04:00
Anton Kaliaev
fbedb426ce
tests for NetAddress
2017-04-14 16:37:07 +04:00
Anton Kaliaev
6dc113aa80
[netaddress] panic only when normal run
2017-04-14 14:56:02 +04:00
Anton Kaliaev
ebe23f1379
refactor MConnection#sendBytes
2017-04-14 14:21:58 +04:00
Anton Kaliaev
06d219db8e
test peer with no auth enc
2017-04-14 12:43:28 +04:00
Ethan Buchman
16bffdf7ab
rpc/test: restore txindexer after setting null
2017-04-13 16:38:44 -04:00