9b727afc71fix signature hasDefinedHashtype method to be closer to the Bitcoin Core function IsDefinedHashtypeSignature
mruddy
2015-06-30 16:05:28 -0400
02cad1645afix root cause for bitcore.Transaction.sighash.sign not setting nhashtype. added unit tests. fixed an existing lint in a file that i touched.
mruddy
2015-06-24 23:10:31 -0400
ffe6b449cbCheck the compressed property in Signature.fromCompact tests.
Braydon Fuller
2015-05-26 01:02:46 -0400
a5cd5a1407Added support for uncompressed public keys to Signature.fromCompact
Braydon Fuller
2015-05-25 23:57:46 -0400
7719d1bfd4Add test with uncompressed pubkey compact signature.
Braydon Fuller
2015-05-25 23:31:42 -0400
ee651df635Added test for null input for transaction.verify()
Braydon Fuller
2015-05-23 20:28:33 -0400
589d017a14Refactored transaction.getSerializationError to be more concise. - _hasMoreOutputThanInput() and _isInvalidSatoshis() merged with getSerializationError() - _isFeeDifferent(), _isFeeTooLarge() and _isFeeTooSmall merged with _hasFeeError()
Braydon Fuller
2015-05-23 19:58:22 -0400
0b6eaf0f1eCall getUnspentValue() only once in getSerializationError().
David de Kloet
2015-05-21 19:15:06 +0200
3ace170ac5Ignore fee error when unspent output is actually negative, rather than already when the check for negative unspent output is disabled.
David de Kloet
2015-05-21 09:01:08 +0200
ac2fbe2777When disableMoreOutputThanInput is set for getSerializationError, also disable the fee checks as the concept of a fee is meaningless when unspent output value is negative. This also allows for removing the opts from buildSkipTest again and simplifying the skip test for disableMoreOutputThanInput.
David de Kloet
2015-05-20 21:56:52 +0200
dc07788e53Put )); on a separate line.
David de Kloet
2015-05-19 08:58:16 +0200
6729b38944Expect the correct error to be thrown.
David de Kloet
2015-05-19 00:10:43 +0200
8c5b2c851bWhen checking for transaction serialization errors, check the output amount before checking fee errors. Added a test for it and also improved buildSkipTest by specifying which error to expect and using it for some tests where it wasn't used yet.
David de Kloet
2015-05-18 22:40:54 +0200
1c8ebc0eb5Simplify version guard - Updated index.js test to run in Node.js and browsers - Simplified message and clarified case where two of the same versions would conflict
Braydon Fuller
2015-05-18 14:49:29 -0400
83103cb5e2Merge pull request #1239 from braydonf/bug/getdata
Patrick Nagurny
2015-05-18 10:05:49 -0500
7723dd302aAdded test case for an empty OP_RETURN for script.getData() Fixes#1237
Braydon Fuller
2015-05-18 10:35:31 -0400
7e3993578cimprove guard for prevent more than one instance of bitcore
Kirill Fomichev
2015-05-13 08:44:52 +0300
99d8ac1957Remove an unnecessary space.
David de Kloet
2015-05-16 22:54:30 +0200
3d9560c0c5Don't break lines at 80 characters.
David de Kloet
2015-05-16 22:50:44 +0200
8a8412f04aDon't break lines at 80 characters.
David de Kloet
2015-05-16 17:02:31 +0200
8a13a22bafadd Transaction#clearOutputs
Manuel Araoz
2015-05-14 22:34:44 -0300
5fe53ac36dBump package version to 0.12.5
Braydon Fuller
2015-05-14 10:50:33 -0400
796fbc2346Merge pull request #1231 from braydonf/bug/output-to-script
Patrick Nagurny
2015-05-14 09:31:13 -0500
458abe069eFixed issue with handling invalid output scripts - Changed toObject serialization to always use a hexa string for a script - Updated inspect method to handle a null script - Roundtrip toObject/fromObject with an invalid script - Additional test coverage for Output
Braydon Fuller
2015-05-13 09:38:58 -0400
e294505486Some transaction tests were not run because of the way they were built. Fixed this so they are run and fixed one test that still assumed the dust limit at 5460 instead of 546.
David de Kloet
2015-05-13 09:14:00 +0200
26bd5a864aSimplify transaction.getSerializationError(). This takes care of some lint errors about number of statements and cyclomatic complexity.
David de Kloet
2015-05-13 00:26:33 +0200
346b2af446delete writable for accessor property
Kirill Fomichev
2015-05-10 23:28:52 +0300
056f171e22Remove the ability to disable the check that a specified fee is equal to the unspent value.
David de Kloet
2015-05-10 01:32:28 +0200
b1e54101d3Call the parent error of the fee errors FeeError for backwards compatibility.
David de Kloet
2015-05-10 00:38:56 +0200
8da9c4a44aGive the 3 fee errors a common parent error.
David de Kloet
2015-05-10 00:32:27 +0200
d1eb190626Introduce different kinds of FeeError to distinguish the different cases. Fix the issue uncovered by this, which is that getFee might not be the actual fee, but only an estimate, if a change address is specified but there isn't enough to pay a fee and have change.
David de Kloet
2015-05-09 21:06:40 +0200