Skip to content

Add tags to Begin/Endblock and support subscriptions to them #915

@t-bast

Description

@t-bast

FEATURE REQUEST

Hey guys,

First of all, thanks for all the good work you've done with Tendermint, it's a really great project!
I have a question / feature request about pub-sub events, and I wasn't able to find a good answer in the code.
I currently have my client app subscribed to TMCore's new block events and this is really handy.
But I haven't found a way to fire an event from my ABCI app to the client app (unless I open a dedicated connection between the two).
I'd like to re-use TMCore's pub-sub system and be able to fire such events from my ABCI app and have TMCore forward the event to connected clients. Maybe I have missed something, but it looks like I can't do that right now.
Would it be reasonable to add such a feature? Or do you think it's a bad design and I should have a dedicated connection between my client and my ABCI app? Or do you see another solution?

Note: in my case I'm compiling Tendermint with my ABCI, so they are part of the same process. I can understand that in the general case where Tendermint and the ABCI app are separate processes, this feature might be a bit heavy so I would understand if you just tell me that this is a bad idea :)

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    C:abciComponent: Application Blockchain InterfaceC:rpcComponent: JSON RPC, gRPCT:questionType: Question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions