reticulum-js
    Preparing search index...
    • Searches for a valid 32-byte channel PoW stamp.

      Thin wrapper over the LXMF generateStamp random-trial search, keyed on the transient id of channel_hash ‖ inner_blob and expanded at rfed's 16 rounds. Returns [stamp, achievedValue] once stampValue(workblock, stamp) >= stampCost.

      Parameters

      • channelHash: Uint8Array<ArrayBufferLike>

        16-byte channel identity hash.

      • innerBlob: Uint8Array<ArrayBufferLike>

        EC-encrypted channel message.

      • stampCost: number

        Required leading zero bits (rfed default 16).

      Returns Promise<[Uint8Array<ArrayBufferLike>, number]>

      [stamp, achievedValue].