aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSonic <sonic@cobinhood.com>2018-09-25 14:56:57 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:21:31 +0800
commit83677118fade9f9c39fc39ac211dd0c149a09afb (patch)
tree7b2580646d969114458bb156645ea535544bc8bb /tests
parentad73ab6d3d090cfeb959cf72f716083763a37616 (diff)
downloadgo-tangerine-83677118fade9f9c39fc39ac211dd0c149a09afb.tar.gz
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 'tests')
0 files changed, 0 insertions, 0 deletions