Function computeAuctionEndBlock

  • Compute approximate auction end height.

    From Ceres, each time a new (successful!) bid is made for a name the auction is extended for up to 120 key-blocks/generations. I.e. after the bid there is always at least 120 generations to make a higher bid.

    Parameters

    • name: `${string}.chain`

      Name to compute auction end for

    • claimHeight: number

      Auction starting height

    Returns number

    Auction end height