MinaProtocol / mina

Mina is a cryptocurrency protocol with a constant size blockchain, improving scaling while maintaining decentralization and security.
https://minaprotocol.com
Apache License 2.0
1.99k stars 529 forks source link

Feature Request: (GraphQL) pooledUserCommands return also as recipient #8371

Open nerdvibe opened 3 years ago

nerdvibe commented 3 years ago

Hey there,

I noticed that pooledUserCommands takes as a parameter a public key and returns the outgoing user commands, but not the incoming user commands.

I think it would make sense to include also the incoming commands? Is not fundamental for my use case, but for sure it would be really nice having it because it would allow to have a better overview of the mempool, which at the moment isn't possible (at least I can't imagine a way of getting the incoming TXs without querying the whole mempool and then filtering it).

robinbb commented 2 years ago

@shimkiv Do you perceive that this is a "GraphQL issue", or is this a deeper concern about what is query-able from the mempool?