无法使用geth开始挖矿

问题描述 投票:0回答:1

以太币挖矿存在问题。我想通过 geth 开始挖矿

geth --mine --miner.etherbase=<my wallet>
命令,但我收到错误:

panic: ethash (pow) sealing not supported any more

goroutine 4247 [running]:
github.com/ethereum/go-ethereum/consensus/ethash.(*Ethash).Seal(0xc00055a2e0?, {0x41b566?, 0xc000764000?}, 0xc000764108?, 0xc000764000?, 0xa94f5f96355d5204?)
    github.com/ethereum/go-ethereum/consensus/ethash/ethash.go:84 +0x27
github.com/ethereum/go-ethereum/consensus/beacon.(*Beacon).Seal(0xc0000b3580, {0x2069660, 0xc000580800}, 0xc0005c35e0, 0x11736706ba90f23b?, 0xfaf244ff7701e301?)
    github.com/ethereum/go-ethereum/consensus/beacon/consensus.go:387 +0x9e
github.com/ethereum/go-ethereum/miner.(*worker).taskLoop(0xc000244280)
    github.com/ethereum/go-ethereum/miner/worker.go:706 +0x2fc
created by github.com/ethereum/go-ethereum/miner.newWorker
    github.com/ethereum/go-ethereum/miner/worker.go:329 +0xa8d

。文档说

Proof-of-work mining is no longer used to secure Ethereum Mainnet. The information below is included because the Ethash code is still part of Geth and it could be used to create a private proof-of-work network or testnet.

但是如何在没有 Pow 的情况下开始挖矿呢?

ethereum go-ethereum mining ether
1个回答
0
投票

面临同样的问题

panic: ethash (pow) sealing not supported any more
    
goroutine 29 [running]:
github.com/ethereum/go-ethereum/consensus/ethash. 
(*Ethash).Seal(0xc00024e5c0?, {0x40c2e5?, 0xc00080b080?}, 0xc00080b188?, 
0xc00080b080?, 0xe680d9bc9c09bb71?)
github.com/ethereum/go-ethereum/consensus/ethash/ethash.go:84 +0x25
github.com/ethereum/go-ethereum/consensus/beacon. 
(*Beacon).Seal(0xc0003e8a70, {0x1f70cc8, 0xc000382800}, 0xc000b18320, 
0xc21d23488b06f555?, 0x2018b9a93c6a2d01?)
github.com/ethereum/go-ethereum/consensus/beacon/consensus.go:399 
+0x8d
github.com/ethereum/go-ethereum/miner.(*worker).taskLoop(0xc00019ad80)
github.com/ethereum/go-ethereum/miner/worker.go:623 +0x2fd
created by github.com/ethereum/go-ethereum/miner.newWorker in goroutine 1
github.com/ethereum/go-ethereum/miner/worker.go:294 +0x905
© www.soinside.com 2019 - 2024. All rights reserved.