Commit graph

117 commits

Author SHA1 Message Date
Manuel Araoz
439bd3c44f remove isInbound and use mailbox ts 2014-08-26 13:58:06 -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
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
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
981c56f091 add timestamp sync 2014-08-26 11:43:42 -03:00
Manuel Araoz
28e00b24cc wallet refactor 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
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
Manuel Araoz
bf4d9fe41f remove soop from js 4 2014-08-15 17:46:48 -04: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
Ryan X. Charles
a1155c2798 add support for 8 byte big endian nonce to Message
...network protocol is backwards incompatible with previous network protocl.
also includes a second version number for backwards-compatible changes (the
original version number was for backwards-incompatible changes).
2014-07-08 20:02:37 -07:00
Matias Alejo Garcia
c0338a1f43 add .bind 2014-07-08 15:31:03 -03:00
Matias Alejo Garcia
bbac45ee7a fixes handling networking errors and retries. Adds tests 2014-07-08 15:25:12 -03:00
Matias Alejo Garcia
2626414771 Merge pull request #830 from yemel/fix/peer-id-taken
Derive token from cid, bring back the custom version of peerjs
2014-07-07 15:55:46 -03:00
Yemel Jardi
f8ea3a4090 Derive token from cid, bring back the custom version of peerjs 2014-07-07 11:29:28 -03:00
Matias Alejo Garcia
5ba388e911 add testnet in footer / add links 2014-07-03 11:37:26 -03:00