aboutsummaryrefslogtreecommitdiffstats
path: root/light/lightchain_test.go
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 /light/lightchain_test.go
parentad73ab6d3d090cfeb959cf72f716083763a37616 (diff)
downloadgo-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 'light/lightchain_test.go')
0 files changed, 0 insertions, 0 deletions