streamingfast / substreams

Powerful Blockchain streaming data engine, based on StreamingFast Firehose technology.
Apache License 2.0
150 stars 44 forks source link

Add capabllity to return an operator message in the initial connection handshake #465

Open matthewdarwin opened 2 months ago

matthewdarwin commented 2 months ago

Substreams can already return the trace_id to the user. Based on how that feature works, add a new feature to allow an additional message to be returned to the consumer.

The operator could configure --common-connect-message: foobar

Then when user connects they could receive an "operator message: foobar". Graph-node could log this information for debugging purposes.