aboutsummaryrefslogtreecommitdiffstats
path: root/event/example_feed_test.go
diff options
context:
space:
mode:
authorSonic <sonic@cobinhood.com>2018-09-25 14:56:57 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-07 18:45:19 +0800
commit260905bee1d7febdc5dc0fdc848e3b95ad355232 (patch)
tree2363eb1ab64794848f67ca68c974d32d1325f36b /event/example_feed_test.go
parentbc5c6fac2e5c6a9b4a6c1601234aca74a2d42046 (diff)
downloaddexon-260905bee1d7febdc5dc0fdc848e3b95ad355232.tar
dexon-260905bee1d7febdc5dc0fdc848e3b95ad355232.tar.gz
dexon-260905bee1d7febdc5dc0fdc848e3b95ad355232.tar.bz2
dexon-260905bee1d7febdc5dc0fdc848e3b95ad355232.tar.lz
dexon-260905bee1d7febdc5dc0fdc848e3b95ad355232.tar.xz
dexon-260905bee1d7febdc5dc0fdc848e3b95ad355232.tar.zst
dexon-260905bee1d7febdc5dc0fdc848e3b95ad355232.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 'event/example_feed_test.go')
0 files changed, 0 insertions, 0 deletions