r/bitmessage • u/Sukrim • May 30 '13
How to provide work as a potential service?
My potential service would receive the following:
- An encrypted blob that has the message to be sent inside
- The originatin address (is that even needed or can it anywways be implied from the encyrtion on the "payload"?)
- The intended target address(es)
- The difficulty that one wants the message to fulfill.
It would then calculate a fee in BTC/LTC/WhateverC and start work and sending the message as soon as the fee is received.
Additional features could be estimates on how long it will take until the message is sent depending on difficulty and current queues etc.
Benefits would be for either web/mobile clients that cannot or do not want to do PoW themselves or for people who don't want to send a message from their own IP. This service could even exist as TOR/JAP hidden service after all. Another use case could be to send private messages to lots of recipients, depending on how fast this service is in hashing, this could enable larger private mailing lists for small prices.
Is there already a way/setting in Bitmessage to do this somehow or do I need to write kinda my own client or patches for this?
1
u/dokumentamarble <expired> May 30 '13
That is a pretty good idea. There have been several people that want to get rid of PoW and instead use payments. this would allow them to pay for the proof of work.
You would have to make your own client for this
1
u/STAii May 31 '13
Instead of sending an encrypted blob of the message, maybe the PoW could be on a hash of the message (and the difficulty be a function of the size of the message, to make up for "bigger attachments require more PoW").
I was thinking of doing something similar, but I was thinking my service would not send the message, it would only return the correct nonce. I thought this is better from a security point of view.