Questions tagged [dag]

DAG stands for Directed Acyclic Graph and is a large data set that grows every 30,000 blocks. DAG files are used by miners for their Proof of Work (PoW) computation work.

Filter by
Sorted by
Tagged with
2 votes
2 answers
1k views

Generating cache from block_number and seed using Python

I'm trying to run Ethash algorithm from the Python-code provided over here: https://eth.wiki/concepts/ethash/ethash, and have some troubles comparing the produced cache-file with the actual cache-file ...
0 votes
0 answers
2k views

ETC Mining - DAG File to big in Phoenix miner but Claymore works without any complains

I am confused, when trying to mine ETC with Phoenix miner, as I did for a long time, it calls the error: GPU1: Not enaugh VRAM for DAG epoch 329 GPU1 is a RX580 with 4GB, but it is dedicated. I also ...
  • 1
0 votes
1 answer
133 views

how does DAG affect the NONCE finding?what about fix the DAG size to 1G?

I'm going to decrease DAG size on private net, by change the algorithm.go code var datasetSizes = [maxEpoch]uint64{ 1073739904, 1082130304, 1090514816, 1098906752, 1107293056, 1115684224, ...
  • 21
1 vote
1 answer
334 views

Blockchain size versus DAG file size

I am a neophyte(noob) in cryptocurrencies so I'm here at stackexchange with this question, what is the difference between blockchain size and dag file size? Because what actually confused me was the ...
  • 11
2 votes
0 answers
137 views

geth --ethash.dagsondisk 1 - option ignored?

I have configured a private network in which I can assign different roles to different nodes (machines). Before starting the test I generate the DAG for the block number 0 with the command: geth ...
  • 1,814
1 vote
1 answer
12k views

GPU'S Failed cannot create DAG

Last night everything is fine and then this morning I check my mining its's closed I think it was restarted or close accidentally then when I open my pool I have this error. ETH: 5 pools are ...
4 votes
1 answer
969 views

Merkle Tree in IPFS

How is Merkle Tree(DAG) exactly related to IPFS? I observe that unlike Blockchain, IPFS doesn't require level wise hashing. How all data is hashed in IPFS?
2 votes
2 answers
1k views

Verifying ethash output Ethereum block hash

On the Ethash wiki, it mentions that a 16MB verification cache can be used to verify block hashes without generating the full DAG, but there are no further details on how this is done. What's the ...
  • 861
3 votes
1 answer
580 views

Running Ethminer on a private Ethereum network

I'm trying to carry out some tests on Ethminer and was trying to run benchmarks on it before it starting returning a hashrate of 0, from what I've been able to tell this is becasuse the GPU I'm using ...
  • 70
4 votes
1 answer
492 views

Is there any documentation to visualize example of the original DAG graph that Ethereum generates?

Directed Acyclic Graph (DAG) is well explained here. On Vitalik Buterin's Dagger algorithm's link, the image does not show up. I assume it shows the example of 9 level DAG graph. In levels 1 ...
  • 8,139
2 votes
1 answer
304 views

Will deleting DAG data remove the blockchain data too?

As we know DAG data is stored in: Mac/Linux: $(HOME)/.ethash/ My blockchain has been running for 2 months, so there is more than one file in the above directory. Question 1: Can I remove the ...
  • 2,047
0 votes
3 answers
180 views

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

What are some of the most recent scaling proposals for Blockchain? Ie. various blockchain scalability topics including the blocksize debate, SegWit, GHOST, Lightning, multichains, sidechains, ...
4 votes
1 answer
6k views

ethminer fails to allocate DAG buffer -only- when connecting to a pool

