Click or drag to resize

MiningRPCController Class

RPC controller for calls related to PoW mining
Inheritance Hierarchy
Controller
  FeatureController
    Miner.ControllersMiningRPCController

Namespace:  Miner.Controllers
Assembly:  Miner (in Miner.dll) Version: 1.1.12
Syntax
C#
[ControllerAttribute]
public class MiningRPCController : FeatureController

The MiningRPCController type exposes the following members.

Methods
  NameDescription
Public methodDumpFeeStats
Utility RPC function to see the fee estimate data structures. Non-standard RPC function.
Public methodEstimateFee
Estimates the approximate fee per kilobyte needed for a transaction to begin confirmation within nblocks blocks.Uses virtual transaction size of transaction as defined in BIP 141 (witness data is discounted).
Public methodEstimateSmartFee
Estimates the approximate fee per kilobyte needed for a transaction to begin confirmation within conf_target blocks if possible and return the number of blocks for which the estimate is valid.Uses virtual transaction size as defined in BIP 141 (witness data is discounted).
Public methodGetBlockTemplate
Gets the block template.
Public methodGetDifficulty
Gets the difficulty.
Public methodGetMiningInfo
Returns a json object containing mining-related information.
Public methodGetNetworkHashPS
Returns the estimated network hashes per second based on the last n blocks. Pass in [nblocks] to override # of blocks, -1 specifies since last difficulty change. Pass in [height] to estimate the network speed at the time when a certain block was found.
Public methodPrioritizeTransaction
Accepts the transaction into mined blocks at a higher (or lower) priority.
Public methodSubmitBlock
Attempts to submit new block to network. See https://en.bitcoin.it/wiki/BIP_0022 for full specification.
Top
See Also

Reference

FeatureController