mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-03 16:37:39 +00:00
19 lines
382 B
Go
19 lines
382 B
Go
|
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
|
||
|
}
|