Learn R Programming

gethr (version 0.1.0)

eth_submitWork: Proof-of-work submission

Description

eth_submitWork submits a proof-of-work solution.

Usage

eth_submitWork(nonce, pow_hash, mix_digest)

Arguments

nonce

Data - Nonce found.

pow_hash

Data - Header's pow-hash.

mix_digest

Data - Mix digest.

Value

Boolean - returns true if the provided solution is valid, otherwise false.

See Also

Other eth functions: eth_accounts, eth_blockNumber, eth_call, eth_coinbase, eth_estimateGas, eth_gasPrice, eth_getBalance, eth_getBlockByHash, eth_getBlockByNumber, eth_getBlockTransactionCountByHash, eth_getBlockTransactionCountByNumber, eth_getCode, eth_getFilterChanges, eth_getFilterLogs, eth_getLogs, eth_getProof, eth_getStorageAt, eth_getTransactionByBlockHashAndIndex, eth_getTransactionByBlockNumberAndIndex, eth_getTransactionByHash, eth_getTransactionCount, eth_getTransactionReceipt, eth_getUncleByBlockHashAndIndex, eth_getUncleByBlockNumberAndIndex, eth_getUncleCountByBlockHash, eth_getUncleCountByBlockNumber, eth_getWork, eth_hashrate, eth_mining, eth_newBlockFilter, eth_newFilter, eth_newPendingTransactionFilter, eth_protocolVersion, eth_sendRawTransaction, eth_sendTransaction, eth_sign, eth_submitHashrate, eth_syncing, eth_uninstallFilter, gethr, personal_sendTransaction

Examples

Run this code
# NOT RUN {
eth_submitWork('0x0000000000000001', '0x1234567890abcdef1234567890abcde
f1234567890abcdef1234567890abcdef', '0xD1FE5700000000000000000000000000
D1FE5700000000000000000000000000')
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab