package
2.1.9
Repository: https://github.com/core-coin/go-core.git
Documentation: pkg.go.dev

# Functions

CalcDifficulty is the difficulty adjustment algorithm.
New creates a full sized cryptore PoW scheme and starts a background thread for remote mining, also optionally notifying a batch of remote services of new work packages.
NewFakeDelayer creates a cryptore consensus engine with a fake PoW scheme that accepts all blocks as valid, but delays verifications by some time, though they still have to conform to the Core consensus rules.
NewFakeFailer creates a cryptore consensus engine with a fake PoW scheme that accepts all blocks as valid apart from the single one specified, though they still have to conform to the Core consensus rules.
NewFaker creates a cryptore consensus engine with a fake PoW scheme that accepts all blocks' seal as valid, though they still have to conform to the Core consensus rules.
NewFullFaker creates an cryptore consensus engine with a full fake scheme that accepts all blocks as valid, without checking any consensus rules whatsoever.
NewShared creates a full sized cryptore PoW shared between all requesters running in the same process.
NewTester creates a small sized cryptore PoW scheme useful only for testing purposes.
SeedHash is the seed to use for generating a verification cache and the mining dataset.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

Block reward in ore for successfully mining a block.

# Structs

API exposes cryptore related methods for the RPC interface.
Config are the configuration parameters of the cryptore.
Cryptore is a consensus engine based on proof-of-work implementing the cryptore algorithm.

# Type aliases

Mode defines the type and amount of PoW verification an cryptore engine makes.