Commit graph

444 commits

Author SHA1 Message Date
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
Matias Alejo Garcia
2008db932b add buildermockv0 to show old / obsolete tx proposals 2014-07-25 11:59:13 -03:00
Yemel Jardi
19f57e614c Add native QR scanner to send form 2014-07-25 11:30:54 -03:00
Matias Alejo Garcia
7f11793b96 less strict import check for TXP v0 2014-07-25 11:13:48 -03:00
Matias Alejo Garcia
ae08d5611a fix test / id name 2014-07-25 11:05:10 -03:00
Matias Alejo Garcia
5eb8164df2 skip incompatible transaction proposals from backups 2014-07-25 10:39:41 -03:00
Matias Alejo Garcia
b788c76d91 rm log 2014-07-25 07:53:29 -03:00
Matias Alejo Garcia
23ba3e6ebf updates version and use latest bitcore params 2014-07-25 07:53:02 -03:00
Matias Alejo Garcia
813c498d1f fix typo 2014-07-24 21:59:44 -03:00
Matias Alejo Garcia
2d481dd406 updates model and tests to newest bitcore version 2014-07-24 21:18:38 -03:00
Ryan X. Charles
643cad3a39 change encryption to work on hex strings
..instead of binary, to work around an issue with bitcore/sjcl. I'm not sure
what the issue is exactly, except that encryption of binary data isn't working
correctly due to some kind of string stuff involving decodeURIComponent inside
sjcl. I haven't fully figured it out. For now I am changing the network
protocol to hex to workaround the issue.

See this: https://github.com/bitpay/bitcore/pull/416
2014-07-09 01:13:42 -07:00
Ryan X. Charles
88ab38eb00 add nonce support to WebRTC and Wallet
Each person keeps track of their own nonce, and the nonces of the other
copayers. The nonce is iterated for each message. If a person ever doesn't
iterate their nonce, that message is discarded by the copayers.

The nonces are saved as networkNonce (your nonce) and networkNonces (the nonces
of your copayers) in the wallet file.

In order to support restoring old wallets, the first four bytes of the 8 byte
nonce are actually the current time in seconds. Thus you can restore an old
wallet, because certainly at least one second has passed since your last
message. Only if you try to restore an old wallet within 1 second from the time
of your last message will you have a problem (or if your system clock is
grossly inaccurate).
2014-07-08 23:03:30 -07:00