mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-28 18:55:42 +00:00
created "Node"
This commit is contained in:
@@ -49,6 +49,9 @@ func NewSwitch(channels []ChannelDescriptor) *Switch {
|
||||
return s
|
||||
}
|
||||
|
||||
func (s *Switch) Start() {
|
||||
}
|
||||
|
||||
func (s *Switch) Stop() {
|
||||
log.Infof("Stopping switch")
|
||||
if atomic.CompareAndSwapUint32(&s.stopped, 0, 1) {
|
||||
|
||||
Reference in New Issue
Block a user