Skip to content

[DISCUSSION] BEEF_V2 & Atomic BEEF support #773

@sirdeggen

Description

@sirdeggen

Summary

Update to latest version of go-sdk which has inbuilt functions for parsing both BEEF_V1 and BEEF_V2, and Atomic BEEF.

/tx should support Atomic BEEF
/txs should support BEEF_V2

Perhaps we should maintain BEEF_V1 support for a while on both.

Motivation

Mixed reviews on using ARC with sets of transactions which happen together.

Description

The expectation is that v2 is a set of potentially unrelated transactions. We should be smart about parsing beef in general where we build up a dependency tree so there is some understanding of whether there are parents and children involved. We also should be cognizant of whether txs in the BEEF have Merkle Paths which means they are there for the purpose of SPV validation on receipt; or if they don't then to add them to the list of transactions which need to be broadcast in order of parent, child etc. The response could be an array of responses to each tx we attempted to broadcast, but callbacks ought to be fired off on an individual tx basis.

Additional References

Tone's feedback to the ARC dev team.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions