4

Right now I am working on developing a standalone application in C++ using libraries of cpp-ethereum, I was looking at the source code for cpp-ethereum and an idea stuck into my mind that wouldn't it be cool if we can use whisper protocol of cpp-ethereum for transferring actual data like actual file transfer? Can we do it?

3

No. Of course it's possible what you suggesting, but no, because you have a major mixup in terminology.

  • For a peer 2 peer communication layer, have a look at devp2p. Here is the specification.

  • For actual data/file transfer have a look at swarm, the peer 2 peer file hosting protocol. (See also.)

  • Whisper is a peer 2 peer encrypted messanging protocol, currently pushed by status.im, the latest spec is here. As far as I know is only geth featuring a pretty current implementation, no idea about the C++ status.

In general, just a heads up, the C++ client is deprecated for production use. If you are interested in further developing against swarm or whisper, take a look into go-ethereum. Or contribute to cpp-ethereum.

  • Well surely above answer made my vision clear about what I have to do but let us say I have to send only a little bit amount of data some Kbits or may be less than that and I want it to be transfer different than blockchain data. So from your point of view in this situation where does the whisper protocol stands? – Shirish Patel Oct 24 '16 at 20:22
  • Unfortunately, I'm not able to give you details about whisper other than the linked resources above. Not sure what the limits are. – Afr Oct 25 '16 at 6:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.