diff options
author | Sonic <sonic@cobinhood.com> | 2018-09-25 14:56:57 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:21:31 +0800 |
commit | 83677118fade9f9c39fc39ac211dd0c149a09afb (patch) | |
tree | 7b2580646d969114458bb156645ea535544bc8bb /dex | |
parent | ad73ab6d3d090cfeb959cf72f716083763a37616 (diff) | |
download | go-tangerine-83677118fade9f9c39fc39ac211dd0c149a09afb.tar go-tangerine-83677118fade9f9c39fc39ac211dd0c149a09afb.tar.gz go-tangerine-83677118fade9f9c39fc39ac211dd0c149a09afb.tar.bz2 go-tangerine-83677118fade9f9c39fc39ac211dd0c149a09afb.tar.lz go-tangerine-83677118fade9f9c39fc39ac211dd0c149a09afb.tar.xz go-tangerine-83677118fade9f9c39fc39ac211dd0c149a09afb.tar.zst go-tangerine-83677118fade9f9c39fc39ac211dd0c149a09afb.zip |
p2p: implement AddNotaryPeer and RemoveNotaryPeer
AddNotaryPeer adds node to static node set so that server will maintain
the connection with the notary node.
AddNotaryPeer also sets the notaryConn flag to allow the node to always
connect, even if the slot are full.
RemoveNotaryPeer removes node from static, then disconnect and unsets
the notaryConn flag.
Diffstat (limited to 'dex')
0 files changed, 0 insertions, 0 deletions