Wallet/js/models/core
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
..
AddressIndex.js Add update indexes and support old indexes schema 2014-07-03 16:42:29 -03:00
Message.js add support for 8 byte big endian nonce to Message 2014-07-08 20:02:37 -07:00
Passphrase.js add Passphrase test 2014-06-09 11:19:53 -03:00
PrivateKey.js PublicKeyRing handles one index for each cosigner 2014-07-03 16:42:29 -03:00
PublicKeyRing.js Add full backup stage with user feedback 2014-07-08 15:53:34 -03:00
Structure.js PublicKeyRing handles one index for each cosigner 2014-07-03 16:42:29 -03:00
TxProposals.js remove authoritativeness for txp metadata 2014-06-27 13:03:24 -03:00
Wallet.js add nonce support to WebRTC and Wallet 2014-07-08 23:03:30 -07:00
WalletFactory.js Merge pull request #873 from matiu/feature/test01 2014-07-08 20:13:23 -03:00