-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
there is no api to get messages in latest ts #6610
Comments
messages are organized in blocks, not tipsets get the tipset https://github.com/filecoin-project/lotus/blob/master/api/api_full.go#L82 |
@f8-ptrk @jennijuju yes. i can copy the code of blockmsgfortipset to implete a tipset message select in local code. but i must call StateLookupId. this func may be invoked for many times. this code maybe cost a few seconds on network. and hundreds ms in local machine. on the other hand, blockmsgfortipset has relation to network upgrade and different network. this will make my code more complicated. so hope to have such a api to get messages that really to be process in tipset |
i am sure a parallelized constant lookup api call routine of tipsets-blocks-messages will be faster then a single gettipsetmessages api call if implemented right "client" side in your code |
Thanks for the PR! Let's track discussion there. |
Describe the solution you'd like
i want to add a api ***MessageForTipset ***that can return messages in specify tipset key, but not return parent tipset message. i have no way to get messages in latest tipset.
The text was updated successfully, but these errors were encountered: