org
.
zuinnote
.
spark
.
bitcoin
model
package
model
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
model
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Type Members
final
case class
AuxBlockChainBranch
(
numberOfLinks:
Array
[
Byte
]
,
links:
Seq
[
Array
[
Byte
]]
,
branchSideBitmask:
Array
[
Byte
]
)
extends
Product
with
Serializable
final
case class
AuxPOW
(
version:
Int
,
coinbaseTransaction:
CoinbaseTransaction
,
parentBlockHeaderHash:
Array
[
Byte
]
,
coinbaseBranch:
CoinbaseBranch
,
auxBlockChainBranch:
AuxBlockChainBranch
,
parentBlockHeader:
ParentBlockHeader
)
extends
Product
with
Serializable
final
case class
BitcoinBlock
(
blockSize:
Int
,
magicNo:
Array
[
Byte
]
,
version:
Int
,
time:
Int
,
bits:
Array
[
Byte
]
,
nonce:
Int
,
transactionCounter:
Long
,
hashPrevBlock:
Array
[
Byte
]
,
hashMerkleRoot:
Array
[
Byte
]
,
transactions:
Seq
[
Transaction
]
)
extends
CanAddAuxPOW
with
Product
with
Serializable
final
case class
BitcoinBlockWithAuxPOW
(
blockSize:
Int
,
magicNo:
Array
[
Byte
]
,
version:
Int
,
time:
Int
,
bits:
Array
[
Byte
]
,
nonce:
Int
,
transactionCounter:
Long
,
hashPrevBlock:
Array
[
Byte
]
,
hashMerkleRoot:
Array
[
Byte
]
,
transactions:
Seq
[
Transaction
]
,
auxPOW:
AuxPOW
)
extends
Product
with
Serializable
sealed
trait
CanAddAuxPOW
extends
AnyRef
final
case class
CoinbaseBranch
(
numberOfLinks:
Array
[
Byte
]
,
links:
Seq
[
Array
[
Byte
]]
,
branchSideBitmask:
Array
[
Byte
]
)
extends
Product
with
Serializable
final
case class
CoinbaseTransaction
(
version:
Int
,
inCounter:
Array
[
Byte
]
,
outCounter:
Array
[
Byte
]
,
listOfInputs:
Seq
[
Input
]
,
listOfOutputs:
Seq
[
Output
]
,
lockTime:
Int
)
extends
Product
with
Serializable
final
case class
EnrichedBitcoinBlock
(
blockSize:
Int
,
magicNo:
Array
[
Byte
]
,
version:
Int
,
time:
Int
,
bits:
Array
[
Byte
]
,
nonce:
Int
,
transactionCounter:
Long
,
hashPrevBlock:
Array
[
Byte
]
,
hashMerkleRoot:
Array
[
Byte
]
,
transactions:
Seq
[
EnrichedTransaction
]
)
extends
CanAddAuxPOW
with
Product
with
Serializable
final
case class
EnrichedBitcoinBlockWithAuxPOW
(
blockSize:
Int
,
magicNo:
Array
[
Byte
]
,
version:
Int
,
time:
Int
,
bits:
Array
[
Byte
]
,
nonce:
Int
,
transactionCounter:
Long
,
hashPrevBlock:
Array
[
Byte
]
,
hashMerkleRoot:
Array
[
Byte
]
,
transactions:
Seq
[
EnrichedTransaction
]
,
auxPOW:
AuxPOW
)
extends
Product
with
Serializable
final
case class
EnrichedTransaction
(
version:
Int
,
marker:
Byte
,
flag:
Byte
,
inCounter:
Array
[
Byte
]
,
outCounter:
Array
[
Byte
]
,
listOfInputs:
Seq
[
Input
]
,
listOfOutputs:
Seq
[
Output
]
,
listOfScriptWitnessItem:
Seq
[
ScriptWitnessItem
]
,
lockTime:
Int
,
currentTransactionHash:
Array
[
Byte
]
)
extends
Product
with
Serializable
implicit final
class
FromJavaAuxPOW
extends
AnyVal
implicit final
class
FromJavaTransaction
extends
AnyVal
final
case class
Input
(
prevTransactionHash:
Array
[
Byte
]
,
previousTxOutIndex:
Long
,
txInScriptLength:
Array
[
Byte
]
,
txInScript:
Array
[
Byte
]
,
seqNo:
Long
)
extends
Product
with
Serializable
final
case class
Output
(
value:
BigInteger
,
txOutScriptLength:
Array
[
Byte
]
,
txOutScript:
Array
[
Byte
]
)
extends
Product
with
Serializable
final
case class
ParentBlockHeader
(
version:
Int
,
previousBlockHash:
Array
[
Byte
]
,
merkleRoot:
Array
[
Byte
]
,
time:
Int
,
bits:
Array
[
Byte
]
,
nonce:
Int
)
extends
Product
with
Serializable
final
case class
ScriptWitness
(
witnessScriptLength:
Array
[
Byte
]
,
witnessScript:
Array
[
Byte
]
)
extends
Product
with
Serializable
final
case class
ScriptWitnessItem
(
stackItemCounter:
Array
[
Byte
]
,
scriptWitnessList:
Seq
[
ScriptWitness
]
)
extends
Product
with
Serializable
final
case class
SingleTransaction
(
currentTransactionHash:
Array
[
Byte
]
,
version:
Int
,
marker:
Byte
,
flag:
Byte
,
inCounter:
Array
[
Byte
]
,
outCounter:
Array
[
Byte
]
,
listOfInputs:
Seq
[
Input
]
,
listOfOutputs:
Seq
[
Output
]
,
listOfScriptWitnessItem:
Seq
[
ScriptWitnessItem
]
,
lockTime:
Int
)
extends
Product
with
Serializable
final
case class
Transaction
(
version:
Int
,
marker:
Byte
,
flag:
Byte
,
inCounter:
Array
[
Byte
]
,
outCounter:
Array
[
Byte
]
,
listOfInputs:
Seq
[
Input
]
,
listOfOutputs:
Seq
[
Output
]
,
listOfScriptWitnessItem:
Seq
[
ScriptWitnessItem
]
,
lockTime:
Int
)
extends
Product
with
Serializable
Inherited from
AnyRef
Inherited from
Any
Ungrouped