-
Notifications
You must be signed in to change notification settings - Fork 349
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
Decide what to do about including identical messages in the same block #226
Comments
I think we should not forbid including the same data multiple times. Also, on the long run, one PFD should be able to pay for multiple messages anyways. Hence, including the same message multiple times should be valid as long as the PFD pays multiple times (i.e. the paid fee covers all messages). |
* convert PreprocessTxs to PrepareProposal * add message inclusion check to ProcessProposal * use the malleated tx decoder to decode malleated transactions * use constant for pay for message URL * switch from PayForMessage to PayForData * fix integration test * address #226 * change missed var name Co-authored-by: Ismail Khoffi <[email protected]> * get missed pfm vs pfd Co-authored-by: Ismail Khoffi <[email protected]> * pfm -> pfd Co-authored-by: John Adler <[email protected]> * better wording Co-authored-by: John Adler <[email protected]> * better wording Co-authored-by: John Adler <[email protected]> * message -> data Co-authored-by: John Adler <[email protected]> * pfm -> pfd Co-authored-by: Ismail Khoffi <[email protected]> * remaining pfms -> pfds * get rid of empty space Co-authored-by: John Adler <[email protected]> * get rid of empty space Co-authored-by: John Adler <[email protected]> * log URL type mismatch * add todo for refactoring to check for subtree roots Co-authored-by: Ismail Khoffi <[email protected]> Co-authored-by: John Adler <[email protected]>
this is now the case since we implemented the non-interactive defaults and #692 |
Per these initial comments #216 (comment) #216 (comment)
If two identical messages are submitted, then a block producer has the option to
With the mechansim introduced in #216, we are currently rejecting proposed blocks that include both identical messages, which forces either option 1 or option 3, but we still need to make a formal decision over what we want block producers to do in this scenario.
The text was updated successfully, but these errors were encountered: