Advertisement
Guest User

Untitled

a guest
Jul 30th, 2016
667
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.92 KB | None | 0 0
  1. Copay
  2. =====
  3.  
  4. Copay is an open-source multisig wallet. Each peer is has control of her private keys, that never leave their system.
  5.  
  6. Copay is implemented in JS client-side. It can work
  7. as a:
  8. - web app,
  9. - a webview based mobile app,
  10. - or a node-kit based desktop app.
  11.  
  12. In all cases, Copay source code is exactly the same.
  13.  
  14.  
  15. Copay Server
  16. ============
  17. Copay client relays on a central server or a group of servers to operate.
  18.  
  19. Copay Server software is open-source, and many open instances are expected to exists. Copay server
  20. tasks are:
  21. 1)- relay messages between wallet participants
  22. 2)- interact with the Bitcoin Network
  23.  
  24. Servers can not decrypt or forge peer messages given the current authentication-encryption schema. Each message is stored and retrived from the server using the recipent's SIN as only parameter. Messages have a TTL defined by the uploading client, with a limit defined by the server.
  25.  
  26. When configuring a Copay server, the main options are:
  27. - set the server public or private. If private, download auth pub keys / credentials for the clients.
  28. - use SSL or not.
  29. - date to start syncing (default: now). Insight-api, the module that implements 2), does not need
  30. to sync from the beginning of the blockchain, only from the block since the served wallets were created.
  31. - spawn a new full node bitcoind server or use a existing installation (*)
  32. - Maximun TTL for message relaying
  33.  
  34. (*) could eventually be replaced by a bitcore-based full node or SPV.
  35.  
  36. Copay-server should be fairly easy to setup, and Linux installation should be as easy as installing a web server. We should expect multiple open copay servers to exists, as today multiple Insight installations are available.
  37.  
  38. Future Work on the servers:
  39. - Messages could be flushed from the server by the client if the client signs a server given nounce.
  40. - Copay servers could become a true p2p network, in which relayed messages are distributed between all the p2p network participants, with a defined TTL. Clients could connect, upload and download messages to any Copay server p2p network participant, and those messages would be copied in all installations.
  41.  
  42.  
  43. Copay Client
  44. ============
  45. The main configuration of Copay Client is the location or locations of the Copay servers, which defaults to two SSL secured Bitpay installations. The only network connection going out from a Copay client in
  46. usage is to one or more Copay servers.
  47.  
  48. Multiple server are supported to remove single point of failures. For the described server functions, the mutiplicity is used as follow:
  49. 1) relay messages: Peers uploads messages to all available servers, and check for messages in all available servers. No server-to-server communication is used.
  50.  
  51. 2) blockchain API: all defined servers are queried: 100% agreement is needed for accepting the results. When broadcasting transactions to the network, one server is used to broadcast the transactions and others are queried to check the txid.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement