Tags: libsv/go-bt
Tags
Fix/valid tx execute (#173) * valid transaction fails to execute * fake opcode to reconstruct subscript even when we can’t parse the data. Signed-off-by: Darren Kellenschwiler <deggen@kschw.com> * aligning the tests to this new concept Signed-off-by: Darren Kellenschwiler <deggen@kschw.com> * off by one - fix for op return with no bytes. one byte, and multiple bytes after the return statement Signed-off-by: Darren Kellenschwiler <deggen@kschw.com> --------- Signed-off-by: Darren Kellenschwiler <deggen@kschw.com> Co-authored-by: Michael Boeckli <michael.boeckli@taal.com>
Add conditional break in parsing the script after op return… (#170) * Added conditional break in parsing the script after op return… … so long as we are not in a conditional block. This is to get the library in line with v1.0.15.1 of SV node as outlined within this issue: bitcoin-sv/bitcoin-sv#296 Logic should match SV node here: https://github.com/bitcoin-sv/bitcoin-sv/blob/89d55a8ddb0e29f4786e11efad1e92cdefd0b9c5/src/script/script.cpp#L38 Signed-off-by: Darren Kellenschwiler <deggen@kschw.com> * typo Signed-off-by: Darren Kellenschwiler <deggen@kschw.com> * Add unit test for Parse function --------- Signed-off-by: Darren Kellenschwiler <deggen@kschw.com> Co-authored-by: Michael Boeckli <michael.boeckli@taal.com>
Make CreateOpReturnOutput public (#131) * Merge branch 'master' of https://github.com/libsv/go-bt * Fix panic in ToAsm() caused by last commit. (#109) * Fix rename of variable * Fixed an old test that was failing due to changes in ToAsm() method * Explicity check error * Spelling * All transaction parsing functions now use one function. Added BIP-239 support (extended transaction format) * Add comments and extra test * Overcome linter * Linter workarounds * Linter fix * More linting workarounds * Minor changes to address comments in PR * Make CreateOpReturnOutput public * Added comment to CreateOpReturnOutput
DRY changes and adding support for BIP-239 Extended Transaction Format ( #130) * Merge branch 'master' of https://github.com/libsv/go-bt * Fix panic in ToAsm() caused by last commit. (#109) * Fix rename of variable * Fixed an old test that was failing due to changes in ToAsm() method * Explicity check error * Spelling * All transaction parsing functions now use one function. Added BIP-239 support (extended transaction format) * Add comments and extra test * Overcome linter * Linter workarounds * Linter fix * More linting workarounds * Minor changes to address comments in PR
PreviousNext