Bitcoin Forum
November 16, 2024, 01:03:58 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Block Space Cost and Usgae  (Read 797 times)
adamstgBit (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1037


Trusted Bitcoiner


View Profile WWW
November 18, 2015, 04:24:19 PM
 #1

It dawned on me what if i wanted to store a video on the blockchain, i can't! 1MB limit.
i want to store a video in an permanent, unalterable, easily accessible,  way. the blockchain is perfect for that.
i guess i could sign the video and save that sig to the blockchain, use that as proof the video is authentic. but that feels like a work around.

is there a TX_Data_Max? should there be?

how much fee would a 8mb file cost?

is this abuse of block space?



AgentofCoin
Legendary
*
Offline Offline

Activity: 1092
Merit: 1001



View Profile
November 18, 2015, 04:32:38 PM
 #2

Definitely not needed or advised for Bitcoin. That is like an atomic bomb to Bitcoin.
If people are worried about spam tx attacks bloating the blockchain, videos being added would definitely kill it.

If you want this type of feature, a new coin should be created for this purpose.

I support a decentralized & unregulatable ledger first, with safe scaling over time.
Request a signed message if you are associating with anyone claiming to be me.
ajareselde
Legendary
*
Offline Offline

Activity: 1722
Merit: 1000

Satoshi is rolling in his grave. #bitcoin


View Profile
November 18, 2015, 04:34:42 PM
 #3

Work around the 1mb limit would be to split the file to multiple blocks, and render them that way. I don't know if it's doable, but thats the only thing that crosses my mind that could
bypass that size limit. But that is definitely not good for blockchain as it is today as it would choke transactions.

Better just use it to store a torrent file. That way you won't be dependent on single point of storage, and it wont "expire" after time, or get deleted..
Lauda
Legendary
*
Offline Offline

Activity: 2674
Merit: 2965


Terminated.


View Profile WWW
November 18, 2015, 04:35:40 PM
 #4

The blockchain used by Bitcoin was not designed for doing something like that. Storing small amounts of information is okay and doable.

"The Times 03/Jan/2009 Chancellor on brink of second bailout for banks"
😼 Bitcoin Core (onion)
DannyHamilton
Legendary
*
Offline Offline

Activity: 3486
Merit: 4851



View Profile
November 18, 2015, 05:01:14 PM
 #5

It dawned on me what if i wanted to store a video on the blockchain, i can't! 1MB limit.

It is a good thing that you can't.  Why would I want to store a video for you? Why should I have to?

i want to store a video in an permanent, unalterable, easily accessible,  way. the blockchain is perfect for that.

No. It isn't.

i guess i could sign the video and save that sig to the blockchain, use that as proof the video is authentic. but that feels like a work around.

That's what hashes and signatures are for.  They provide a way to represent some data without needing the entire data set.

how much fee would a 8mb file cost?

I guess that depends on how you choose to encode it.  Lets assume that you will only create "standard" transactions, and that you will use 80 byte OP_RETURN scripts to store the data.

8 MB / 80 bytes per transaction = 100000 transactions.

The DEFAULT_MIN_RELAY_TX_FEE per transaction is currently 0.00001 BTC.  If you pay a 0.00001 BTC fee on each of 100000 transactions, that should cost you approximately 1 BTC.

is this abuse of block space?

In my personal opinion?  Yes.
adamstgBit (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1037


Trusted Bitcoiner


View Profile WWW
November 18, 2015, 05:58:32 PM
 #6

i want to store a video in an permanent, unalterable, easily accessible,  way. the blockchain is perfect for that.

No. It isn't.

i guess i could sign the video and save that sig to the blockchain, use that as proof the video is authentic. but that feels like a work around.

That's what hashes and signatures are for.  They provide a way to represent some data without needing the entire data set.


you can't argue that the blockchain isn't the best way to store information is a permanent, unalterable, easily accessible,  way.

but i guess the information on the blockchain should be the type that is used to authenticate something without relying on a 3rd party.

we  keep track of the BTC TX, so we can authenticate TX's without a 3rd party.

a hash can be used authenticate the video, or whatever large file.

80 bytes per transaction isn't much at all...

SimpleIn
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
November 18, 2015, 06:17:06 PM
 #7

It dawned on me what if i wanted to store a video on the blockchain, i can't! 1MB limit.
i want to store a video in an permanent, unalterable, easily accessible,  way. the blockchain is perfect for that.
i guess i could sign the video and save that sig to the blockchain, use that as proof the video is authentic. but that feels like a work around.

is there a TX_Data_Max? should there be?

how much fee would a 8mb file cost?

is this abuse of block space?




blockchain bitcoin and so much great
Bitcoinpro
Legendary
*
Offline Offline

Activity: 1344
Merit: 1000



View Profile
November 18, 2015, 06:22:13 PM
 #8

unbelivably its prob still competetive to some mobile download rates

WWW.FACEBOOK.COM

CRYPTOCURRENCY CENTRAL BANK

LTC: LP7bcFENVL9vdmUVea1M6FMyjSmUfsMVYf
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1540


No I dont escrow anymore.


View Profile
November 18, 2015, 06:38:15 PM
 #9

-snip-
you can't argue that the blockchain isn't the best way to store information is a permanent, unalterable, easily accessible,  way.

How is collecting a video 80 bytes at a time from a >50 GB and constantly growing database "easily accessible"? If you e.g. compare it to an USB stick or a <insert cloud service here>-account?
OP_RETURN is prunable data, so you can not even rely on "unalterable" or "permanent". If you want to avoid this - you can - you will cause other issues and might solve these two, but you will not have easily accessible data.

Note: Im biased, I dont think I should store your video for you. There are probably alt coins made for this exact purpose. At least I heard about "proof of space" concepts a while back.

Im not really here, its just your imagination.
Mickeyb
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000

Move On !!!!!!


View Profile
November 18, 2015, 06:44:17 PM
 #10

Adam imagine if all bitcoiners wanted to store one video each on the blockchain and that was possible. Bitcoin would be a history right away. I think that with this everything is said. We don't really need bigger blocks just to store videos on the blockchain!
thejaytiesto
Legendary
*
Offline Offline

Activity: 1358
Merit: 1014


View Profile
November 18, 2015, 07:02:42 PM
 #11

What you said isn't a workaround, what you said is what you should do. How do you expect Bitcoin to scale if we flood it with videos? I mean look at Youtube, imagine if we had to host all those videos on the blockchain. No amount of blocksize increases would ever allow for such a thing.
adamstgBit (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1037


Trusted Bitcoiner


View Profile WWW
November 18, 2015, 07:03:35 PM
 #12

Adam imagine if all bitcoiners wanted to store one video each on the blockchain and that was possible. Bitcoin would be a history right away. I think that with this everything is said. We don't really need bigger blocks just to store videos on the blockchain!

the thing is not everyone would want to because it's expensive to do it.

if miners are OK with holding millions of GB's of data  so long as they get paid... who's to say this is bad?

problem is the miner that mines the block gets paid say 1BTC to fill that block with data, then every other miner has to agree to also store this data but they didn't get paid anything...

running a full node now requires MASSIVE HD and would literally take forever to dwl? maybe, maybe not!

full nodes do not need my video file to authenticate BTC TXs, they don't need the TX_Raw_data part of any bitcoin TX. so full node could simply ignore that data part of a TX?

is that even possible? seems to me it is, then one copy of the bitcoin blockchain isn't necessarily the same as another in that they all contain ever BTC TX but the data associated with each TX would only saved by the nodes whom it concerns. if no one cares that i signed some lengthy contract no one dwls it...

maybe all the node could simply save a 64bit hash of the data.

proof the data is saved by everyone and only the node that care about the contents of that data save it.

that way you could literally save GB's of data to the blockchain without effecting block size.

some fork would have to be done to better handle TX_DATA.



adamstgBit (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1037


Trusted Bitcoiner


View Profile WWW
November 18, 2015, 07:10:46 PM
 #13

What you said isn't a workaround, what you said is what you should do. How do you expect Bitcoin to scale if we flood it with videos? I mean look at Youtube, imagine if we had to host all those videos on the blockchain. No amount of blocksize increases would ever allow for such a thing.

the "blockchain" could contain every single pieces of information known to man!

all you have to do is collated every single pieces of information known to man, and then get a 64bit hash of that info, and save that to the blockchain!

one or a few node(s) holds the actual data, every other node holds the proof / timestamp of this data, bacily.

now anyone can dwl and verify the data. without bloating up the network with data.

DooMAD
Legendary
*
Offline Offline

Activity: 3948
Merit: 3191


Leave no FUD unchallenged


View Profile
November 18, 2015, 09:04:45 PM
Last edit: November 18, 2015, 09:14:49 PM by DooMAD
 #14

You can certainly use blockchains for this purpose, but it's best to use one that's designed for it.  I'm sure there are altcoins and other projects better suited to this sort of thing.  File storage sounds like it could be 'Maidsafe' or 'Storj' territory, so perhaps look into those and any other similar concepts.  Or if you just want a reference to a document stored in the blockchain, that sounds more like 'Factom'.

▄▄▄███████▄▄▄
▄█████████████████▄▄
▄██
█████████▀██▀████████
████████▀
░░░░▀░░██████████
███████████▌░░▄▄▄░░░▀████████
███████
█████░░░███▌░░░█████████
███
████████░░░░░░░░░░▄█████████
█████████▀░░░▄████░░░░█████████
███
████▄▄░░░░▀▀▀░░░░▄████████
█████
███▌▄█░░▄▄▄▄█████████
▀████
██████▄██
██████████▀
▀▀█████████████████▀▀
▀▀▀███████▀▀
.
.BitcoinCleanUp.com.


















































.
.     Debunking Bitcoin's Energy Use     .
███████████████████████████████
███████████████████████████████
███████████████████████████████
███████▀█████████▀▀▀▀█▀████████
███████▌░▀▀████▀░░░░░░░▄███████
███████▀░░░░░░░░░░░░░░▐████████
████████▄░░░░░░░░░░░░░█████████
████████▄░░░░░░░░░░░▄██████████
███████▀▀▀░░░░░░░▄▄████████████
█████████▄▄▄▄▄▄████████████████
███████████████████████████████
███████████████████████████████
███████████████████████████████
...#EndTheFUD...
AndySt
Legendary
*
Offline Offline

Activity: 2184
Merit: 1012


View Profile
November 18, 2015, 09:24:41 PM
 #15

If only something like 6 sec vine video Smiley But I think what blockchain isn`t best idea for store. Peer-to-peer network better for this purpose Wink
adamstgBit (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1037


Trusted Bitcoiner


View Profile WWW
November 18, 2015, 10:32:41 PM
Last edit: November 18, 2015, 10:44:54 PM by adamstgBit
 #16

You can certainly use blockchains for this purpose, but it's best to use one that's designed for it.  I'm sure there are altcoins and other projects better suited to this sort of thing.  File storage sounds like it could be 'Maidsafe' or 'Storj' territory, so perhaps look into those and any other similar concepts.  

the main reason to store data on the blockchain is so that the data cannot be modified after.

say i write up a contract on a piece of paper, "if bitcoin price goes to 350 i will send 0.1BTC to DooMAD" we both sign it. then price goes up to 351, but don't pay up, I say the contract stated "375" as the price, and i have made a fake copy of the contract with the modified info.

how do we solve this, without trusting a 3rd party?

we store the contract on the blockchain, but we don't need the contract itself on the blockchain, just something that authenticates the contract, so all we have to put on the blockchain is the hash of the contract. with that you can prove what the contents of the contact are.

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!