Retrieves PoS minting context details. Required to build a PoS block.

Outputs:

  • sm — prepared current stake modifier object.
  • starter_timestamp — current minimum allowed timestamp for a PoS block.
  • pos_basic_difficulty — current PoS difficulty.
  • last_block_hash — hash identifier of the top block in the blockchain.
  • pos_mining_allowed — true if PoS minting is currently allowed.
Language