Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
18 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, ...
1
vote
1answer
169 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 ...
2
votes
0answers
71 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
vote
1answer
3k 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 ...
2
votes
1answer
579 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
2answers
474 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 ...
3
votes
1answer
370 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 ...
3
votes
1answer
279 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 ...
2
votes
1answer
163 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 ...
0
votes
3answers
136 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
0answers
777 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....
1
vote
1answer
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
1answer
514 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 ...
0
votes
1answer
1k 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. ...
1
vote
1answer
408 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 ...
1
vote
0answers
4k 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
1answer
359 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 ...
0
votes
2answers
334 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
0answers
7k 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 ...
3
votes
2answers
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
0answers
246 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 ...
7
votes
1answer
8k 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
0answers
348 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
0answers
248 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%...
6
votes
2answers
595 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 ...
4
votes
1answer
1k 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 ...
1
vote
1answer
116 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="*" ...
17
votes
3answers
45k 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?
2
votes
1answer
151 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
0answers
109 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 ...
5
votes
1answer
4k 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 ...
7
votes
1answer
349 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....
3
votes
1answer
425 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?
7
votes
1answer
639 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 -...
6
votes
1answer
858 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 ...
8
votes
3answers
46k 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
1answer
1k 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-...
4
votes
2answers
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 ...
0
votes
2answers
4k 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 ...
1
vote
2answers
267 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 ...
2
votes
0answers
223 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 ...
7
votes
2answers
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?
7
votes
3answers
14k 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 ...
4
votes
2answers
10k 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
2answers
1k 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
3answers
4k 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 ...
71
votes
5answers
115k 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?
3
votes
1answer
170 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 ...
6
votes
2answers
2k views

Why did the DAG file change in block 1080000?

I'm mining to dwarfpool, and all of sudden am getting this message on the account: "DAG file changed in block 1080000" Does this mean that my DAG is out of sync and if yes, how do I resync it, tried ...
22
votes
3answers
85k views

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

I have two mining rigs running, one with 2GB GPUs and one with 8GB cards. Recently, the rig with the 2GB cards failed due to the inability to upload the DAG to the GPU. What's the current DAG size ...