prysm-pulse/shared/params/io_config.go

19 lines
382 B
Go
Raw Normal View History

2020-06-25 16:12:59 +00:00
package params
import "os"
// IoConfig defines the shared io parameters.
type IoConfig struct {
ReadWritePermissions os.FileMode
}
var defaultIoConfig = &IoConfig{
ReadWritePermissions: 0600, //-rw------- Read and Write permissions for user
}
// BeaconIoConfig returns the current io config for
// the beacon chain.
func BeaconIoConfig() *IoConfig {
return defaultIoConfig
}