Ethan Buchman
17124989a9
Merge pull request #10 from tendermint/pex-reactor-fixes-#9
Pex reactor fixes #9
8 years ago
Ethan Buchman
75bad132fc
msgCountByPeer is a CMap
8 years ago
Ethan Buchman
391c738959
update comment about outbound peers and addrbook
8 years ago
Anton Kaliaev
8655e2456e
it is non-deterministic (could fail sometimes)
8 years ago
Anton Kaliaev
17ec70fc09
revert 2710873
8 years ago
Anton Kaliaev
9ce71013df
revert e448199
8 years ago
Anton Kaliaev
5ab8ca0868
fix race
8 years ago
Anton Kaliaev
4c0d1d3ad2
return wg to addrbook
8 years ago
Anton Kaliaev
0277e52bd5
fix merge
8 years ago
Anton Kaliaev
cf18bf2966
add public RemoveAddress API
after discussion with @ebuchman (https://github.com/tendermint/go-p2p/pull/10#discussion_r96471729 )
8 years ago
Anton Kaliaev
324293f4cb
note on preventing abuse [ci skip]
8 years ago
Anton Kaliaev
52d9cf080e
make GoLint happy
8 years ago
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.
8 years ago
Anton Kaliaev
5eeaffd38e
do not create file, just temp dir
8 years ago
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
8 years ago
Anton Kalyaev
873d34157d
prevent abuse from peers
8 years ago
Anton Kalyaev
47df1fb7d4
test PEXReactor#Receive
8 years ago
Anton Kalyaev
1a59b6a3b4
replace repeate timer with simple ticker
no need for repeate timer here (no need for goroutine safety)
8 years ago
Anton Kalyaev
0109f1e524
test ensurePeers goroutine
8 years ago
Anton Kalyaev
37d5a2cf3e
implement RemovePeer for PEXReactor
8 years ago
Anton Kalyaev
3af7c67757
add Dockerfile
8 years ago
Anton Kalyaev
26f661a5dd
prefer short names
8 years ago
Anton Kalyaev
057cfb30f1
remove unused error
8 years ago
Ethan Buchman
1a42f946dc
version bump
8 years ago
Ethan Buchman
e05052b079
update glide
8 years ago
Ethan Buchman
7d5b62b61f
CHANGELOG and version bump
8 years ago
Ethan Buchman
a75353da6d
version bump
8 years ago
Ethan Buchman
083fe959e2
Update README [ci skip]
8 years ago
Ethan Buchman
480b24d9f0
CHANGELOG [ci skip]
8 years ago
Ethan Buchman
aecf860b26
update glide
8 years ago
Ethan Buchman
bd369cc451
Merge pull request #450 from tendermint/fix-fastsync
blockpool: fix removePeer bug
8 years ago
Ethan Buchman
07143a4353
Merge pull request #412 from tendermint/feature/237-tx-indexing
tx indexing (Refs #237 )
8 years ago
Ethan Buchman
bf7521a6ab
Merge branch 'develop' into feature/237-tx-indexing
8 years ago
Ethan Buchman
fdeceb9a74
Merge pull request #449 from tendermint/fix-replay
Fix replay
8 years ago
Ethan Buchman
52d03d0071
post rebase fixes
8 years ago
Ethan Buchman
29a893b193
update comment
8 years ago
Jae Kwon
cf4074cc80
defer gr.Close() fixes
8 years ago
Ethan Buchman
cb2ed5bb7c
fixes from review
8 years ago
Ethan Buchman
2ba3656ffd
wal: gr.Close()
8 years ago
Jae Kwon
cd9e9e9f45
s/ExecBlock/ValExecBlock/g; s/sm.ApplyBlock/sm.ExecCommitBlock/g
8 years ago
Ethan Buchman
f9d0096744
support #HEIGHT based WAL
8 years ago
Ethan Buchman
935f70a346
comments and cleanup
8 years ago
Ethan Buchman
5109746b1c
Handshake uses ApplyBlock, no ConsensuState
8 years ago
Ethan Buchman
1684ec163f
ABCIResponses not needed as field in state
8 years ago
Ethan Buchman
3a973b80ac
update glide
8 years ago
Ethan Buchman
ed03cb5c17
consensus/replay: remove timeout
8 years ago
Ethan Buchman
54b26869d5
consensus/wal: #HEIGHT -> #ENDHEIGHT
8 years ago
Ethan Buchman
cb279bf662
state: ABCIResponses, s.Save() in ApplyBlock
8 years ago
Ethan Buchman
9d2de2b756
tx_indexer -> tx_index
8 years ago
Ethan Buchman
e6b7e66bbe
Merge pull request #23 from tendermint/more-tests
More tests
8 years ago