Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Error during UpdateJob - Equihash #1685

Open
@PostalPanda

Description

[2023-05-07 21:39:21.6039] [E] [zec] Error during UpdateJob System.MissingMethodException: Method not found: 'Void NBitcoin.BitcoinStream.ReadWrite(!!0 ByRef)'.
   at NBitcoin.Zcash.ZcashTransaction.ReadWrite(BitcoinStream stream)
   at NBitcoin.BitcoinStream.ReadWrite[T](T& data)
   at Miningcore.Blockchain.Equihash.EquihashJob.BuildCoinbase() in /home/miningcore/miningcore/src/Miningcore/Blockchain/Equihash/EquihashJob.cs:line 167
   at Miningcore.Blockchain.Equihash.EquihashJob.Init(EquihashBlockTemplate blockTemplate, String jobId, PoolConfig poolConfig, ClusterConfig clusterConfig, IMasterClock clock, IDestination poolAddressDestination, Network network, EquihashSolver solver) in /home/miningcore/miningcore/src/Miningcore/Blockchain/Equihash/EquihashJob.cs:line 403
   at Miningcore.Blockchain.Equihash.EquihashJobManager.UpdateJob(CancellationToken ct, Boolean forceUpdate, String via, String json) in /home/miningcore/miningcore/src/Miningcore/Blockchain/Equihash/EquihashJobManager.cs:line 126    at NBitcoin.Zcash.ZcashTransaction.ReadWrite(BitcoinStream stream)
   at NBitcoin.BitcoinStream.ReadWrite[T](T& data)
   at Miningcore.Blockchain.Equihash.EquihashJob.BuildCoinbase() in /home/miningcore/miningcore/src/Miningcore/Blockchain/Equihash/EquihashJob.cs:line 167
   at Miningcore.Blockchain.Equihash.EquihashJob.Init(EquihashBlockTemplate blockTemplate, String jobId, PoolConfig poolConfig, ClusterConfig clusterConfig, IMasterClock clock, IDestination poolAddressDestination, Network network, EquihashSolver solver) in /home/miningcore/miningcore/src/Miningcore/Blockchain/Equihash/EquihashJob.cs:line 403
   at Miningcore.Blockchain.Equihash.EquihashJobManager.UpdateJob(CancellationToken ct, Boolean forceUpdate, String via, String json) in /home/miningcore/miningcore/src/Miningcore/Blockchain/Equihash/EquihashJobManager.cs:line 126

I have checked that NBitcoin is installed and that it is the correct version, rebuilt with dotnet after removing obj and bin, and I can not seem to figure out why it's throwing this error.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions