Commit Graph

56 Commits

Author SHA1 Message Date
Matias Alejo Garcia d0f2601512 add normalized hash for Txs 2014-04-10 23:30:04 -03:00
Manuel Araoz 34ed503830 fixed 23 Transaction tests!!! :D 2014-04-04 17:33:36 -03:00
Manuel Araoz 43a031bc69 remove console.logs 2014-04-04 14:41:46 -03:00
Manuel Araoz db38feacce fix old tests for sighash 2014-04-04 14:41:46 -03:00
Manuel Araoz 1119b6f9e7 fixed SignatureHash tests!!!!! 2014-04-04 14:39:06 -03:00
Manuel Araoz 3886bfe923 some hashForSignature tests passing! :D 2014-04-04 14:39:06 -03:00
Manuel Araoz dbfbc26adc tracking down Transaction test problems 2014-04-04 14:39:06 -03:00
Matias Alejo Garcia f6f7a01efc add p2sh support and test 2014-04-02 00:59:26 -03:00
Matias Alejo Garcia 2af6ab7650 TX_MULTISIG support 2014-03-31 14:41:27 -03:00
Matias Alejo Garcia cb1a2d9b48 TransactionBuiler working with test 2014-03-28 21:17:34 -03:00
Matias Alejo Garcia 3d61a1480e remove blockchain* inputcache* related code 2014-03-27 12:47:31 -03:00
Manuel Araoz 057b7c2a0d added bitcointalk reference 2014-03-26 14:50:50 -03:00
Manuel Araoz b020fe1e80 add sighash tests 2014-03-26 11:51:28 -03:00
Ryan X. Charles fa47ee9984 Merge remote-tracking branch 'matiu/feature/Block-test'
Conflicts:
	util/util.js
2014-03-21 14:57:45 -07:00
Matias Alejo Garcia 02296d9517 fix firefox compatibility issue with buffertools#compare 2014-03-21 18:52:49 -03:00
Matias Alejo Garcia 684be77268 small fixes in block, adapt to browser bignum. remove legacy code 2014-03-21 16:39:38 -03:00
Manuel Araoz ba92a6b1df refactor and fixes for Transaction, ScriptInterpreter, and Key 2014-03-21 12:13:23 -07:00
Manuel Araoz b227341c12 some Transaction tests fixed (canonical signatures) 2014-03-21 12:13:23 -07:00
MattFaus 5af02e937a Work in progress. I have a problem with the verifyInput() callback calling itself whenever the test assertions throw an exception. I looked at the step and async libraries that are already installed via package.json, but I don't think either of these provide the functionality I need. 2014-03-21 12:13:23 -07:00
Matias Alejo Garcia aab52ad229 updated interfase to create: create and createAndSign 2014-03-18 11:32:31 -03:00
Matias Alejo Garcia eb8763ac9f add comment regarding coins selection 2014-03-16 23:51:35 -03:00
Matias Alejo Garcia 041f06aae1 dynamic fee 2014-03-16 23:47:01 -03:00
Matias Alejo Garcia 0c83ecf5fb new interfase for create TX (select + prepare + sign) 2014-03-16 20:50:49 -03:00
Matias Alejo Garcia 42d30f44a8 better utxo selection, combining inputs different confimations steps 2014-03-16 19:18:46 -03:00
Matias Alejo Garcia 242f4381ae fix error in commit 2014-03-15 22:00:58 -03:00
Matias Alejo Garcia 530f05f876 add limit to try-verify loop 2014-03-15 21:15:10 -03:00
Matias Alejo Garcia a2041d5790 add TX signing. Support to p2pubkeyhash 2014-03-15 21:12:23 -03:00
Matias Alejo Garcia 706162e2ba #create for Transaction and tests 2014-03-15 12:21:59 -03:00
Matias Alejo Garcia 671d372c19 tx creation working. more tests needed 2014-03-15 03:27:06 -03:00
Matias Alejo Garcia ada92746b7 selectUnspent function and tests 2014-03-14 17:38:42 -03:00
Ryan X. Charles c19fb7a3ce Merge remote-tracking branch 'matiu/feature/support-soop-browser'
Conflicts:
	Script.js
	ScriptInterpreter.js
	Transaction.js
	test/testdata.js

...conflicts resolved by taking Manuel's changes, and then manually including
Matias's changes on those same files. The conflicts resulted from differences
in indentation, which is because Matias' changes unindendented all the code
that had been but is not now inside a function.
2014-03-08 19:30:21 -05:00
Matias Alejo Garcia c0c325dabd all classes working with soop and test passing 2014-03-05 16:11:16 -03:00
Manuel Araoz ade6f36c34 basic Transaction test working 2014-03-05 09:56:42 -03:00
Manuel Araoz 6755b84fbf Transaction new tests not working 2014-03-05 09:56:42 -03:00
Manuel Araoz 1c9b89f4f3 reverted some unwanted changes 2014-02-18 17:58:16 -03:00
Manuel Araoz e0233f02dd fix Buffer.concat use 2014-02-18 16:03:44 -03:00
Manuel Araoz 966b8988e1 fix reverse buffertools use 2014-02-18 16:03:44 -03:00
Manuel Araoz d96181898a fixed concat references 2014-02-18 16:03:44 -03:00
Manuel Araoz d2e7c7fc19 fix buffertools in Transaction 2014-02-18 16:03:43 -03:00
Manuel Araoz cdf53d1fc5 migrating to buffertools best practices 2014-02-18 16:03:43 -03:00
Ryan X. Charles 92f6d1e529 remove "use strict" which is causing problems.
"use strict" enforces good js. We should go through and carefully add "use
strict" throughout bitcore and fix all problems that are found along the way.
2014-02-05 15:16:24 -05:00
Manuel Araoz b509732aa3 bignum in browser 2014-02-04 16:37:05 -03:00
Jeff Garzik a2bd73f568 Merge pull request #16 from jgarzik/tx-fromobj
Transaction: add fromObj() method
2014-01-11 07:25:20 -08:00
Jeff Garzik c4970d1084 Transaction: add fromObj() method, for importing textual JSON representation 2014-01-10 23:27:24 -05:00
Manuel Araoz 22a5aea9f6 make transactions calculate their hash on parse 2014-01-10 14:12:23 -03:00
Manuel Araoz b3f36c3e72 various small changes to bitcore 2014-01-08 15:25:49 -03:00
Ryan X. Charles 4508c14556 Export transaction constants for use in cosign 2014-01-05 23:04:27 -05:00
Ryan X. Charles c966d713d7 fix bufferput: Put() -> new Put() 2013-12-09 22:43:26 -05:00
Stephen Pair 467f0779f7 Merge branch 'master' of https://github.com/gasteve/node-libcoin
Conflicts:
	util/util.js
2013-10-31 12:44:22 -04:00
Stephen Pair f9e86a5e83 rework logging, remove some unused code 2013-10-31 12:40:06 -04:00