Wednesday, July 29, 2026
Homeบิทคอยน์I Scanned The Whole Bitcoin Blockchain For Pictures. What I Discovered Will...

I Scanned The Whole Bitcoin Blockchain For Pictures. What I Discovered Will Shock You


I scanned the Bitcoin blockchain for pictures; what I discovered will shock you. A lot has been mentioned on-line concerning the arbitrary information and content material that may be discovered on the Bitcoin blockchain. Not solely has this chance spawned a distinct segment artwork scene, nevertheless it has additionally led to a motion in opposition to ‘non-monetary transactions’ on the Bitcoin community. Have been you to listen to from one among its proponents or detractors, you’d determine the blockchain is mainly a wall crammed with graffiti. 

Nicely, I made a decision to place the query to the check: are there truly pictures on the blockchain? And what does this truly imply for Bitcoiners merely making an attempt to run their very own full node and maximize their monetary sovereignty?

My methodology was easy: I used to be to purchase a contemporary onerous drive to retailer the blockchain on, after which I used to be going to run basic picture restoration software program over the data- one thing used to rescue pictures from damaged onerous drives, one thing designed to search out uncooked picture information. 

I selected PhotoRec to do the picture restoration work, an open supply picture restoration program that’s been round for over 20 years. The software program is designed to search out picture information in uncooked information. This can be utilized to get well pictures and different file codecs from onerous drives which have failed or been corrupted. It’s truly usually used to get well misplaced pockets.dat information from the early days of Bitcoin wallets, earlier than the proliferation of the seed phrase format

Syncing The Full Bitcoin Node 

For storage of the complete Bitcoin blockchain, I made a decision to purchase a 4-terabyte disk drive for a pair hundred {dollars}. I then put in the newest model of Bitcoin Core on it and began to sync the chain. The method, which includes downloading and verifying the accounting integrity of all transactions in Bitcoin historical past, took about 72 hours or three days, automated and working within the background by the Bitcoin Core software program.

I did this with an in any other case highly effective gaming machine; the principle bottleneck by way of time was the disk drive, which is sluggish to learn and write information as wanted when syncing Bitcoin’s blockchain. The sluggish a part of the method includes the unspent transaction output set, or UTXO. When a consumer syncs the blockchain, each unspent transaction worth (output) or constructive steadiness is organized into the UTXO set, and as these values are spent, they’re faraway from the set, whereas the brand new handle to which these satoshi had been despatched is added. 

On the disk drive, this UTXO indexing course of may have taken three weeks in line with some estimates, so to hurry it up, my clanker (AI agent) steered we index the info in RAM as a substitute, then transfer the info again to the 4-terabyte disk drive. Whereas the entire course of took three days, working within the background, an SSD may have accomplished the entire job in a few day. SSD drives are a lot quicker than disk drives; they’re extra trendy, however they’re additionally simply 4 instances the value, or extra.

As soon as the blockchain was totally downloaded and validated, we moved the UTXO index from RAM again to the disk and booted the Bitcoin software program; the chain was totally synced and the pockets able to go. Now it was time for the subsequent step: recovering the photographs saved on the blockchain.

Picture Restoration on the Blockchain with PhotoRec

With the complete Bitcoin blockchain on my disk drive, I turned off Bitcoin Core and requested my clanker (Cursor AI agent) to run PhotoRec 7.2 on the drive. The default PhotoRec course of seems for jpg, png, gif, tif, bmp, ico, psd, and uncooked codecs. The method ran for over 11 hours on the blockchain information and in the end discovered … (drum roll) … nothing.

Over a terabyte of blockchain information and half a day of scanning and no pictures turned up. The PhotoRec wiki web page offers a easy instance of how the software program works: “PhotoRec identifies a JPEG file when a block begins with: 0xff, 0xd8, 0xff, 0xe0, 0xff, 0xd8, 0xff, 0xe1, or 0xff, 0xd8, 0xff, 0xfe.” In different phrases, this system seems on the information on the disk for bytes that sign that there’s a picture file. 

This system is able to false positives; it saved 8 ICOs and 4 equivalent PNG information that don’t present any pictures when opened, as seen within the image beneath. So, successfully no significant pictures of any form had been discovered. 

The place Did the Jpegs Go? XOR Magic Tips

How is that this attainable? For years, crypto folks have been speaking about NFTs and the best way to engrave picture information on the Bitcoin blockchain. Thousands and thousands of {dollars} have moved on this area of interest, and a complete tradition warfare is being fought on the matter as we converse. Can there actually be no pictures on the chain? 

Seems the dangers concerned with arbitrary information have been mentioned and deliberate for in Bitcoin Core growth circles for a very long time, as early as 2011. XOR, a easy information obfuscation method, is used to scramble all of the blockchain information whereas it’s at relaxation on a tough drive. 

You may need heard that the basic language of computer systems is made up of 0’s and 1’s. Nicely, in a nutshell, XOR compares two digits or bits and returns 1 if the bits are totally different or 0 if the bits are the identical. Within the case of Bitcoin, XOR compares each little bit of the blockchain information to a random key generated throughout preliminary set up, leading to information at relaxation that different packages can discover no that means in. Nonetheless, when the Bitcoin software program runs, it has the important thing to unscramble that information and use it at will. XOR can be very quick, so it doesn’t meaningfully affect efficiency. Right here’s an instance of the Bitcoin genesis block earlier than and after an XOR.

XOR is at the moment utilized to each the blockchain information and the UTXO set. XOR was initially mentioned in 2014 when anti-virus software program began getting tripped up by blockchain information it interpreted as virus code. The anti-virus software program would then quarantine a block, corrupting the blockchain information and crashing Bitcoin, making sync unimaginable. By the top of 2015, XOR had been carried out on the UTXO set information at relaxation and in 2024 it was carried out on all blockchain information at relaxation. 

By the way, the XOR course of implies that no arbitrary information will be recognized or extracted from the blockchain with out deliberately bypassing the XOR, a course of that isn’t mandatory for financial use of Bitcoin. For the reason that Bitcoin Core software program retains a easy database of the situation of every scrambled block, it could possibly get its information, unscramble it and use it in a focused method simply.

Syncing Bitcoin in an unscrambled means is a customized course of that may take as a lot time as syncing from scratch, because it mainly has to re-write the complete terabyte of information in a brand new order, and there’s not a lot level in that for somebody that simply desires the traditional privateness and safety advantages of working a Bitcoin node. So in terms of the overwhelming majority of copies of the Bitcoin blockchain information, resting on the computer systems of regular Bitcoiners all through the world, there’s successfully no arbitrary information or pictures that may be recognized. Stunning, I do know. Be at liberty to run the PhotoRec check your self by yourself node!

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

ความเห็นล่าสุด