mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-01-29 19:24:19 +01:00
Modifies the bbolt and mock tower databases to only accept blobs that are the expected size of the session's blob type. This prevents resource exhaustion attacks where a client may provide disproportionately large encrypted blob, even though all supported blob types are of fixed-size.