Commit Graph

855 Commits

Author SHA1 Message Date
Matias Alejo Garcia 8604fe27ca add handler for insight-error 2014-08-27 17:50:28 -03:00
Manuel Aráoz dfa383b351 Merge pull request #1197 from matiaspando/tmp
Added a test to PublicKeyRing to increase coverage
2014-08-27 17:29:35 -03:00
Matias Pando 028f3dbd8d Fixing test PublicKeyRing 2014-08-27 11:13:32 -03:00
Manuel Aráoz a37e31ec80 Merge pull request #1199 from isocolsky/test/sendTx
Test wallet#sendTx
2014-08-27 11:03:41 -03:00
Ivan Socolsky 0710c002ca Fail to send should check if already sent 2014-08-27 10:36:01 -03:00
Ivan Socolsky 63fb94c2be Check fail when sending incomplete tx 2014-08-27 09:47:45 -03:00
Matias Pando d4ce4e3c01 Added a test to PublicKeyRing to increase coverage 2014-08-26 17:01:41 -03:00
Manuel Araoz 68014db04a fix firefox bugs 2014-08-26 16:41:21 -03:00
Manuel Araoz 23e6971e76 remove File class 2014-08-26 16:41:21 -03:00
Matias Alejo Garcia 64afc4b914 Merge pull request #1185 from isocolsky/test/passphrase
Add tests for passphrase
2014-08-26 16:19:46 -03:00
Manuel Araoz 439bd3c44f remove isInbound and use mailbox ts 2014-08-26 13:58:06 -03:00
Ivan Socolsky fbf021cd09 Add tests for passphrase 2014-08-26 13:02:02 -03:00
Manuel Araoz 342a69d737 make it work with ssl insight 2014-08-26 11:43:44 -03:00
Manuel Araoz e00997bad8 fix test after rebase 2 2014-08-26 11:43:43 -03:00
Manuel Araoz 0f67d3e6bd add some parenthesis 2014-08-26 11:43:43 -03:00
Manuel Araoz c6e151db99 remove alerts 2014-08-26 11:43:43 -03:00
Manuel Araoz 81a20cb1dc make it work with reconnections 2014-08-26 11:43:43 -03:00
Manuel Araoz 4fff3a9d4d close socket on disconnect 2014-08-26 11:43:43 -03:00
Manuel Araoz 0aa63be74b remove old Message class 2014-08-26 11:43:43 -03:00
Manuel Araoz f06874fc0f improve insight error message 2014-08-26 11:43:43 -03:00
Manuel Araoz 043fb16d64 fix more tests 2014-08-26 11:43:43 -03:00
Manuel Araoz f10a58ed72 remove compulsory lastTimestamp 2014-08-26 11:43:43 -03:00
Manuel Araoz 50348a171f fix test 13 2014-08-26 11:43:42 -03:00
Manuel Araoz c4515d644d fix test 10 2014-08-26 11:43:42 -03:00
Manuel Araoz fc5c860d49 refactor 2014-08-26 11:43:42 -03:00
Manuel Araoz 302bc4bf7e fix test 9 2014-08-26 11:43:42 -03:00
Manuel Araoz 372d230e17 fix test 8 2014-08-26 11:43:42 -03:00
Manuel Araoz ed7916f1be fix test 7, removed a test that made no sense 2014-08-26 11:43:42 -03:00
Manuel Araoz df3aafe1a9 fix test 6 2014-08-26 11:43:42 -03:00
Manuel Araoz e0b8f3319f remove WebRTC 2014-08-26 11:43:42 -03:00
Manuel Araoz 1ae700f805 comment logs on networking 2014-08-26 11:43:42 -03:00
Manuel Araoz f219da9740 refactored disconnect as one more message 2014-08-26 11:43:42 -03:00
Manuel Araoz 789388af3c historic sync working yay :D 2014-08-26 11:43:42 -03:00
Manuel Araoz 86a4ce96ad fix timestamp method 2 2014-08-26 11:43:42 -03:00
Manuel Araoz 477875d309 fix timestamp method 2014-08-26 11:43:42 -03:00
Manuel Araoz 981c56f091 add timestamp sync 2014-08-26 11:43:42 -03:00
Manuel Araoz 1b783df70a remove 'serverError' event 2014-08-26 11:43:42 -03:00
Manuel Araoz 605e2c7d49 network handler refactor, remove 'close' 2014-08-26 11:43:42 -03:00
Manuel Araoz 28e00b24cc wallet refactor 2014-08-26 11:43:42 -03:00
Manuel Araoz 1c3c7f0bde remove whitespace 2014-08-26 11:43:42 -03:00
Manuel Araoz fb69da3806 remove alerts 2014-08-26 11:43:41 -03:00
Manuel Araoz 884d0b5945 sending tx works 2014-08-26 11:43:41 -03:00
Manuel Araoz 4d59d7cfd5 trying to fix the connection status 2014-08-26 11:43:41 -03:00
Manuel Araoz 6be6f1e23c fix disconect error 2014-08-26 11:43:41 -03:00
Manuel Araoz dfd2df7534 fixed refresh button 2014-08-26 11:43:41 -03:00
Manuel Araoz b0d32463c6 entering wallet successfully 2014-08-26 11:43:41 -03:00
Manuel Araoz 8b6c2df6bd pubkeyring syncing, w00t 2014-08-26 11:43:41 -03:00
Manuel Araoz 497a93991e remove alerts 2014-08-26 11:43:41 -03:00
Manuel Araoz 652726dbe9 some connection in intermediate screen 2014-08-26 11:43:41 -03:00
Manuel Araoz fd9d8d9e2e fix Async to remove soop 2014-08-26 11:43:41 -03:00
Manuel Araoz cae11776ac trying to get past intermediate screen 2014-08-26 11:43:41 -03:00
Manuel Araoz 7e286d88d8 remove alerts 2014-08-26 11:43:41 -03:00
Manuel Araoz 3ebacd50cc working towards refactoring network 2014-08-26 11:43:41 -03:00
Manuel Araoz bfd4bbe021 getting to intermediate screen! 2014-08-26 11:43:41 -03:00
Manuel Araoz 0ceaea9f95 socket.io+browserify=😻 2014-08-26 11:43:41 -03:00
Manuel Araoz 3793023c81 fix error handling 2014-08-26 11:43:41 -03:00
Manuel Araoz 9c2b9eb236 only you 2014-08-26 11:43:41 -03:00
Manuel Araoz e7980aefaa remove onlyYou message 2014-08-26 11:43:41 -03:00
Manuel Araoz 7c14706e92 add socket.io-browserify 2014-08-26 11:43:41 -03:00
Manuel Araoz 4f359c05ca basic stuff working 2014-08-26 11:43:41 -03:00
Manuel Araoz 48dd8549ef fixing stuff 2014-08-26 11:43:41 -03:00
Manuel Araoz 7dc37a272a starting with async networking 2014-08-26 11:43:41 -03:00
Matias Alejo Garcia 35e9508b28 fix formatting 2014-08-22 14:44:40 -04:00
Matias Alejo Garcia e41bb599bd rm log 2014-08-22 13:58:03 -04:00
Matias Alejo Garcia 51a42cce8e mocha tests passing 2014-08-22 13:26:03 -04:00
Matias Alejo Garcia 18ffaa172a refactor txProposal input signature handling 2014-08-22 13:25:55 -04:00
Matias Alejo Garcia 291ed73916 add test and adv opts to create 2014-08-22 10:26:19 -04:00
Matias Alejo Garcia dd724a6135 add store / refrest 2014-08-22 10:26:19 -04:00
Matias Alejo Garcia c616f02169 fix isPending usage 2014-08-22 10:26:19 -04:00
Matias Alejo Garcia e11ac3e956 add tests 2014-08-22 10:26:19 -04:00
Matias Alejo Garcia 4931c9d618 add purge to tx prosposals 2014-08-22 10:26:19 -04:00
Matias Alejo Garcia c1564ae015 scan is working! 2014-08-22 10:25:30 -04:00
Matias Alejo Garcia 4b3cbfcfb0 add test for priv key import 2014-08-22 10:25:30 -04:00
Matias Alejo Garcia 2fbbd2a53a add options to enter Priv Key on join 2014-08-22 10:25:30 -04:00
Matias Alejo Garcia b70857f9e1 fix networkname on partial import 2014-08-22 10:25:30 -04:00
Matias Alejo Garcia 7f0e9cd03d implements skipping fields in backup imports 2014-08-22 10:25:30 -04:00
Ivan Socolsky ce910fe52f Check tx proposal minimum amount 2014-08-21 16:02:02 -03:00
Gustavo Maximiliano Cortez 068f8cad52 Merge pull request #1133 from matiu/bug/nn-name
Bug/nn name
2014-08-19 16:45:51 -03:00
Matias Alejo Garcia 25293ecf86 rm now useless delete 2014-08-19 14:15:47 -04:00
Yemel Jardi 1e9b83a195 Remove old code 2014-08-19 15:06:44 -03:00
Matias Alejo Garcia 9e5bec9b9b rm cache from storage/network from Priv Key 2014-08-19 13:31:35 -04:00
Matias Alejo Garcia 20af614f40 remove pubkey cache from network and storage 2014-08-19 11:48:29 -04:00
Matias Alejo Garcia 73a2a9fba3 remove pubkey cache from toObj/fromObj 2014-08-19 11:00:18 -04:00
Matias Alejo Garcia c7d04418b0 fix backup restore + tests 2014-08-18 18:11:30 -04:00
Matias Alejo Garcia 411ebbe2d7 fix type 2014-08-18 17:45:54 -04:00
Christopher Jeffrey d7ab195b7a wallet: remove useless node module require. 2014-08-18 11:34:49 -07:00
Christopher Jeffrey 6246e62962 paypro: use BIP21 object in latest bitcore. fixes #1104. see #1083. 2014-08-18 11:30:03 -07:00
Matias Alejo Garcia 534895a009 rebase 2014-08-15 18:55:26 -04:00
Matias Alejo Garcia 1a5a2916c2 give lock preference to the new instance 2014-08-15 18:34:43 -04:00
Matias Alejo Garcia 18aadede29 fix tests and stringify for localstorage 2014-08-15 18:34:43 -04:00
Matias Alejo Garcia 5753f406e0 add tests to getSEssionId 2014-08-15 18:34:43 -04:00
Matias Alejo Garcia 54bc98f0bd add sessionStorage param 2014-08-15 18:34:43 -04:00
Matias Alejo Garcia eb9acb958f mocha test passing on console 2014-08-15 18:34:03 -04:00
Matias Alejo Garcia bcb61810d5 WIP: better lock 2014-08-15 18:29:30 -04:00
Matias Alejo Garcia d8e0d50dce add WalletLock class 2014-08-15 18:26:33 -04:00
Manuel Araoz 70dc68485b trying to get tests working 2014-08-15 17:47:36 -04:00
Manuel Araoz 439d44cf80 remove console.logs 2014-08-15 17:46:48 -04:00
Manuel Araoz 28791e6da1 remove soop from js 7 2014-08-15 17:46:48 -04:00
Manuel Araoz 00323b6381 remove soop from js 6 2014-08-15 17:46:48 -04:00
Manuel Araoz 00642dc642 remove soop from js 5 2014-08-15 17:46:48 -04:00
Manuel Araoz bf4d9fe41f remove soop from js 4 2014-08-15 17:46:48 -04:00
Manuel Araoz b78eb4d573 remove soop from js 3 2014-08-15 17:46:48 -04:00
Manuel Araoz 757ef69287 remove soop from js 2 2014-08-15 17:46:48 -04:00
Manuel Araoz f631643419 remove soop from js 1 2014-08-15 17:46:48 -04:00
Manuel Araoz 69edb7c7e3 remove soop 1 2014-08-15 17:46:48 -04:00
Christopher Jeffrey 5d3f3f60fe paypro: fix - use safeUnspent for createPaymentTxSync. 2014-08-14 13:11:46 -04:00
Christopher Jeffrey 8e86826b68 paypro: even better notification when user has insufficient funds. 2014-08-14 09:52:43 -04:00
Christopher Jeffrey f64b1eee28 paypro: allow unconfirmed unspent outputs in paypro tx proposals. 2014-08-14 09:52:43 -04:00
Christopher Jeffrey 685c6e54dc paypro: differentiate safeUnspent and unspent. 2014-08-14 09:52:43 -04:00
Christopher Jeffrey 32971772d1 Revert "paypro: allow specific paypro headers."
This reverts commit bec2df549b5565b3f846e9a59e5240db01877d88.
2014-08-14 09:52:42 -04:00
Christopher Jeffrey 8d2393230e paypro: allow specific paypro headers. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey efe41cead4 paypro: use unspecified GET method for first paypro request. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey 08f1a49259 paypro: remove useless header from http request. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey 086e2f6572 paypro: fix accept header for bitpay.com. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey 4159c5aa5b paypro: fix sendPaymentTx to be in line with sendTx. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey a1619e3f6c paypro: minor - remove comment. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey 361b885d71 paypro: remove uneccessary if clause in parseBitcoinURI. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey fe2118fcbe paypro: show actual notification if there are no unspent outputs for payment request. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey fcaf911671 paypro: include merchant data in tx proposal again. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey 17f3402dab Revert "Revert "paypro: prepare for txp refactor. will stay reverted until #1001 is merged.""
This reverts commit 6fcd27b3ea0f7aa1ef7985560ca917393510c65e.
2014-08-14 09:52:41 -04:00
Christopher Jeffrey 2b5102a493 paypro: tentatively reimplement commit that caused regression. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey ab06e8b4ea Revert "paypro: deal with no unspent outputs. see #1043."
This reverts commit 6b5a618f0f7155c11ee734ef54ab3876b5923768.
2014-08-14 09:52:41 -04:00
Christopher Jeffrey f9bd8c3a04 paypro: try to keep everything big endian to avoid bignum bug in node. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey 3931e73da4 paypro: debugging endianness issue in bignum (browser vs node). 2014-08-14 09:52:41 -04:00
Christopher Jeffrey b254dea911 Revert "paypro: prepare for txp refactor. will stay reverted until #1001 is merged."
This reverts commit c826acb3e539c4deb047053fd08a2a5e8fb8f8e8.
2014-08-14 09:52:12 -04:00
Christopher Jeffrey 3ade672561 paypro: prepare for txp refactor. will stay reverted until #1001 is merged. 2014-08-14 09:52:12 -04:00
Christopher Jeffrey d87697dfed paypro: support user amount decision on 0-value-server-outputs. 2014-08-14 09:52:12 -04:00
Christopher Jeffrey f20836a24c paypro: use server outputs for creating txs again. 2014-08-14 09:52:12 -04:00
Christopher Jeffrey 052e2522be paypro: stop using global $http. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey d51c1c552f paypro: potentially use verbatim scripts after setting outputs. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey ac32f56afa paypro: drop old tx code. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 093fd68c78 paypro: extract addresses from server outputs and craft txs in this manner. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 18d1e4f6e7 paypro: reorganize createPaymentTxSync. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey bd24f51da4 put logs back in wallet model for payment protocol
This reverts commit e79d86d90625375e22ac2cbafb2c1f894a450bcf.
2014-08-14 09:52:11 -04:00
Christopher Jeffrey 0a8d734e49 paypro: deal with no unspent outputs. see #1043. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 8cbc231a06 paypro: remove logs. see #1043. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey d635c87935 paypro: turn sig into hex string on txp. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 21196f8b22 paypro: not necessary, but check merchant data in verifyPaymentRequest. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey d0f0974567 paypro: fix verifyPaymentRequest. passing tests. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 37d1562a3f paypro: optimize verifyPaymentRequest check. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 60603306a9 paypro: comments. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 6ccbf292c5 paypro: start verifying raw payment requests before signing. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 0d4db05bf6 paypro: add verifyPaymentRequest so we do not have to trust other copayers. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 4d2879c5b6 paypro: expose serialized payment request data on tx proposal. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 785a9cdd31 paypro: tests - send raw http requests to test mock server. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey e1478fefbf paypro: display ack memo on notification. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey c940cb25b5 paypro: return merchantData in createTx and sendTx. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 87987fca2b paypro: cleanup refund_to. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 04432aa426 paypro: clean up makeshift $http module. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 8786fd9905 Revert "paypro: use an http proxy to handle self-signed certs - probably not a good idea."
This reverts commit f8f192848dee35cffdfa79ee043941d0ea61a77e.
2014-08-14 09:52:10 -04:00
Christopher Jeffrey abf71a81ff paypro: use an http proxy to handle self-signed certs - probably not a good idea. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 64b38802bf paypro: fixes. clean up form reset from paypro. etc. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 3b550d853f paypro: cleanup a lot of old code and comments. minor fixes. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey d9c72392bd paypro: through a lot of debugging. Payment sending is working. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 8cb2a96aff paypro: do not return error on untrusted cert. let peer decide whether to trust. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey fd8f192dbd paypro: minor 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 6ef3cf2992 paypro: set memo on comment properly. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 53abfcacda paypro: remove more unnecessary code. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 3a73f2453c paypro: ripesha refund_to pubkeys. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey c471983a58 paypro: clean up unnecessary code. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey f77d3bc350 paypro: fix trusted check. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 4130980133 paypro: remove debug logs again. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 959a2f40cb paypro: fix script buffers. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey cf674dced2 paypro: remove temporary xhr shim. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey a9b522888e Revert "paypro: remove debug code."
This reverts commit 019283e04cb6b25f6431cb56f02618c6d9e7fe90.
2014-08-14 09:52:10 -04:00
Christopher Jeffrey 28459c2d4e paypro: remove debug code. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey d94e8525fd paypro: all working except for value input. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 91b2d9dd02 paypro: fix endianess. fix fields. fix elements in a messy way. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 7b678a91b5 paypro: misc work. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 6e9eaf7d9d paypro: cached payment requests. validation. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 2aee44f31c paypro: refactor cached payment requests. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey decd981bce paypro: deal with cached payment requests properly. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey af12b56678 paypro: maintain received payment requests. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 6b6e251511 paypro: add fetchPaymentTx, use for form validation. improve css selection. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 62fe6ce628 paypro: try to find existing tx proposals. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 2d12933112 paypro: more debugging. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 49883779af paypro: more messy debugging. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 7915008433 paypro: remove old parse uri code. more debugging. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 7c39915dd0 paypro: messy work to get xhr to payment server working. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 4d244a03f8 paypro: fix total on merchantdata. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey f9406bbde2 paypro: use bignum for totals. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 91414b963c hdpath: fix uri parser to deal with merchant uris. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey ac8f5a55bc paypro: reimplement `merchant` field in uri parser. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 1a0f782e6d paypro: store total on merchant data specifically for display purposes. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 3f6b5ec6b8 paypro: use HDPath instead of Structure. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey b89ad8f3cc paypro: controller unit tests for payment protocol. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey d2e7e35e9f paypro: test/minor - use paypro content type constant. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 8d96b446df paypro: fix some more errors. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey e0ff9ca6bd paypro: fix parseBitcoinURI. start using bitcoin uris in tests. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey e06fda5128 paypro: fix more payment protocol errors. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey b18c9e3cd5 paypro: fix a lot of errors in payment protocol implementation. 2014-08-14 09:52:08 -04:00
Christopher Jeffrey b0dc3fc24d paypro: more merchant data storage. createTx and sendTx work. 2014-08-14 09:52:08 -04:00
Christopher Jeffrey d7ec908701 paypro: remove old code. 2014-08-14 09:52:08 -04:00
Christopher Jeffrey 61ef19ad19 paypro: fix a lot of aspects of storing merchant data in txps. 2014-08-14 09:52:08 -04:00
Christopher Jeffrey 59038a5d30 paypro: fix how merchant data is stored. 2014-08-14 09:52:08 -04:00
Christopher Jeffrey d7b1770e5a paypro: add merchant prop to tx proposal. 2014-08-14 09:52:08 -04:00
Christopher Jeffrey ebf3137946 paypro: rework flow of payment protocol. 2014-08-14 09:52:08 -04:00
Christopher Jeffrey 6c098030c3 paypro: fix trusted check. 2014-08-14 09:52:08 -04:00
Christopher Jeffrey f49177f0b7 paypro: begin adding code for payment protocol. 2014-08-14 09:52:08 -04:00
Matias Alejo Garcia 33ac84bc49 rm logs 2014-08-13 10:16:07 -04:00
Matias Alejo Garcia 35ab711846 refactor lock warning and add tests 2014-08-12 15:26:15 -04:00
Gustavo Maximiliano Cortez 8ad1fa7b02 Fixes: tests. Added karma and mocha tests. 2014-08-07 20:07:41 -03:00
Gustavo Maximiliano Cortez 801e746d11 Show a warning if trying to open same wallet in same browser. Fix redirect to receive. 2014-08-07 18:57:19 -03:00
Gregg Zigler c8c7a57416 1. Add TxProposals to mocha test page
2. The jshint tool found some instances where var was declared twice within a function. Seemed to originate from copy/paste-style coding. Most were unambiguously intended for a single block within the function. In a few cases, two declarations were consumed by one later reference. In those cases, I removed the duplicate var or I refactored slightly.
2014-08-06 18:44:04 -04:00
Matias Alejo Garcia ddc8649bd3 fix `comment` handling 2014-08-06 15:56:17 -03:00
Matias Alejo Garcia afde77e575 fix last transaction retrieval 2014-08-06 15:30:47 -03:00
Matias Alejo Garcia 91a05a896e rm removeRepeated fn 2014-08-05 17:18:02 -03:00
Matias Alejo Garcia 260adc8587 fix tests 2014-08-05 16:42:51 -03:00
Matias Alejo Garcia 5a2dfe690d add rebroadcast test 2014-08-05 16:41:29 -03:00
Matias Alejo Garcia 91829f8410 remove sender sig check 2014-08-05 16:41:29 -03:00
Matias Alejo Garcia 36fcd6882f add more tests to wallet 2014-08-05 16:41:29 -03:00
Matias Alejo Garcia 768dfefe3a wallet working again 2014-08-05 16:41:29 -03:00
Matias Alejo Garcia 4cf152999a add seenBy on creator 2014-08-05 16:41:29 -03:00
Matias Alejo Garcia f5f9848ff1 all test passing! 2014-08-05 16:41:29 -03:00
Matias Alejo Garcia 753b890658 txp* test passing 2014-08-05 16:41:29 -03:00
Matias Alejo Garcia 966818c53a add different toObj/fromObj fn for networking 2014-08-05 16:41:29 -03:00
Matias Alejo Garcia c8917fccd6 karma + mocha browser passing also 2014-08-05 16:41:29 -03:00
Matias Alejo Garcia d0c43f9bfb ALL test passing 2014-08-05 16:41:29 -03:00
Matias Alejo Garcia dc3bbb8859 wallet test passings 2014-08-05 16:38:13 -03:00
Matias Alejo Garcia 5d2b50f77f test in Txproposals working again 2014-08-05 16:38:13 -03:00
Matias Alejo Garcia 42c73f9a01 rewrite from scratch tests for TxProposalSet 2014-08-05 16:38:13 -03:00
Matias Alejo Garcia ae042a8292 TxProposal fully testes 2014-08-05 16:38:13 -03:00
Matias Alejo Garcia 2fe421b14f tests for txProposal 1 2014-08-05 16:38:13 -03:00
Matias Alejo Garcia 0e211426d7 tests for txProposal 2014-08-05 16:38:13 -03:00
Matias Alejo Garcia 05aefc17a5 tests for txProposal 2014-08-05 16:38:13 -03:00
Matias Alejo Garcia 72e1dfc114 WIP 2014-08-05 16:38:13 -03:00
Matias Alejo Garcia 6e5f06693d separate TxProposal to a different class. new tests 2014-08-05 16:38:13 -03:00
Matias Alejo Garcia 96a5f0aeb8 add forPath and tests 2014-08-05 16:38:13 -03:00
Matias Alejo Garcia a10e6f4908 add getForPath with tests 2014-08-05 16:38:13 -03:00
Matias Alejo Garcia 4e6d572de0 add cache to pubkeyring test. Speedup 2x 2014-08-05 16:38:13 -03:00
Matias Alejo Garcia c19eac6a4e WIP 2014-08-05 16:38:13 -03:00
Matias Alejo Garcia df357e4ea7 add metadata checks 2014-08-05 16:38:13 -03:00
Gustavo Maximiliano Cortez a5544d08db Merge pull request #1040 from yemel/feature/improve-1-of-1
Remove Name field and copayer list on 1-of-1 wallets
2014-08-05 10:29:46 -03:00
Yemel Jardi 523a48b056 Remove Name field and copayer list on 1-of-1 wallets 2014-08-04 16:27:58 -03:00
Yemel Jardi 9b1708b88e Save last opened wallet 2014-08-04 15:10:01 -03:00
Yemel Jardi fdabdc64fe Add a pre-generated address to the shared branch 2014-07-31 16:13:27 -03:00
Matias Alejo Garcia ba31e6a628 renames inside HDParams 2014-07-29 14:11:11 -03:00
Matias Alejo Garcia 578d05e638 all tests BUT hardcoded imports working 2014-07-29 13:09:47 -03:00
Matias Alejo Garcia 0ee93403f3 change names to HD and fix HD* tests 2014-07-29 11:23:58 -03:00
Matias Alejo Garcia 1a40e29fd2 remove unrequired soop 2014-07-29 10:21:44 -03:00
Matias Alejo Garcia 19b9fcd0b1 change to camelCase 2014-07-29 10:14:43 -03:00
Matias Alejo Garcia 1d5238b2b8 change to camelCase 2014-07-29 10:14:15 -03:00
Manuel Aráoz 811dc6dd3b Merge pull request #952 from matiu/feature/txproposal01
Feature/txproposal01
2014-07-25 18:05:02 -03:00
Matias Alejo Garcia ceada149d7 fix tests 2014-07-25 17:48:35 -03:00
Matias Alejo Garcia 3aef6e156b add FORCED options to TxBuilder creation 2014-07-25 17:45:56 -03:00
Matias Alejo Garcia 560702df58 Merge pull request #936 from yemel/feature/android-cordova
Android - Migration to Cordova + Crosswalk Framework
2014-07-25 16:40:13 -03:00
Manuel Araoz e85431861e fix cases for incomplete transactions 2014-07-25 13:37:12 -03:00
Manuel Araoz 76e0d8f5ef add validation for actual tx SIGHASH_TYPE 2014-07-25 12:25:28 -03:00
Manuel Araoz b5c144d48c complete validation tests for txProposal SIGHASH 2014-07-25 12:25:27 -03:00
Matias Alejo Garcia bb5ba1a209 rm log 2014-07-25 12:15:00 -03:00