JoinMarket-Org / joinmarket

CoinJoin implementation with incentive structure to convince people to take part
398 stars 119 forks source link

Income mode for yield generator #35

Open chris-belcher opened 9 years ago

chris-belcher commented 9 years ago

Income mode is where the yield generator periodically sends all it's profits to an outside address.

With income mode, an investor in bitcoins could give the bot his master public key and receive payouts at a regular interval. These payouts would represent a passive income stream for the investor, analogous to stock dividends, real estate rent payments, bond coupons or cash interest payments.

Needless to say bitcoin as an asset class is rather different from those.

Contrast this with the current mode of operation, I'm calling accumulation mode, where all the profits are held in the same wallet and used to earn even more.

chris-belcher commented 9 years ago

Could send the payments in a coinjoin as a maker, how patientsendpayments.py does it. This would be cheaper to send although sending would be unpredictable in time.

chris-belcher commented 9 years ago

There could be a parameter set by the operator, called payout ratio.

So 1.0 (or 100%) means all the yield is sent away (income mode), 0 means none of the income sent away (accumulation mode) and 0.5 (50%) means half the income sent away and half kept.

chris-belcher commented 9 years ago

There should be some saved state, so if the yield generator is restarted the investor doesn't need to start waiting from the beginning