When process receives SIGHUP signal, it'll reload runtime config file (path set as a flag), parse and update the runtime config (eg. https://golang.org/pkg/sync/atomic/#example_Value_config)
Current rtc includes
- gas lower bound
- gas upper bound
- openchannel rate limit interval
- stream send timeout
task breakdown:
- rtc json key value and corresponding go struct (or use .proto?)
- parse rtc.json once in server init
- create a chan for os.Signal and if syscall.SIGHUP, reload again
- places using the value needs to be changed to read from rtc