Skip to content

feat: support extra payload data in transactions (vExtraData)#46

Open
sneurlax wants to merge 1 commit into
peercoin:masterfrom
cypherstack:feat/extra-data
Open

feat: support extra payload data in transactions (vExtraData)#46
sneurlax wants to merge 1 commit into
peercoin:masterfrom
cypherstack:feat/extra-data

Conversation

@sneurlax

Copy link
Copy Markdown
Contributor

Hi all, in doing some maintenance on our fork of coinlib, I decided to break out the differences between cypherstack/coinlib and its peercoin/coinlib base. This is one of those differences: an optional extra data field for txs. Take it or leave it, I won't mind this just being closed :)

"""
Add an optional vExtraData field to Transaction, serialized as a var-length slice after the locktime. This supports special transactions carrying an extra payload, such as Firo masternode (DIP2-style) transactions. The field is carried through input/output modification copies and legacy sighash computation.

Ported from cypherstack/coinlib commit 22778c0.
"""

Add an optional vExtraData field to Transaction, serialized as a
var-length slice after the locktime. This supports special
transactions carrying an extra payload, such as Firo masternode
(DIP2-style) transactions. The field is carried through input/output
modification copies and legacy sighash computation.

Ported from cypherstack/coinlib commit 22778c0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant