Bitcoin Forum
May 09, 2024, 07:15:41 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Reducing transaction size by merging signatures  (Read 965 times)
jl2012 (OP)
Legendary
*
Offline Offline

Activity: 1792
Merit: 1097


View Profile
August 02, 2012, 09:18:44 AM
 #1

A standard 1-input 2-outputs takes around 258Bytes (e.g. http://blockexplorer.com/tx/8c58943f54a68c58a4ccb7038cb7fe0fc71d921082c932f81aaf723a045f9916). A multiple inputs transaction will take much more space (e.g. http://blockexplorer.com/tx/32dbc162003949c2a8eb494606f143c776b263bfec3dbfc59dff6e0dceb4fe51 ). In this transaction, however, all inputs are coming from the same address. Instead of using 12 signatures, is it possible to use one signature for 12 inputs? That would save a lot of space in long term.

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
1715282141
Hero Member
*
Offline Offline

Posts: 1715282141

View Profile Personal Message (Offline)

Ignore
1715282141
Reply with quote  #2

1715282141
Report to moderator
1715282141
Hero Member
*
Offline Offline

Posts: 1715282141

View Profile Personal Message (Offline)

Ignore
1715282141
Reply with quote  #2

1715282141
Report to moderator
Unlike traditional banking where clients have only a few account numbers, with Bitcoin people can create an unlimited number of accounts (addresses). This can be used to easily track payments, and it improves anonymity.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715282141
Hero Member
*
Offline Offline

Posts: 1715282141

View Profile Personal Message (Offline)

Ignore
1715282141
Reply with quote  #2

1715282141
Report to moderator
1715282141
Hero Member
*
Offline Offline

Posts: 1715282141

View Profile Personal Message (Offline)

Ignore
1715282141
Reply with quote  #2

1715282141
Report to moderator
caveden
Legendary
*
Offline Offline

Activity: 1106
Merit: 1004



View Profile
August 02, 2012, 09:34:30 AM
 #2

I wasn't event aware that the same input could show up multiple times in the same transaction.

You're forced to point out, in your transaction, which was the transaction that credited your input? And you have to make a signature for every "previous output"?

If that's the case, it indeed looks as waste of space.
Pieter Wuille
Legendary
*
qt
Online Online

Activity: 1072
Merit: 1174


View Profile WWW
August 02, 2012, 12:00:21 PM
 #3

In practice, this would indeed help a bit. But I hope that someday in the future, when addresses are used exactly once only (ideal for both security and privacy), this becomes irrelevant.

I do Bitcoin stuff.
jl2012 (OP)
Legendary
*
Offline Offline

Activity: 1792
Merit: 1097


View Profile
February 27, 2013, 04:31:40 PM
 #4

I want to bring this up again as we have lots of discussion on block size.

There are two major benefits for using one signature of multiple inputs of the same address:

1. Reduce size: allow more transactions in one block

2. Reduce UTXO: it is not economical to redeem sand outputs with a few satoshis because the signatures take a lot of space and the transaction fee required is much higher than the sand outputs. If people could redeem thousands of sand outputs in the same address with only one signature, this will reduce the size of  UTXO set

This is a new transaction structure so I think this is a hard fork. I don't think this is high priority but should be considered when a hard fork is needed.

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
Nagato
Full Member
***
Offline Offline

Activity: 150
Merit: 100



View Profile WWW
February 27, 2013, 04:41:53 PM
 #5

I think this is a great idea!

In my opinion, anything that makes blocks smaller without compromising functionality should be implemented first before raising the max block size.

jl2012 (OP)
Legendary
*
Offline Offline

Activity: 1792
Merit: 1097


View Profile
February 27, 2013, 04:46:07 PM
 #6

I think this is a great idea!

In my opinion, anything that makes blocks smaller without compromising functionality should be implemented first before raising the max block size.

For people without privacy concern, this will also encourage them using a single address to receive payment. Therefore, they can sweep the address every time they spend.

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
Mike Hearn
Legendary
*
expert
Offline Offline

Activity: 1526
Merit: 1129


View Profile
February 27, 2013, 05:30:30 PM
 #7

It'd be a hard-forking change for little/no benefit when Bitcoin is used correctly. It'd also require changing all existing software that speaks the protocol. Agree with Pieter, this isn't worthwhile.
jl2012 (OP)
Legendary
*
Offline Offline

Activity: 1792
Merit: 1097


View Profile
February 27, 2013, 05:37:06 PM
 #8

It'd be a hard-forking change for little/no benefit when Bitcoin is used correctly. It'd also require changing all existing software that speaks the protocol. Agree with Pieter, this isn't worthwhile.

When transaction fee goes up, people without privacy concern would prefer a solution like this, while you can still use bitcoin in the "correct" way. This could be done with other important hardforks.

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
Nagato
Full Member
***
Offline Offline

Activity: 150
Merit: 100



View Profile WWW
February 28, 2013, 10:06:00 AM
 #9

It'd be a hard-forking change for little/no benefit when Bitcoin is used correctly. It'd also require changing all existing software that speaks the protocol. Agree with Pieter, this isn't worthwhile.

If there is going to be a hard fork for the max block size, what harm is there in implementing this? And how do we ensure Bitcoin will be used "correctly" in future?

Mike Hearn
Legendary
*
expert
Offline Offline

Activity: 1526
Merit: 1129


View Profile
February 28, 2013, 10:08:03 AM
 #10

Because people actually have to do the work to implement the hard-forking changes, across all software that might matter? Some changes are easier than others, so each one has to be worth it.

Re: ensuring it's used correctly, the payment protocol work is a big step for that, as are implementing deterministic wallets.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!