lightning-terminal/rules
Elle Mouton 8b5289953a
rules: let RealToPseudo take in a PrivacyMapReader
This commit expands the RealToPseudo methods to take in a privacy map db
reader. This allows the methods to check if the privacy map db already
contains an entry for a "real" string before generating a new one.

For now, only an empty PrivacyMapReader is ever provided to the
RealToPseudo call. This will be changed in the following commit.
2023-08-31 16:56:59 +02:00
..
chan_policy_bounds.go rules: let RealToPseudo take in a PrivacyMapReader 2023-08-31 16:56:59 +02:00
chan_policy_bounds_test.go rules: add ChanPolicyBounds rule 2023-01-27 06:47:12 +02:00
channel_restrictions.go rules: let RealToPseudo take in a PrivacyMapReader 2023-08-31 16:56:59 +02:00
channel_restrictions_test.go rules: let RealToPseudo take in a PrivacyMapReader 2023-08-31 16:56:59 +02:00
config.go rules: add Rule interface 2023-01-27 06:47:12 +02:00
history_limit.go rules: let RealToPseudo take in a PrivacyMapReader 2023-08-31 16:56:59 +02:00
history_limit_test.go rules: add History Limit rule 2023-01-27 06:47:12 +02:00
interfaces.go rules: let RealToPseudo take in a PrivacyMapReader 2023-08-31 16:56:59 +02:00
log.go rules: add Rule interface 2023-01-27 06:47:12 +02:00
manager_set.go rules: add PeerRestrict rule 2023-01-27 06:47:12 +02:00
peer_restrictions.go rules: let RealToPseudo take in a PrivacyMapReader 2023-08-31 16:56:59 +02:00
peer_restrictions_test.go rules: let RealToPseudo take in a PrivacyMapReader 2023-08-31 16:56:59 +02:00
rate_limit.go rules: let RealToPseudo take in a PrivacyMapReader 2023-08-31 16:56:59 +02:00
rate_limit_test.go rules: add RateLimit rule 2023-01-27 06:47:12 +02:00