You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
185 B

  1. package p2p
  2. import (
  3. cfg "github.com/tendermint/tendermint/config"
  4. )
  5. var config cfg.Config = nil
  6. func init() {
  7. cfg.OnConfig(func(newConfig cfg.Config) {
  8. config = newConfig
  9. })
  10. }