mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-20 00:30:52 +00:00
21 lines
541 B
Go
21 lines
541 B
Go
package params
|
|
|
|
import "os"
|
|
|
|
// IoConfig defines the shared io parameters.
|
|
type IoConfig struct {
|
|
ReadWritePermissions os.FileMode
|
|
ReadWriteExecutePermissions os.FileMode
|
|
}
|
|
|
|
var defaultIoConfig = &IoConfig{
|
|
ReadWritePermissions: 0600, //-rw------- Read and Write permissions for user
|
|
ReadWriteExecutePermissions: 0700, //-rwx------ Read Write and Execute (traverse) permissions for user
|
|
}
|
|
|
|
// BeaconIoConfig returns the current io config for
|
|
// the beacon chain.
|
|
func BeaconIoConfig() *IoConfig {
|
|
return defaultIoConfig
|
|
}
|