# Tag Info

### What actually is a DAG?

DAG stands for Directed Acyclic Graph. In Ethereum, a DAG is created every epoch using a version of the Dagger-Hashimoto Algorithm combining Vitalik Buterin's Dagger algorithm and Thaddeus Dryja's ...
• 8,588
Accepted

### What does it mean that the next DAG is in X days?

I usually avoid copy pasting info from docs, as many here do, but here I think its appropriate: Ethash uses a DAG (directed acyclic graph) for the proof of work algorithm, this is generated for ...
• 2,370

### What is the current DAG size? When do we expect to hit GPU limits?

As of June of 2017, the DAG size had grown past 2 GB. This other Q & A thread (Where do I see the current dag size) will tell you how to find the exact up-to-date number.
• 2,269
Accepted

### How is DAG related to Merkle Tree?

The Ethash DAG is not related to merkle trees (the word "merkle" does not appear on either wiki page). The Ethash DAG only serves as a big dataset (i.e. too big to fit in memory) for making Ethash ...
• 386

### What actually is a DAG?

I see that no one mentioned what the DAG really is. As from the description of what the DAG file contains you can see that DAG stands for directed acyclic graph. This is represented in the file as a ...
• 2,370

### Where do I see the current DAG size?

If you need DAG size tracker you can visit investoon.com/tools/dag_size there you can see current DAG size and important epochs.
• 111

### Where do I see the current DAG size?

The DAG size is actually calculated by a fixed formula. You can find more details here. The function that does the calculation is: def get_full_size(block_number): sz = DATASET_BYTES_INIT + ...
• 802

### Where do I see the current DAG size?

You can check it yourself on your miner: \$ ls -l ~/.ethash/ total 1048584 -rw-rw-r-- 1 richard richard 1073739912 Mar 10 20:36 full-R23-0000000000000000 ...... (If you're running a standalone miner, ...
• 37.9k
Accepted

### Merkle Tree in IPFS

Every Merkle is a directed acyclic graph (DAG) because each node is accessed by its name. Each branch of Merkle is the hash of its local data, because its fast to access instead of accessing by its ...
Accepted

### DAG size (Win 10) vastly larger than expected

I think you may be confusing the DAG with the other chain data. The DAG is only used for mining and will only take up about 2GB. What is taking up the space is the whole blockchain, which you are ...
• 37.2k
Accepted

### Do i need to be synchronized to blockchain when creating DAG for mining on pool?

No. You don't have to sync to the blockchain if you are mining on a pool. The pool will provide your miner with the appropriate information for your miner to generate the DAG file required for it's ...
• 40.3k

### GPU can't allocate the DAG in a single chunk. Bailing?

Try ethminer.exe -G --list-devices It will list openCL compatible devices. You have to check that both MEMORY and MAX_ALLOC sizes are bigger than the current DAG (a bit more than 1.4 Gb at the ...

### Mining ETH on HD 6950 DAG allocation problem

It seems the HD6950 is limited to a 512MB allocation even with much more RAM onboard. C:\Program Files\Ethereum 0.9.41\Release>ethminer --list-devices Listing OpenCL devices. FORMAT: [deviceID] ...
Accepted

### Disable automatic pregeneration of DAG?

Setting the --autodag option to false doesn't seem to work. I typed this command in the JS console and it worked: miner.stopAutoDAG() Output: I0708 11:01:29.112749 eth/backend.go:498] Automatic ...
• 3,930
Accepted

### Problem while generating DAG for Epoch 1 with geth

There seems to be an open bug related to the issue-issue-3056 The present solution which works for me , I run folowing command before mining again geth makedag <blocknumber> <ethash dir ...
• 499

### Disable automatic pregeneration of DAG?

Just to add to the accepted answer... The --autodag flag doesn't take a value, so it can't be set to false. The DAG will always be pregenerated if mining is enabled from the CLI using the --mine ...
• 37.9k

### What actually is a DAG?

This post explains all the associated concepts of DAG and blockchain. I personally found this very useful as it clears a lot of complicated concepts.
• 2,567

### What is the current DAG size? When do we expect to hit GPU limits?

If you need DAG size tracker you can visit investoon.com/tools/dag_size there you can see current DAG size and important epochs.
• 111

### How can I check if a DAG file is corrupted?

The solution I found was to parse my wallet's page on dwarfpool looking for the string "DAG corrupted" in its content with a little Node.JS script. It should work with any pool. Obviously if you do ...
• 31

### Do i need to be synchronized to blockchain when creating DAG for mining on pool?

Perhaps it depends on the mining software but with ethminer using a pool you don't have to sync at all. The pool does the sync and send you the data to compute. You only have to prepare it and share ...
• 6,813

### Blockchain Recent Scaling Proposals : (Sharding, blocksize , SegWit, GHOST, Lightning, multichains, sidechains, DAGs)

Scaling proposals can be put into 2 categories: off-chain and on-chain. Off-chain proposals generally involve netting small transactions between 2 or more parties outside the blockchain. After a ...

### Blockchain size versus DAG file size

what is the difference between blockchain size and dag file size? These are two different things. The 670 GB in your explanation is the blockchain (state) data, which includes all the blocks and ...
• 37.9k

### GPU can't allocate the DAG in a single chunk. Bailing?

I have fixed DAG error with completely uninstall AMD Drivers and installation of 14.1beta custom setup - Display Driver only. The newer 14.12 also didn't work. So if you install good AMD display ...
• 21
Accepted

### Faster way to generate DAG?

Speeding up There is no way you can speed up the DAG creation except: Dedicate mote processing power CPU Dedicate more GPU. What if you could optimise, Well, you can actually propose it as a ...
• 9,683

### pregeneration of DAG does not seem to work with low mining difficulty

Generating the DAG is designed to be memory-hard, I don't think your CPU is the bottle neck. I've come across this before and my solution was your second suggestion, to generate the DAG on a better ...
• 844
Accepted

### Why there are two full-R23 files (DAG files) in .ethash folder?

Every 30,000 blocks - where 30,000 blocks is called an epoch - a new DAG file is generated. This mechanism provides the Ethash algorithm something fresh to work on. At the end of 30,000 blocks, ...
• 37.9k
Accepted

### My node keep giving checking DAG (ethash dir: /root/.ethash) error

I'm not entirely sure those messages are an indication of the real issue, but there's a potential problem with the flag you mention... --autodag=false isn't doing what you think it's doing. It's ...
• 37.9k

### Mining on HD6950 - Getting DAG error

I don't think you can mine with GPUs with less than 4 Gb of memory since the DAG increases with the blockchain size.