com
.
mchange
.
sc
.
v1
.
consuela
.
ethereum
.
pow
.
ethash23
.
Implementation
Logging
trait
Logging
extends
Implementation
Linear Supertypes
Implementation
,
AnyRef
,
Any
Known Subclasses
LoggingParallelUInt32AsInt
,
LoggingSequentialUInt32AsInt
Ordering
Alphabetic
By inheritance
Inherited
Logging
Implementation
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Type Members
abstract
type
Cache
Definition Classes
Implementation
abstract
type
Dataset
Definition Classes
Implementation
abstract
type
Row
Definition Classes
Implementation
Abstract Value Members
abstract
def
dumpDatasetBytes
(
os:
OutputStream
,
dataset:
Dataset
)
:
Unit
Attributes
protected
Definition Classes
Implementation
abstract
def
extractDatasetRow
(
dataset:
Dataset
,
i:
Int
)
:
Row
Attributes
protected
Definition Classes
Implementation
abstract
def
hashimoto
(
seedBytes:
Array
[
Byte
]
,
fullSize:
Long
,
datasetAccessor: (
Int
) ⇒
Row
)
:
Hashimoto
Attributes
protected
Definition Classes
Implementation
abstract
def
mkCache
(
cacheSize:
Long
,
seed:
Array
[
Byte
]
)
:
Cache
Attributes
protected
Definition Classes
Implementation
abstract
def
readDatasetBytes
(
is:
InputStream
,
mbInitSize:
Option
[
Long
]
)
:
Dataset
Attributes
protected
Definition Classes
Implementation
implicit abstract
val
rowClassTag
:
ClassTag
[
Row
]
Attributes
protected
Definition Classes
Implementation
abstract
def
toDataset
(
array:
Array
[
Row
]
)
:
Dataset
Attributes
protected
Definition Classes
Implementation
abstract
def
writeRow
(
row:
Row
)
:
Array
[
Byte
]
Attributes
protected
Definition Classes
Implementation
Concrete Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
blocksRemainingInEpoch
(
blockNumber:
Long
)
:
Long
Definition Classes
Implementation
def
cacheDataset
(
seed:
Array
[
Byte
]
,
dataset:
Dataset
)
:
Failable
[
Unit
]
Definition Classes
Implementation
def
calcDataset
(
cache:
Cache
,
fullSize:
Long
)
(
implicit
mf:
Factory
)
:
Dataset
Definition Classes
Logging
→
Implementation
def
calcDatasetForBlock
(
blockNumber:
Long
)
(
implicit
mf:
Factory
)
:
Dataset
Definition Classes
Implementation
def
calcDatasetForEpoch
(
epochNumber:
Long
)
(
implicit
mf:
Factory
)
:
Dataset
Definition Classes
Implementation
final
def
calcDatasetParallel
(
cache:
Cache
,
fullSize:
Long
)
(
mf:
Factory
)
:
Dataset
Attributes
protected[
com.mchange.sc.v1.consuela.ethereum.pow.ethash23
]
Definition Classes
Implementation
def
calcDatasetRow
(
cache:
Cache
,
i:
Int
)
:
Row
Attributes
protected[
com.mchange.sc.v1.consuela.ethereum.pow.ethash23
]
Definition Classes
Logging
→
Implementation
final
def
calcDatasetSequential
(
cache:
Cache
,
fullSize:
Long
)
(
mf:
Factory
)
:
Dataset
Attributes
protected[
com.mchange.sc.v1.consuela.ethereum.pow.ethash23
]
Definition Classes
Implementation
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
datasetLen
(
fullSize:
Long
)
:
Int
Attributes
protected[
com.mchange.sc.v1.consuela.ethereum.pow.ethash23
]
Definition Classes
Implementation
def
doCalcDataset
(
cache:
Cache
,
fullSize:
Long
)
(
mf:
Factory
)
:
Dataset
Attributes
protected[
com.mchange.sc.v1.consuela.ethereum.pow.ethash23
]
Definition Classes
Implementation
def
epochFromBlock
(
blockNumber:
Long
)
:
Long
Definition Classes
Implementation
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
getCacheSizeForBlock
(
blockNumber:
Long
)
:
Long
Definition Classes
Implementation
def
getCacheSizeForEpoch
(
epochNumber:
Long
)
:
Long
Definition Classes
Implementation
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getFullSizeForBlock
(
blockNumber:
Long
)
:
Long
Definition Classes
Implementation
def
getFullSizeForEpoch
(
epochNumber:
Long
)
:
Long
Definition Classes
Implementation
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
hashimotoFull
(
header:
Header
,
dataset:
Dataset
,
nonce:
Unsigned64
)
:
Hashimoto
Definition Classes
Implementation
def
hashimotoLight
(
header:
Header
,
cache:
Cache
,
nonce:
Unsigned64
)
:
Hashimoto
Definition Classes
Implementation
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
isParallel
:
Boolean
Attributes
protected[
com.mchange.sc.v1.consuela.ethereum.pow.ethash23
]
Definition Classes
Implementation
def
loadDagFile
(
seed:
Array
[
Byte
]
)
:
Failable
[
Dataset
]
Definition Classes
Implementation
def
mkCacheForBlock
(
blockNumber:
Long
)
:
Cache
Definition Classes
Implementation
def
mkCacheForEpoch
(
epochNumber:
Long
)
:
Cache
Definition Classes
Logging
→
Implementation
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
lazy val
parModifier
:
String
def
precomputeCacheDatasetForBlockNumber
(
blockNumber:
Long
)
(
implicit
mf:
Factory
)
:
Failable
[
Unit
]
Definition Classes
Implementation
def
precomputeCacheDatasetForEpochNumber
(
epochNumber:
Long
)
(
implicit
mf:
Factory
)
:
Failable
[
Unit
]
Definition Classes
Implementation
def
readDagFile
(
is:
InputStream
,
mbFileLength:
Option
[
Long
]
)
:
Dataset
Definition Classes
Implementation
def
requireValidInt
(
l:
Long
)
:
Int
Attributes
protected[
com.mchange.sc.v1.consuela.ethereum.pow.ethash23
]
Definition Classes
Implementation
def
requireValidLong
(
bi:
BigInt
)
:
Long
Attributes
protected[
com.mchange.sc.v1.consuela.ethereum.pow.ethash23
]
Definition Classes
Implementation
def
streamDagFileForBlockNumber
(
blockNumber:
Long
,
file:
Option
[
File
]
)
(
implicit
mf:
Factory
)
:
Failable
[
Unit
]
Definition Classes
Implementation
def
streamDagFileForBlockNumber
(
blockNumber:
Long
)
(
implicit
mf:
Factory
)
:
Failable
[
Unit
]
Definition Classes
Implementation
def
streamDagFileForEpochNumber
(
epochNumber:
Long
,
mbSeed:
Option
[
Array
[
Byte
]]
,
mbCache:
Option
[
Cache
]
,
mbFile:
Option
[
File
]
)
(
implicit
mf:
Factory
)
:
Failable
[
Unit
]
Definition Classes
Implementation
def
streamDagFileForEpochNumber
(
epochNumber:
Long
,
mbFile:
Option
[
File
]
)
(
implicit
mf:
Factory
)
:
Failable
[
Unit
]
Definition Classes
Implementation
def
streamDagFileForEpochNumber
(
epochNumber:
Long
)
(
implicit
mf:
Factory
)
:
Failable
[
Unit
]
Definition Classes
Implementation
def
streamDatasetAsDagFile
(
os:
OutputStream
,
cache:
Cache
,
fullSize:
Long
)
(
implicit
mf:
Factory
)
:
Unit
Definition Classes
Implementation
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
truncatedHeaderHash
(
header:
Header
)
:
SHA3_256
Definition Classes
Implementation
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
writeDagFile
(
os:
OutputStream
,
dataset:
Dataset
)
:
Unit
Definition Classes
Implementation
Inherited from
Implementation
Inherited from
AnyRef
Inherited from
Any
Ungrouped