Author

Topic: Do transaction messages bloat the blockchain? (Read 706 times)

member
Activity: 94
Merit: 10
August 11, 2013, 09:07:11 AM
#6
I already responded to this question for Neocoin. Messages have a small size relatively to the size of a block in the chain, the current bitcoin block size is 500KB.

Websites that spam the network with a tremendous volume of microtransactions like satoshiDice are much more dangerous for the blockchain.
hero member
Activity: 966
Merit: 526
🐺Dogs for President🐺
You would think so, but in reality, the transaction message is so small compared to the size of a transaction.

Here's some real statistics from Florin coin (the original transaction message coin).

Code:
mysql> select avg(size) from tx where (message is NULL or message = "")
+-----------+
| avg(size) |
+-----------+
|  979.2556 |
+-----------+
1 row in set (0.07 sec)

mysql> select avg(size) from tx where (message is not NULL and message != "");
+-----------+
| avg(size) |
+-----------+
|  501.6539 |
+-----------+
1 row in set (0.04 sec)

Surprisingly, the transactions with messages happens to be smaller on average than those without.


this example is both florincoin, yes?

if so then surely that fact that the database has an extra field will bloat it ? 

for example the field is empty vs no field at all.  surly the coin without it will be smaller in the database. 
hero member
Activity: 966
Merit: 526
🐺Dogs for President🐺
two different opinions there ! hmmm   

do either of you think that it will eventually slow transactions down and the confirmation speed ?

sr. member
Activity: 301
Merit: 260
FLO dev
You would think so, but in reality, the transaction message is so small compared to the size of a transaction.

Here's some real statistics from Florin coin (the original transaction message coin).

Code:
mysql> select avg(size) from tx where (message is NULL or message = "")
+-----------+
| avg(size) |
+-----------+
|  979.2556 |
+-----------+
1 row in set (0.07 sec)

mysql> select avg(size) from tx where (message is not NULL and message != "");
+-----------+
| avg(size) |
+-----------+
|  501.6539 |
+-----------+
1 row in set (0.04 sec)

Surprisingly, the transactions with messages happens to be smaller on average than those without.
legendary
Activity: 1198
Merit: 1000
For sure,
the block chain of coin X will be bigger than the blockchain of coin Y.

Imagine a coin like worldcoin with block every 15 seconds and a message in each transactions !
hero member
Activity: 966
Merit: 526
🐺Dogs for President🐺
as the titles says!

If there is coin X which is identical to coin Y but with the added feature of sending messages with your transaction, which is best?

Obviously coin X looks best but does the block chain get bloated by the messages?  will it eventually slow the coin transactions down?

Coin Y (no transaction messages)

Coin X (with Transaction messages)
Jump to: