update readme

This commit is contained in:
Ivan Socolsky 2015-03-10 13:55:07 -03:00
parent 7e43e70e6c
commit b9aae4eacb
2 changed files with 4 additions and 3 deletions

View File

@ -91,8 +91,9 @@ Returns:
Required Arguments:
* walletId: Id of the wallet to join
* name: Copayer Name
* xPubKey: Peer's extended public key
* xPubKeySignature: xPubKey signature with Wallet Creation private key
* xPubKey - Extended Public Key for this copayer.
* requestPubKey - Public Key used to check requests from this copayer.
* copayerSignature - Signature sed by other copayers to verify the that the copayer joining knows the wallet secret.
Returns:
* copayerId: Assigned ID of the copayer (to be used on x-identity header)

View File

@ -193,7 +193,7 @@ WalletService.prototype._notify = function(type, data) {
* @param {string} opts.name - The copayer name.
* @param {string} opts.xPubKey - Extended Public Key for this copayer.
* @param {string} opts.requestPubKey - Public Key used to check requests from this copayer.
* @param {string} opts.copayerSignature - opts.proposalSignature - S(name|xPubKey|requestPubKey). Used by other copayers to verify the that the copayer joining knows the wallet secret.
* @param {string} opts.copayerSignature - S(name|xPubKey|requestPubKey). Used by other copayers to verify the that the copayer joining knows the wallet secret.
*/
WalletService.prototype.joinWallet = function(opts, cb) {
var self = this;