Home Reference Source
public class | source

MiniBlockchainTransaction

Extends:

common/blockchain/interface-blockchain/transactions/transaction/Interface-Blockchain-Transaction~InterfaceBlockchainTransaction → MiniBlockchainTransaction

Method Summary

Private Methods
private
private
private
private

_preProcessTransaction(multiplicationFactor: number, revertActions: *, showUpdate: *): boolean

private

_processTransactionFees(multiplicationFactor: number, minerAddress: *, revertActions: *, showUpdate: *): {"fees": *, "currencyTokenId": *}

private

_validateNonce(blockValidationType: *): boolean

Private Methods

private _computeNonce(): * source

Return:

*

private _createTransactionFrom(from: *): * source

Params:

NameTypeAttributeDescription
from *

Return:

*

private _createTransactionTo(to: *): * source

Params:

NameTypeAttributeDescription
to *

Return:

*

private _preProcessTransaction(multiplicationFactor: number, revertActions: *, showUpdate: *): boolean source

Params:

NameTypeAttributeDescription
multiplicationFactor number
  • optional
  • default: 1
revertActions *
showUpdate *

Return:

boolean

private _processTransactionFees(multiplicationFactor: number, minerAddress: *, revertActions: *, showUpdate: *): {"fees": *, "currencyTokenId": *} source

Params:

NameTypeAttributeDescription
multiplicationFactor number
  • optional
  • default: 1
minerAddress *
  • optional
  • default: undefined
revertActions *
showUpdate *

Return:

{"fees": *, "currencyTokenId": *}

private _validateNonce(blockValidationType: *): boolean source

Params:

NameTypeAttributeDescription
blockValidationType *

Return:

boolean