Commit Graph

  • e74a65fd0a Combined slice calls for performance improvement. Braydon Fuller 2015-06-26 19:21:15 -0400
  • 8e6b0147b9 Fixed issue with incompatible buffer.toJSON for node 0.10 and 0.12 Braydon Fuller 2015-06-26 16:38:42 -0400
  • a3dee0695d Improved performance of bufferReader.readUInt64LEBN() Braydon Fuller 2015-06-26 14:02:26 -0400
  • 9ab6eefef3 Bump package version to 0.12.11 Braydon Fuller 2015-07-01 14:54:41 -0400
  • e99ccb8223 Merge pull request #1284 from mruddy/fix/signature_has_defined_hashtype Braydon Fuller 2015-07-01 10:23:33 -0400
  • 9b727afc71 fix signature hasDefinedHashtype method to be closer to the Bitcoin Core function IsDefinedHashtypeSignature mruddy 2015-06-30 16:05:28 -0400
  • e85bb15dd2 Merge pull request #1278 from mruddy/fix/signature-set-nhashtype Braydon Fuller 2015-06-30 15:43:02 -0400
  • 02cad1645a fix 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
  • 6dd599187c Merge pull request #1276 from greggzigler/feature/get-sigops-count Braydon Fuller 2015-06-25 19:20:14 -0400
  • b6d44f4622 camelCase variable names Gregg Zigler 2015-06-25 17:53:50 -0400
  • 2def421506 Merge pull request #1277 from braydonf/transaction-benchmarks Patrick Nagurny 2015-06-25 11:07:07 -0400
  • b5ada707bd Benchmarks for block serialization & 4x performance improvement. Braydon Fuller 2015-06-24 19:45:08 -0400
  • 77645c7f03 remove skipped tests since equalivant boolean tests already exist Gregg Zigler 2015-06-24 14:44:27 -0400
  • 183ffab02b match bitcore style standards, rename arg, set default to true Gregg Zigler 2015-06-24 14:18:55 -0400
  • a4b8c06a2d get-signature-count needed to measure txs with many inputs or outputs Gregg Zigler 2015-06-24 13:30:25 -0400
  • 3d6eae66d9 Bump package version to 0.12.10 Braydon Fuller 2015-06-24 09:57:42 -0400
  • 8e13b68405 Merge pull request #1268 from brandonrobertz/master Braydon Fuller 2015-06-23 18:02:14 -0400
  • 3518843f98 stylistic change and unnecessary test code removal Brandon Roberts 2015-06-23 09:46:53 -0700
  • 783c59d99e removed Networks.all and associated test Brandon Roberts 2015-06-22 20:36:06 -0700
  • e07186df07 remove unnecessary filtering code Brandon Roberts 2015-06-20 14:26:01 -0700
  • 37b5d3d588 Merge pull request #1264 from fanatid/fix/sortOutputs Braydon Fuller 2015-06-18 11:06:20 -0400
  • 1b2c69ba6c Bump package version to 0.12.9 Braydon Fuller 2015-06-17 10:28:00 -0400
  • 8c62a5f95c Include development quick start info Braydon Fuller 2015-06-16 12:50:49 -0400
  • a4ac3f50d3 Merge pull request #1271 from isocolsky/fix/fee_estimation Matias Alejo Garcia 2015-06-11 15:35:31 -0300
  • a53bd10f42 test explicitly passed invalid network Brandon Roberts 2015-06-11 08:05:35 -0700
  • 43e9ce87f6 Merge pull request #1255 from braydonf/build-versions Matias Alejo Garcia 2015-06-11 11:06:55 -0300
  • f638b5bd6e test fee per kb Ivan Socolsky 2015-06-10 22:28:15 -0300
  • 0e6aec1c94 allow configuration of fee per kb Ivan Socolsky 2015-06-10 22:17:12 -0300
  • d9d5a26085 fix computation of fee without change output Ivan Socolsky 2015-06-10 17:37:48 -0300
  • a38c0c2d93 modularize network version check/tests issues/1265 Brandon Robertz 2015-06-08 19:40:58 -0500
  • b9d52b79c8 fix Transaction.sortOutputs Kirill Fomichev 2015-06-05 20:53:36 +0300
  • 49e621f4f2 Merge pull request #1262 from mpolci/master Patrick Nagurny 2015-06-05 11:01:31 -0400
  • 0d2784eb1e created test to verify correct network initialization in PrivateKey.fromJSON() mpolci 2015-06-05 01:51:27 -0700
  • d60d8cf2bc fixed PrivateKey initialization from JSON Utente 2015-06-03 12:23:01 -0700
  • c671a97c26 Bump package version to 0.12.8 Braydon Fuller 2015-06-03 10:28:18 -0400
  • 37d0e1f956 Merge pull request #1258 from braydonf/bug/double-error Matias Alejo Garcia 2015-06-01 23:08:34 -0300
  • 5e58adca5f Removed double errors in publickey. Fixes #1256 Braydon Fuller 2015-06-01 13:40:52 -0400
  • 5d77ff7c58 Merge pull request #1253 from maraoz/bn-fromstring Braydon Fuller 2015-06-01 13:35:21 -0400
  • 38f1684d54 multiple versions of node Braydon Fuller 2015-05-28 09:50:22 -0400
  • 60b07b5b3c Merge pull request #28 from braydonf/bn-fromstring Manuel Aráoz 2015-05-27 15:30:14 -0300
  • a03e6b9385 Add base option for BN.fromString Braydon Fuller 2015-05-27 14:11:43 -0400
  • e2542866d1 expose BN.fromString problem Manuel Araoz 2015-05-27 15:01:26 -0300
  • 5ee1c3f6aa Bump package version to 0.12.7 Braydon Fuller 2015-05-27 10:30:16 -0400
  • 4c1ba674c5 Merge pull request #1248 from braydonf/bug/misleading-error Patrick Nagurny 2015-05-26 11:32:51 -0600
  • 7cf97ac379 Merge pull request #1250 from braydonf/feature/compact-uncompressed Patrick Nagurny 2015-05-26 11:32:42 -0600
  • c9a9ed3bd4 Merge pull request #1251 from braydonf/maintainers-update Patrick Nagurny 2015-05-26 11:07:43 -0600
  • 6decfbc5d1 Update readme maintainers. Braydon Fuller 2015-05-26 13:01:20 -0400
  • ffe6b449cb Check the compressed property in Signature.fromCompact tests. Braydon Fuller 2015-05-26 01:02:46 -0400
  • a5cd5a1407 Added support for uncompressed public keys to Signature.fromCompact Braydon Fuller 2015-05-25 23:57:46 -0400
  • 7719d1bfd4 Add test with uncompressed pubkey compact signature. Braydon Fuller 2015-05-25 23:31:42 -0400
  • ee651df635 Added test for null input for transaction.verify() Braydon Fuller 2015-05-23 20:28:33 -0400
  • 589d017a14 Refactored 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
  • 0b6eaf0f1e Call getUnspentValue() only once in getSerializationError(). David de Kloet 2015-05-21 19:15:06 +0200
  • 3ace170ac5 Ignore 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
  • ac2fbe2777 When 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
  • dc07788e53 Put )); on a separate line. David de Kloet 2015-05-19 08:58:16 +0200
  • 6729b38944 Expect the correct error to be thrown. David de Kloet 2015-05-19 00:10:43 +0200
  • 8c5b2c851b When 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
  • 001f71d1bf Merge pull request #1245 from maraoz/reorg-tests Braydon Fuller 2015-05-23 17:13:05 -0400
  • 74e285dadd fix imports for block tests Manuel Araoz 2015-05-20 15:02:03 -0300
  • 6e49ed0e40 reorganize block test files Manuel Araoz 2015-05-20 14:42:48 -0300
  • ea9be99854 Bump package version to 0.12.6 Braydon Fuller 2015-05-20 10:34:41 -0400
  • b53f249d02 Merge pull request #1235 from maraoz/transaction/clearOutputs Braydon Fuller 2015-05-18 16:24:02 -0400
  • 85dd29e576 Merge pull request #1227 from fanatid/fix/inBrowser Braydon Fuller 2015-05-18 16:22:14 -0400
  • c251c2bfd1 Merge pull request #1226 from dskloet/refactor/get-serialization-error Braydon Fuller 2015-05-18 15:08:50 -0400
  • 1c8ebc0eb5 Simplify 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
  • 83103cb5e2 Merge pull request #1239 from braydonf/bug/getdata Patrick Nagurny 2015-05-18 10:05:49 -0500
  • 7723dd302a Added test case for an empty OP_RETURN for script.getData() Fixes #1237 Braydon Fuller 2015-05-18 10:35:31 -0400
  • 7e3993578c improve guard for prevent more than one instance of bitcore Kirill Fomichev 2015-05-13 08:44:52 +0300
  • 99d8ac1957 Remove an unnecessary space. David de Kloet 2015-05-16 22:54:30 +0200
  • 3d9560c0c5 Don't break lines at 80 characters. David de Kloet 2015-05-16 22:50:44 +0200
  • 8a8412f04a Don't break lines at 80 characters. David de Kloet 2015-05-16 17:02:31 +0200
  • 8a13a22baf add Transaction#clearOutputs Manuel Araoz 2015-05-14 22:34:44 -0300
  • 5fe53ac36d Bump package version to 0.12.5 Braydon Fuller 2015-05-14 10:50:33 -0400
  • 796fbc2346 Merge pull request #1231 from braydonf/bug/output-to-script Patrick Nagurny 2015-05-14 09:31:13 -0500
  • 458abe069e Fixed 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
  • 0dbd9db0ea Merge pull request #1233 from carnesen/typo Braydon Fuller 2015-05-13 18:59:31 -0400
  • ec2d726e49 typo "formated" Chris Arnesen 2015-05-13 15:48:23 -0700
  • beeb294e45 Merge pull request #1217 from fanatid/fix/writeable Braydon Fuller 2015-05-13 09:22:56 -0400
  • 4bc3356b78 Merge pull request #1229 from dskloet/test/fix-transaction Braydon Fuller 2015-05-13 09:13:54 -0400
  • e294505486 Some 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
  • 26bd5a864a Simplify 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
  • bb843ee6a5 Merge pull request #1225 from pnagurny/feature/nullScript Braydon Fuller 2015-05-12 17:36:47 -0400
  • de078a40d3 If output.script is InvalidBuffer, return null instead of throwing error Patrick Nagurny 2015-05-12 16:55:31 -0400
  • a02258dfba Merge pull request #1218 from maraoz/docs/pubkeys Braydon Fuller 2015-05-12 13:31:34 -0400
  • 48761fd08f formatting fixes on pubkey docs Manuel Araoz 2015-05-12 13:47:14 -0300
  • 8e7528d13f Merge pull request #1219 from braydonf/coverage/transaction Eric Martindale 2015-05-11 17:48:50 -0400
  • fd36c392e4 Merge pull request #1220 from braydonf/fix/hd-docs Eric Martindale 2015-05-11 17:39:56 -0400
  • 993125428e Merge pull request #1213 from braydonf/bug/is-fully-signed Eric Martindale 2015-05-11 15:12:44 -0400
  • 55f663737f Update HDPrivateKey docs. Fixes #1209 Braydon Fuller 2015-05-11 14:30:58 -0400
  • 53b6171547 Added coverage to transaction and fixed bug with serialization check. Braydon Fuller 2015-05-11 13:39:53 -0400
  • 6a3e10539c small doc fixes Manuel Araoz 2015-05-11 12:47:25 -0300
  • 951a07c011 fix PublicKey.toObject Manuel Araoz 2015-05-11 12:24:45 -0300
  • 74b93e228c add compressed vs uncompressed docs Manuel Araoz 2015-05-11 12:07:17 -0300
  • 698625cc47 Merge pull request #1214 from dskloet/fix/fee Braydon Fuller 2015-05-11 10:28:19 -0400
  • 346b2af446 delete writable for accessor property Kirill Fomichev 2015-05-10 23:28:52 +0300
  • 056f171e22 Remove 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
  • b1e54101d3 Call the parent error of the fee errors FeeError for backwards compatibility. David de Kloet 2015-05-10 00:38:56 +0200
  • 8da9c4a44a Give the 3 fee errors a common parent error. David de Kloet 2015-05-10 00:32:27 +0200
  • d1eb190626 Introduce 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