Commit

class dsviper.Commit

Bases: object

One commit as it is stored.

Its header, and the program of opcodes it contributes to the state.

Note: Not directly instantiable.

header() → CommitHeader

Return the CommitHeader - the label, type, parent and timestamp.

program() → ValueProgram | None

Return the program or None