Skip to content
This repository was archived by the owner on Jul 14, 2020. It is now read-only.

RFC003 HTLC for Bitcoin needs expiry timestamp to be little-endian #93

@thomaseizinger

Description

@thomaseizinger

With PR #90, the Bitcoin HTLC was updated to be constructed from a HEX payload and the parameters to be replaced through byte ranges.

The timestamp is pushed onto the stack using OP_PUSHDATA4, which according to the docs, needs to be little-endian: https://en.bitcoin.it/wiki/Script#Constants

This has to be made LOUD AND CLEAR in the RFC since the HTLC does not work otherwise.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions