lnd.xprv/watchtower
Conner Fromknecht 37052f1561
watchtower/wtdb: only accept properly sized blobs
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.
2019-06-13 19:54:22 -07:00
..
blob watchtower/multi: define blob TypeAltruistCommit and TypeRewardCommit 2019-06-13 19:54:21 -07:00
lookout watchtower/multi: embed TxPolicy in wtpolicy.Policy 2019-06-13 19:54:20 -07:00
wtclient watchtower/multi: define blob TypeAltruistCommit and TypeRewardCommit 2019-06-13 19:54:21 -07:00
wtdb watchtower/wtdb: only accept properly sized blobs 2019-06-13 19:54:22 -07:00
wtmock watchtower/wtdb: only accept properly sized blobs 2019-06-13 19:54:22 -07:00
wtpolicy watchtower/multi: define blob TypeAltruistCommit and TypeRewardCommit 2019-06-13 19:54:21 -07:00
wtserver watchtower/wtdb+wtserver: pass properly sized blob in unit tests 2019-06-13 19:54:22 -07:00
wtwire watchtower/multi: define AltruistSessions feature bit as 0/1 2019-06-13 19:54:21 -07:00
conf.go watchtower/conf: abstract address normalizer to prevent import cycle 2019-06-13 19:54:19 -07:00
config.go watchtower/multi: thread ChainHash to server 2019-02-08 20:02:17 -08:00
errors.go watchtower/conf: remove experimental conditional compilation 2019-06-13 19:54:19 -07:00
interface.go watchtower/conf: abstract address normalizer to prevent import cycle 2019-06-13 19:54:19 -07:00
log.go watchtower/log: add WTWR subsystem logger 2019-01-14 19:42:33 -08:00
standalone.go watchtower/standalone: disable reward towers 2019-06-13 19:54:22 -07:00