Adds a stop signal channel which up on Stop() signals all workers and the "build TXs" goroutine to terminate. The amount of stop signals to send via Stop() is nodes count * 2 + 1. Stop signals are prioritized over other send and receives.
Adds a cmd-flag for adjusting the remote IRI node
Auto calls Stop() when a SIGINT or SIGTERM is received from the OS.
Stop()
signals all workers and the "build TXs" goroutine to terminate. The amount of stop signals to send viaStop()
isnodes count * 2 + 1
. Stop signals are prioritized over other send and receives.Stop()
when a SIGINT or SIGTERM is received from the OS.