kadena-io / chainweb-stream

Streaming server for chainweb events
5 stars 1 forks source link

added config to the initial event #4

Closed Takadenoshi closed 1 year ago

Takadenoshi commented 1 year ago

Changing the wire protocol for the initial event to piggy-back some configuration data that can cause issues if the client's config is incompatible

https://github.com/kadena-io/chainweb-sse/pull/4/files#diff-5a6a48a9df5bfafb9f9716accb2bb76c309a0f28c7230f846eb362a89085a29aR39

These are, in increasing order of importance:


Also included a version v which could be a semver-style versioning of the wire protocol for devs (minor changes) or console warnings/thrown errors (major or breaking changes)

Takadenoshi commented 1 year ago

Added documentation and fixed a typing issue - ready for review.