Releases: libsv/go-bt
Release v1.0.0-beta
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
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
Release v0.0.8
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
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
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
Release v0.0.4
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 automaticallyNewP2PKHOutputFromPubKeyHash
renamed toNewP2PKHOutputFromPubKeyHashStr