graphprotocol / block-oracle

MIT License
5 stars 11 forks source link

Log compressed messages before encoding #179

Closed neysofu closed 1 year ago

neysofu commented 1 year ago

This PR splits the internal pipeline of CompressionEngine into two stages, thus making a clear distinction between stateful compression and encoding. This allows for logging the intermediate, compressed byproduct before sealing the binary payload, which is obscure and obviously hard to read when glancing at the logs.