Skip to content

Releases: libsv/go-bt

Release v1.0.0-beta

14 May 16:40
1b83985
Compare
Choose a tag to compare
Release v1.0.0-beta Pre-release
Pre-release

Changelog

1b83985 Merge pull request #27 from libsv/dust_limit
ccef34d adding dust limit to change calc as we don't want to add change output if the value is below dustlimit, nodes will reject the tx. Added two new helper methods for finding output indexes by address or script
5cb4e41 docs: update comments
29fba99 if we are NOT adding a new change output, don't remove the last output. Handle available overflowing if the fees exceed available
d7c78e0 previous fix could return change < dust if the fees reduced change below, now also calc change after fees are estimated to give a more accurate change. tests added to cover these edge cases
4673d5c set available to 0 if below dust limit

Release v0.0.11

06 May 17:50
711c7a8
Compare
Choose a tag to compare
Release v0.0.11 Pre-release
Pre-release

Changelog

711c7a8 Fix oppushdata overflow bug (#22)
80bf78a Merge pull request #21 from libsv/changetooutput
4bb9384 adding new CalculateFee method
578f68a adding new ChangeToOutput function, used to add change and add the value to an existing output
94ffaf8 fix up input length check and add test
43b22c0 fix: british spelling (american linter) lol
d2651db fixing linter issues
e5e01aa use 5/10 sat/byte also for data fees

Release v0.0.9

25 Feb 17:18
d907793
Compare
Choose a tag to compare
Release v0.0.9 Pre-release
Pre-release

Changelog

d907793 Merge pull request #17 from libsv/feat/PreviousTxIDBytes
e5e4bc0 docs: multisig note
d10c320 feat: add PreviousTxIDBytes to Input struct

Release v0.0.8

04 Feb 09:12
89f3e3f
Compare
Choose a tag to compare
Release v0.0.8 Pre-release
Pre-release

Changelog

17f745e Added a func to return the TXID of a transaction as a byte slice.
238bd5a Bump github.com/stretchr/testify from 1.6.1 to 1.7.0
447d6f9 Merge pull request #11 from libsv/dependabot/go_modules/master/github.com/stretchr/testify-1.7.0
2524730 Merge pull request #12 from ctnguyen/feature/AddInputFromTx
89f3e3f Merge pull request #14 from ordishs/master
603f3c7 add method allowing a transaction to add inputs knowing the previous utxos owner

Release v0.0.7

11 Jan 12:56
f584c99
Compare
Choose a tag to compare
Release v0.0.7 Pre-release
Pre-release

Changelog

0702763 Adding test for GetInputPreimage()
f68b12f In order to function like bitcoin node, ToASM() will append [error] to script rather than return an error.
f584c99 Merge pull request #10 from ordishs/master
589e2dd Merge pull request #9 from ordishs/master
05654b0 Separate the serialisation (preimage) and the hashing in GetInputSignatureHash
69f4b49 fix: comment typo

Release v0.0.6

25 Dec 17:09
e4a51e7
Compare
Choose a tag to compare
Release v0.0.6 Pre-release
Pre-release

Changelog

662c429 Added two tests to highlight change/fees
09e23b0 Fixed makefile names and extensions
e4a51e7 Merge pull request #8 from libsv/develop
b9a1fc7 Patch: issue with multiple inputs being signed
48fbd22 Run both versions of Go, once a day
881f75a Upgraded deps
4d6d344 fix: inputsSigned bug (signing more than 1 input)

Release v0.0.5

04 Dec 13:32
adc5870
Compare
Choose a tag to compare
Release v0.0.5 Pre-release
Pre-release

Changelog

adc5870 Merge pull request #7 from rohenaz/test/parse-tx
79f8e3d add test case for tx that fails to parse, and code required to make it pass.
30443bf remove space
c2a912f single import

Release v0.0.4

30 Nov 14:17
7ff5471
Compare
Choose a tag to compare
Release v0.0.4 Pre-release
Pre-release

Changelog

  • Lots of refactoring and tests
  • Upgrade dependencies
  • New funcs added:
    • NewTxFromStream
    • NewP2PKHOutputFromPubKeyStr
    • NewP2PKHOutputFromPubKeyBytes
    • NewP2PKHFromPubKeyEC
  • BREAKING CHANGES:
    • SignAuto now returns a third var: inputsSigned in order to easily know if any inputs and which ones were signed automatically
    • NewP2PKHOutputFromPubKeyHash renamed to NewP2PKHOutputFromPubKeyHashStr

Release v0.0.3

18 Nov 00:28
Compare
Choose a tag to compare
Release v0.0.3 Pre-release
Pre-release

Changelog

c82d62d Develop to Master (Updates) (#3)
edc372f docs: fix github display issue