mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-05 17:22:18 +00:00
9103ec98cb
* QSP-14 consistent file permissions * Merge refs/heads/master into consistent_permissions * Merge refs/heads/master into consistent_permissions * default io file permissions * Merge branch 'consistent_permissions' of github.com:prysmaticlabs/prysm into consistent_permissions * fix comments * Merge refs/heads/master into consistent_permissions * Merge refs/heads/master into consistent_permissions * gaz * Merge branch 'consistent_permissions' of github.com:prysmaticlabs/prysm into consistent_permissions * Merge refs/heads/master into consistent_permissions * Rename IoConfig.go to io_config.go * Update shared/params/BUILD.bazel * Merge refs/heads/master into consistent_permissions * raul feedback * Merge branch 'consistent_permissions' of github.com:prysmaticlabs/prysm into consistent_permissions * Merge refs/heads/master into consistent_permissions * Merge refs/heads/master into consistent_permissions * Merge refs/heads/master into consistent_permissions * Merge refs/heads/master into consistent_permissions * Merge refs/heads/master into consistent_permissions * Merge refs/heads/master into consistent_permissions * gaz * Merge branch 'consistent_permissions' of github.com:prysmaticlabs/prysm into consistent_permissions * Merge refs/heads/master into consistent_permissions * Merge refs/heads/master into consistent_permissions * Merge refs/heads/master into consistent_permissions * Merge refs/heads/master into consistent_permissions
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
|
|
}
|