mirror of
https://github.com/lightninglabs/pool.git
synced 2026-08-13 12:33:04 +02:00
This commit moves the RequiredPermissions map to its own directory so that projects importing the permissions list dont need to import all the dependencies of the pool package.
20 lines
691 B
Go
20 lines
691 B
Go
package pool
|
|
|
|
const (
|
|
// poolMacaroonLocation is the value we use for the pool macaroons'
|
|
// "Location" field when baking them.
|
|
poolMacaroonLocation = "pool"
|
|
)
|
|
|
|
var (
|
|
// macDbDefaultPw is the default encryption password used to encrypt the
|
|
// pool macaroon database. The macaroon service requires us to set a
|
|
// non-nil password so we set it to an empty string. This will cause the
|
|
// keys to be encrypted on disk but won't provide any security at all as
|
|
// the password is known to anyone.
|
|
//
|
|
// TODO(guggero): Allow the password to be specified by the user. Needs
|
|
// create/unlock calls in the RPC. Using a password should be optional
|
|
// though.
|
|
macDbDefaultPw = []byte("")
|
|
)
|