filecoin-project / lotus

Reference implementation of the Filecoin protocol, written in Go
https://lotus.filecoin.io/
Other
2.84k stars 1.26k forks source link

Feature request - supporting fetching mempool messages to/from address #5141

Open Schwartz10 opened 3 years ago

Schwartz10 commented 3 years ago

A query param to MpoolPending so that I can (ideally, in a somewhat performant way from a web app pov) get a list of all messages in the mempool being sent to/from a particular address.

Could use the same MessageMatch type that's used in StateListMessages, defined here maybe?

Alongside https://github.com/filecoin-project/lotus/pull/4184, this would allow the Glif wallet to show a list of a user's pending transactions, and allow the user to replace any stuck messages at a higher fee.

magik6k commented 3 years ago

Hmm, this doesn't seem to be addressed by #5169

f8-ptrk commented 3 years ago

if we can expand this to a command to fetch all messages from/to a certain address from connected peers - would be great