2019-05-31 08:42:57 -07:00
|
|
|
/*
|
|
|
|
|
This library contains mocking data for running unit tests on the address route.
|
|
|
|
|
*/
|
|
|
|
|
|
2020-02-16 06:38:25 -08:00
|
|
|
'use strict'
|
2019-05-31 08:42:57 -07:00
|
|
|
|
|
|
|
|
const mockMiningInfo = {
|
|
|
|
|
blocks: 1270185,
|
|
|
|
|
currentblocksize: 0,
|
|
|
|
|
currentblocktx: 0,
|
|
|
|
|
difficulty: 1,
|
|
|
|
|
blockprioritypercentage: 5,
|
2019-06-08 19:46:59 -07:00
|
|
|
warnings:
|
2019-05-31 08:42:57 -07:00
|
|
|
"Warning: Unknown block versions being mined! It's possible unknown rules are in effect",
|
|
|
|
|
networkhashps: 517410290.9365583,
|
|
|
|
|
pooledtx: 5,
|
2020-02-16 06:38:25 -08:00
|
|
|
chain: 'test'
|
2019-05-31 08:42:57 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
|
mockMiningInfo
|
|
|
|
|
}
|