TxPipelineIdentityStrategy

org.sigilaris.node.txpipeline.TxPipelineIdentityStrategy
See theTxPipelineIdentityStrategy companion trait

Attributes

Companion
trait
Source
TxPipelineIdentity.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

Constructs a strategy from one identity function.

Constructs a strategy from one identity function.

Attributes

Source
TxPipelineIdentity.scala
def v1[F[_] : Sync](identityScope: String): TxPipelineIdentityStrategy[F]

Default v1 identity strategy.

Default v1 identity strategy.

This preserves the existing bbgo.tx-pipeline.id.v1 preimage and SHA-256 output. The pipeline id is txp_ followed by the same lowercase hash.

Attributes

Source
TxPipelineIdentity.scala

Pure v1 canonical payload hash calculation.

Pure v1 canonical payload hash calculation.

Attributes

Source
TxPipelineIdentity.scala
def v1Identity(normalized: TxPipelineNormalizedRequest, identityScope: String): TxPipelineIdentity

Pure v1 identity calculation, shared by JVM and Scala.js.

Pure v1 identity calculation, shared by JVM and Scala.js.

Attributes

Source
TxPipelineIdentity.scala

Derives the v1 pipeline id from an already calculated canonical hash.

Derives the v1 pipeline id from an already calculated canonical hash.

Attributes

Source
TxPipelineIdentity.scala