When I run ethminer -G it starts the miner as expected. It takes around 60 seconds to allocate the DAG, and then it starts pumping out hashes on the GPU (at a dismal 1MH/s but that's besides the point....
  • 141
1 vote
1 answer
3k views

mining with 2GB GPU with partial uploading

I see all older questions [*]. But I read in reddit Yes. But your efficiency is lowered. Use ethOS dagless mining. My question is whether this is true and which software allows this? I see ethOS ...
0 votes
1 answer
708 views

geth mining on 32bits host (raspberry pi) memory error

My objective is to create a private testnet, and mining it on a 32bits hardware (RPi3). The memory error I keep getting during DAG generation, if Im not mistaken, is excepted if I am running it on a ...
  • 552
0 votes
1 answer
2k views

Will SLI/Crossfire bypass VRAM limitations?

Would running 2 (2GB) AMD R9 270X cards in Crossfire, bypass the DAG limitations on VRAM size? I made the mistake of thinking my single 2GB R9 270X running alongside my 6GB GTX 1060 would work out. ...
  • 103
1 vote
1 answer
743 views

Can you interrupt the initial sync of geth? [duplicate]

I have ran the geth -rpc and it started syncing. Any idea on how long that should take? And if I interrupt it, will it start again or pick up where it was stopped? Also will the DAG stay always synced ...
  • 113
1 vote
0 answers
5k views

Issue "grabbing DAG" for ethminer (but not for expanse)

I installed Geth, and successfully synced the blockchain. However, regardless of whether I use Ethminer, Ethminer with Stratum Proxy, or qtMiner; I always get the same error. It doesn't really throw ...
0 votes
1 answer
386 views

Mining on HD6950 - Getting DAG error

since I just upgraded my rig I got my old GPU laying around doing nothing, so I thought I might start to mine with it. Its an XFX HD 6950 with 2GB of RAM. Im running the following config: Biostar ...
  • 1
0 votes
2 answers
543 views

SSD wear due to DAG

I'm trying to understand the advantages/disadvantages of storing the DAG in a SSD. Does the DAG perform lots of random writes that may cause high SSD wear level? Does anyone have any data concerning ...
3 votes
0 answers
9k views

How do I get Ethminer to work again?

THE PROBLEM I AM TRYING TO RESOLVE: ethminer.exe stops working when I execute the bat file below. It initially worked fine for about two weeks and then it stopped working. I have no idea why. I have ...
  • 31
3 votes
2 answers
4k views

DAG generation failure Reason: Invalid argument

I'm using ethminer, the geth is synced and I used to be able to mine. The ethminer stopped working suddenly saying that : DAG generation failure. I tried removing old DAG files and it didn't help. ...
1 vote
0 answers
255 views

Ethminer Error: Dag generation failure: Invalid Argument [duplicate]

I have been mining for a while now. I restarted my computer this evening and I have been receiving the error " DAG Generation Failure. Reason: Invalid argument" when running the same bat file I always ...
  • 11
7 votes
1 answer
10k views

Dag generation failure: Invalid Argument

I have been mining for a while now. I restarted my computer this evening and I have been receiving the error " DAG Generation Failure. Reason: Invalid argument" when running the same bat file I always ...
1 vote
0 answers
581 views

DAG file is loaded in all GPUs of the rig?

I have a mining rig with 6GPU, each one has 3GB ram. Is it necessary the DAG file to be downloaded in all GPU rams or it is downloaded in one GPU. Furthermore, is the required ram for mining (to ...
1 vote
0 answers
434 views

Possibly corrupted DAG file

I've started mining on Ubuntu 16.04 using AMD-GPU PRO driver and this miner: https://github.com/ethereum/cpp-ethereum/ Video card is a RX480 with 8GB stock. I'm getting a lot of bad shares, like 10%...
5 votes
2 answers
797 views

DAG size (Win 10) vastly larger than expected

Last night, I updated to a much newer version of the Mist Ethereum wallet than when I last used it (0.2.6 to 0.8.9) about 1 year ago, and from everything I've read on DAG size, it's using far more ...
  • 53
4 votes
1 answer
2k views

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

I am using Ubuntu 14.04 and running go-ethereum in it. In the ~/.ethash/ folder, I see that there are two DAG files created when mining begins. The first one is created immediately after mining starts ...
  • 287
1 vote
1 answer
183 views

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

I have my private ethereum network. The way I started my geth: geth --networkid 23422 --nodiscover --nat none --datadir="$datapath" --rpccorsdomain '*' --rpc --rpcaddr "localhost" --rpccorsdomain="*" ...
  • 8,139
18 votes
3 answers
49k views

Where do I see the current DAG size?

Where do I see the current, exact DAG size? Is it being tracked on a website somewhere, or is it something I can check on my miner?
  • 181
2 votes
0 answers
205 views

What's required to do header-based ("SPV") mining possible in Ethereum?

In Bitcoin, one can start mining by just including the header of the previous block into the new block without fully validating it. This is risky, but has speed improvements (being able to start ...
1 vote
0 answers
133 views

Multiple DAG generation while syncing on testnet

While blockchain synchronisation on testnet, I see multiple DAG generation messages along with the percentage of DAG generated? After this when I check the eth.syncing output my value of ...
  • 195
6 votes
1 answer
5k views

How is DAG related to Merkle Tree?

After reading the Ethash wiki, I kind of get DAG is something that every node can identically generate to verify the work. However I don't get how the DAG is related to Merkle Tree. Can anyone explain ...
  • 792
6 votes
1 answer
492 views

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

I'm new to Ethereum and I'm trying to make a private Ethereum network, with some customization. I've done the following: 1) installed geth 1.5.4-stable from source 2) modified params/protocol_params....
  • 61
3 votes
1 answer
2k views

maximizing GPU mining utilisation

I have a 8GB ram GPU - can I save the DAG twice and produce double hashrate? If yes - how can I program it?
6 votes
1 answer
781 views

When start geth(Ethereum client) First time,showing message like "generating DAG for epoch ........." mining is taking too much to start

What i have Case 1. following command line without --dev option (take too much time to start to mining) geth --datadir ~/privateBlockChain1 --mine --minerthreads 1 --networkid 1300 --rpcport 8000 -...
  • 841
5 votes
1 answer
1k views

Problem while generating DAG for Epoch 1 with geth

I am running geth on private ethereum network. I have changed the CalcDifficulty() in block_validator.go to always return return big.NewInt(0x100)... to have a constant difficulty. The mining starts ...
  • 499
11 votes
4 answers
66k views

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

Before you jump all over this a duplicate question. I did read things related to DAG like here: What actually is a DAG? But that doesn't answer my question, what does it mean when my mining pool ...
2 votes
1 answer
2k views

Problem with ether mining, stuck in DAG generation loop

i am completely new to ether mining, recently attempted to mine some ether using my desktop. I came across a comprehensive guide from this link: https://www.cryptocompare.com/mining/guides/how-to-mine-...
3 votes
2 answers
2k views

Disable automatic pregeneration of DAG?

I am working on a private blockchain (currently block #16117). I have pregenerated the DAG for epoch 1 as well. So, I started the geth instance with --autodag=false. However, I still get the following ...
  • 3,900
0 votes
2 answers
10k views

Faster way to generate DAG?

From the Ethereum official documentation: The DAG is totally different every 30000 blocks (a 100 hour window, called an epoch) and takes a while to generate. Since the DAG only depends on block ...
  • 3,900
1 vote
2 answers
987 views

Parameters affecting epoch?

From the official Ethereum Documentation: The DAG is totally different every 30000 blocks (a 100 hour window, called an epoch) and takes a while to generate. Is this also true for a private ...
  • 3,900
2 votes
0 answers
256 views

Is the DAG the same for all (private/main/test) nets?

Reading about the proof of work, I got to the data generation part (mainly the DAG) and found it in: ~/.ethash/full-R23-0000000000000000 In the ethash it is mentioned that the DAG is generated from ...
  • 5,234
7 votes
2 answers
2k views

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

When mining for pool, the DAG has to be created. Before starting mining and DAG creation do i need to be synced to blockchain?
  • 155
6 votes
3 answers
16k views

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

I decided to do solo GPU mining and set everything up (probably). Synced the blockchain, ran the Genoil 1.0.7 beta of ethminer on Windows. But I keep receiving this error: Creating one big buffer for ...
3 votes
2 answers
16k views

How can I check if a DAG file is corrupted?

When mining it's very common for a DAG to become corrupted. To resolve the problem deleting the file and restarting the miner is required. I'm working on a miner manager to control RIGs and one of ...
3 votes
2 answers
2k views

How to generate a DAG for the given epoch with geth?

I need to run some integration tests that include block sealing. I would like to separate the process of DAG generation from the tests themselves. Is it possible to pregenerate the given DAG with geth?...
8 votes
3 answers
5k views

Mining ETH on HD 6950 DAG allocation problem

I have 2 HD6950's which I wanted to use for ETH mining - but I have the well known DAG allocation problem. I can't find a solution for this problem - that's why I'm asking here. And please don't tell ...
82 votes
5 answers
159k views

What actually is a DAG?

I have tried googling it as well as finding it here. Many people here talk about it, but what actually is a DAG?
  • 861
3 votes
1 answer
187 views

Why does syncing the blockchain continually evict the DAG?

During a long blockchain update, there are messages such as "Evicting DAG for epoch X in favor of DAG for epoch X+3." My understanding is that a DAG is not required until actually mining, so the only ...