Bitcoin Forum
June 14, 2024, 09:10:23 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Do transaction messages bloat the blockchain?  (Read 688 times)
jonoiv (OP)
Hero Member
*****
Offline Offline

Activity: 966
Merit: 526


🐺Dogs for President🐺


View Profile
August 11, 2013, 12:54:35 PM
 #1

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)

Signature for hire!
lucazane
Legendary
*
Offline Offline

Activity: 1198
Merit: 1000



View Profile WWW
August 11, 2013, 12:58:41 PM
 #2

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 !

The Blocks Factory Mining POOL : DGB(sha256d, Skein, Qubit, Groestl & Scrypt), FTC
skyangel
Sr. Member
****
Offline Offline

Activity: 301
Merit: 260


FLO dev


View Profile
August 11, 2013, 01:01:55 PM
 #3

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.

jonoiv (OP)
Hero Member
*****
Offline Offline

Activity: 966
Merit: 526


🐺Dogs for President🐺


View Profile
August 11, 2013, 01:12:11 PM
 #4

two different opinions there ! hmmm   

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


Signature for hire!
jonoiv (OP)
Hero Member
*****
Offline Offline

Activity: 966
Merit: 526


🐺Dogs for President🐺


View Profile
August 11, 2013, 01:15:52 PM
 #5

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. 

Signature for hire!
Neo8
Member
**
Offline Offline

Activity: 94
Merit: 10


View Profile WWW
August 11, 2013, 02:07:11 PM
 #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.
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!