Author

Topic: Bundleing transactions (Read 1013 times)

legendary
Activity: 1106
Merit: 1004
January 10, 2012, 08:49:14 AM
#7
I imagined it. Thanks for confirming.
donator
Activity: 1218
Merit: 1079
Gerald Davis
January 10, 2012, 08:43:51 AM
#6
Am I getting this right ?

You can have one big transaction and pay just one fee for that big transaction BUT in that big transaction also have like 10 or more transfers of coins / secondary transactions too ?

Yes, but normally the fee you pay is proportional to the transaction size anyway.

Actually, this leaves me with a doubt too. What is actually signed by the inputs of a transaction? Is it the entire output list, or a constant size hash of such output list? Because if it is the former, I guess you risk using more space with bundle transactions, since you'd have to sign every output with every input.

Since signing is computationally intensive (and directly linear to the size of the digest) you sign a hash of the data.  This applies to other forms of cryptographic signing than just Bitcoin.  This is why security of hash functions is taken so seriously, if the hash function is flawed you can spoof a digital signature even if the signing algorithm is secure.

Signing: transaction -> hash -> hash signed w/ private key.
Verifying: transaction -> recreate hash -> sign hash w/ public key and verify against recreated hash.
legendary
Activity: 1106
Merit: 1004
January 10, 2012, 08:39:09 AM
#5
Am I getting this right ?

You can have one big transaction and pay just one fee for that big transaction BUT in that big transaction also have like 10 or more transfers of coins / secondary transactions too ?

Yes, but normally the fee you pay is proportional to the transaction size anyway.

Actually, this leaves me with a doubt too. What is actually signed by the inputs of a transaction? Is it the entire output list, or a constant size hash of such output list? Because if it is the former, I guess you risk using more space with bundle transactions, since you'd have to sign every output with every input.
donator
Activity: 1218
Merit: 1079
Gerald Davis
January 10, 2012, 08:35:00 AM
#4
Am I getting this right ?

You can have one big transaction and pay just one fee for that big transaction BUT in that big transaction also have like 10 or more transfers of coins / secondary transactions too ?

Yes except Bitcoin doesn't consider them secondary transactions.

Bitcoin just sees everything as moving coins.

You have inputs (address you control) and outputs (address you want to send/pay/load).

You can have 1+ inputs and 1+ outputs.

When casascius (bitcoin coins) loaded some coins he showed a single transaction with hundreds (thousands?) of outputs.
newbie
Activity: 8
Merit: 0
January 10, 2012, 07:55:12 AM
#3
Am I getting this right ?

You can have one big transaction and pay just one fee for that big transaction BUT in that big transaction also have like 10 or more transfers of coins / secondary transactions too ?
donator
Activity: 1218
Merit: 1079
Gerald Davis
January 09, 2012, 11:08:44 PM
#2
sendmany RPC is the normal method.
newbie
Activity: 12
Merit: 0
January 09, 2012, 11:05:54 PM
#1
Im planning on launching a site before long, and have seen some sites that bundle transactions to reduce the fees. Im fairly new to bitcoin and was wondering how this was done. Is it simple? Are there special tools? Sorry If this a super newbie question.
Jump to: