mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
For our kvdb firewalldb, we use an empty 4 byte array as the macaroon identifier even if no macaroon was used to create the action. This is so that we have some sort of "session ID" bucket to store these set of actions under. For our SQL impl, however, this is not needed and we will likely just use a nullable field for the macaroon ID. So in preparation for this, we move the kvdb specific logic to the kvdb impl. |
||
|---|---|---|
| .. | ||
| caveats.go | ||
| caveats_test.go | ||
| config.go | ||
| log.go | ||
| privacy_mapper.go | ||
| privacy_mapper_test.go | ||
| request_info.go | ||
| request_logger.go | ||
| rule_enforcer.go | ||