Skip to content

prevalidation #17

Description

@nicolasochem

Relay

The relay receives operations and keeps them until they are included. But they could become no longer valid, for example:

  • user got tired of waiting and used regular mempool
  • user tries to buy an NFT that has already been purchased by someone else

Tezos has a "preapply" endoint which lets you check whether the operation would be applied.

I think preapply does:

As a result, if this fails, we should remove the operation from the relay's mempool.

Endpoint

The endpoint should also prevalidate the current winner of the auction, before submitting it, otherwise the baker won't include the operation and the flashbaker won't earn the fee.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions