diff options
author | Sonic <sonic@cobinhood.com> | 2018-09-25 14:56:57 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-07 18:45:19 +0800 |
commit | 260905bee1d7febdc5dc0fdc848e3b95ad355232 (patch) | |
tree | 2363eb1ab64794848f67ca68c974d32d1325f36b /metrics/syslog.go | |
parent | bc5c6fac2e5c6a9b4a6c1601234aca74a2d42046 (diff) | |
download | dexon-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 'metrics/syslog.go')
0 files changed, 0 insertions, 0 deletions