Skip to content

Beef utils#156

Merged
shruggr merged 15 commits into
bsv-blockchain:masterfrom
b-open-io:beef-utils
Apr 23, 2025
Merged

Beef utils#156
shruggr merged 15 commits into
bsv-blockchain:masterfrom
b-open-io:beef-utils

Conversation

@shruggr
Copy link
Copy Markdown
Collaborator

@shruggr shruggr commented Apr 23, 2025

Description of Changes

Added

  • NewBeefFromAtomicBytes
  • ParseBeef
  • NewBeefFromTransaction
  • Beef.FindTransaction

Fixed

  • Missing nil checks in beef.go
  • Fix issues with handling of TxidOnly in beef.go

Linked Issues / Tickets

Reference any related issues or tickets, e.g. "Closes #152, #154".

Testing Procedure

Describe the tests you've added or any testing steps you've taken.

  • I have added new unit tests
  • All tests pass locally
  • I have tested manually in my local environment
  • All tests pass when using go test ./...

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have updated CHANGELOG.md with my changes
  • I ran golangci-lint run
  • I have run go fmt and go vet one final time before requesting a review

David Case and others added 15 commits March 14, 2025 12:19
Co-authored-by: chris-4chain <152964795+chris-4chain@users.noreply.github.com>
Co-authored-by: chris-4chain <152964795+chris-4chain@users.noreply.github.com>
Co-authored-by: chris-4chain <152964795+chris-4chain@users.noreply.github.com>
Co-authored-by: chris-4chain <152964795+chris-4chain@users.noreply.github.com>
@shruggr shruggr merged commit e8361de into bsv-blockchain:master Apr 23, 2025
2 of 3 checks passed
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.

[BUG] Beef::ToLogString panics on TxIDOnly BeefTx

1 participant