You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not a new feature or an enhancement to the Filecoin protocol. If it is, please open an FIP issue.
This is not a new feature request. If it is, please file a feature request instead.
This is not brainstorming ideas. If you have an idea you'd like to discuss, please open a new discussion on the lotus forum and select the category as Ideas.
I have a specific, actionable, and well motivated improvement to propose.
Lotus component
lotus daemon - chain sync
lotus miner - mining and block production
lotus miner/worker - sealing
lotus miner - proving(WindowPoSt)
lotus miner/market - storage deal
lotus miner/market - retrieval deal
lotus miner/market - data transfer
lotus client
lotus JSON-RPC API
lotus message management (mpool)
Other
Improvement Suggestion
EthFeeHistory currently:
Loads all messages in a tipset.
Searches for the message receipts using StateSearchMsg.
Computes the "gas reward" from the message + receipt.
It also looks like it starts search at the current head.
This has a runtime of (height_scanned*messages_per_tipset)^2.
Given that we're walking backwards, we can instead:
Load the "parent receipts" from the current tipset.
Walk back one tipset.
Load the messages.
Use the receipts from step 1 and messages from step 3.
Repeat.
The text was updated successfully, but these errors were encountered:
Checklist
Ideas
.Lotus component
Improvement Suggestion
EthFeeHistory currently:
StateSearchMsg
.It also looks like it starts search at the current head.
This has a runtime of
(height_scanned*messages_per_tipset)^2
.Given that we're walking backwards, we can instead:
The text was updated successfully, but these errors were encountered: