Anton Kaliaev
0277e52bd5
fix merge
2017-04-20 13:36:39 +04:00
Anton Kaliaev
cf18bf2966
add public RemoveAddress API
...
after discussion with @ebuchman (https://github.com/tendermint/go-p2p/pull/10#discussion_r96471729 )
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
Ethan Buchman
beb3eda438
fix addrbook start/stop
2017-03-05 22:59:18 -05:00
Ethan Buchman
88b5c724f2
remove public addr book funcs from pex
2017-03-04 22:55:42 -05:00
Anton Kalyaev
e7656873c1
public save API
2017-03-04 22:40:48 -05:00
Jae Kwon
bd353e004a
QuitService->BaseService
2017-01-12 20:49:48 -05:00
Ethan Buchman
2cee364692
addrbook: toggle strict routability
2016-11-30 22:57:21 -05:00
Jae Kwon
10619248c6
Use go-crypto CRand*
2016-03-13 09:42:36 -07:00
Jae Kwon
c37e25e76b
Conform to go-common WriteFile*(path, mode)
2015-12-04 00:02:44 -08:00
Jae Kwon
1c628a97ad
Conform to go-wire 1.0
2015-11-10 12:29:43 -08:00
Jae Kwon
abc3a2cc3c
initial commit
2015-10-25 18:21:51 -07:00