mastercoin-MSC / mastercore

mastercore info
mastercoin.org
MIT License
24 stars 11 forks source link

Need: bitcoin-"send to owners" RPC call #262

Closed dexX7 closed 9 years ago

dexX7 commented 9 years ago

This seems almost redundant to sendmany and one may just create a list of owners and create the transaction via some other means, but since an explicit call would be much easier, I suggest to implement a "send to owners" RPC call for bitcoin.

I'll sign up for this task, but I'm not sure, if I get this ready within the next days due to xmas.

Related: #261

m21 commented 9 years ago

I am confused, we have this: https://github.com/mastercoin-MSC/mastercore/blob/mscore-0.0.9/doc/apidocumentation.md#broadcasting-a-send-to-owners-transaction

dexX7 commented 9 years ago

This doesn't work for Bitcoin, but only token transactions. I say it's almost trivial, because it can be done manually, but since it's often named in "comparisons of different meta-coin systems", I suggest to do it.

m21 commented 9 years ago

sendtoowners_MP works for MSC, TMSC and all SP on Master Protocol. You are probably suggesting sending some BTC to all owners of MP-properties? Proportionally? That sounds like something that would need to be added to the spec first.

dexX7 commented 9 years ago

You are probably suggesting sending some BTC to all owners of MP-properties?

Correct.

That sounds like something that would need to be added to the spec first.

A note in the spec wouldn't hurt, that's true. Strictly seen it's not a Master protocol transaction, but combining Core functions, but an explicit data package to tag such a transaction for easier identification by transaction explorers would be great.

In this context: https://github.com/mastercoin-MSC/spec/issues/298

m21 commented 9 years ago

Thinking a bit more -- the current STO MP command does not actually "send" anything to the actual owners (no blockchain entry for those destination addresses). So the change to the sendtoowners_MP command you are proposing is actually more drastic than appears on first glance. Please conitnue in the spec instead.

zathras-crypto commented 9 years ago

Just clarifying here - a bitcoin STO has absolutely nothing to do the the MP and is not issued via the MP. Sure you may use MP balances to determine to whom and how much BTC you are going to send, but there is no protocol packet to parse, just a bitcoin transaction with a bunch of outputs.

As such, the Q stands as should this be a Omni Protocol function?

I actually think it will be useful for integrators, but agree on prioritization - if no-one is asking for it yet, let's put it on the backburner.

On Sat, Jan 3, 2015 at 8:29 AM, Michael notifications@github.com wrote:

Closed #262 https://github.com/mastercoin-MSC/mastercore/issues/262.

— Reply to this email directly or view it on GitHub https://github.com/mastercoin-MSC/mastercore/issues/262#event-213566120.