Operate v0.1.0-beta.5 Operate.BPU.Script View Source

Bitcoin Processing Unit Script module.

Provides methods for parsing and serializing input and output scripts to and from bare maps.

Link to this section Summary

Types

t()

BPU Script

Functions

Converts the given map or list of maps into a Operate.BPU.Script.t/0.

Link to this section Types

Link to this type

t()

View Source
t() :: %Operate.BPU.Script{
  e: map() | nil,
  i: integer() | nil,
  tape: [Operate.BPU.Cell.t(), ...]
}

BPU Script

Link to this section Functions

Link to this function

from_map(source)

View Source
from_map(map() | list()) :: Operate.BPU.Script.t() | list()

Converts the given map or list of maps into a Operate.BPU.Script.t/0.