scalus.cardano.node.emulator
Members list
Type members
Classlikes
What awaiting a tx does while the tx is still pending, spec section 5. A Java enum, interop rule 8.
What awaiting a tx does while the tx is still pending, spec section 5. A Java enum, interop rule 8.
Attributes
- Supertypes
-
trait Enumtrait Producttrait Equalsclass Enum[AwaitTxPolicy]trait Serializabletrait Comparable[AwaitTxPolicy]trait Constableclass Objecttrait Matchableclass AnyShow all
Which pool the Emulator's blocks count for, ledger-rules spec [ES-3].
Which pool the Emulator's blocks count for, ledger-rules spec [ES-3].
Attributes
- Companion
- object
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- enum
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
BlockIssuer.type
When the Emulator forges a block, spec section 5. A Java enum, interop rule 8.
When the Emulator forges a block, spec section 5. A Java enum, interop rule 8.
Attributes
- Supertypes
-
trait Enumtrait Producttrait Equalsclass Enum[BlockProduction]trait Serializabletrait Comparable[BlockProduction]trait Constableclass Objecttrait Matchableclass AnyShow all
How the Emulator behaves as a chain, spec section 5.
How the Emulator behaves as a chain, spec section 5.
The constructor is private, so Scala 3 makes apply and copy private too: Java and JS cannot use their default parameters, spec [CF-1]. Start from ChainConfig.instant or ChainConfig.manual and change a field with its with method, spec [CF-3].
Value parameters
- activeSlotsCoeff
-
f, the share of slots with a block, which sets the expected blocks of an epoch underMeasured, ledger-rules spec [ES-2a], [RW-14]. Above 0. - blockIssuer
-
the pool each forged block counts for, ledger-rules spec [ES-3]
- poolPerformance
-
how the reward calculation rates the pools, ledger-rules spec [ES-1]
- securityParam
-
k, the deepest rollback the Emulator allows. At least 1.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ChainConfig.type
Which ledger state a query of the Emulator reads, spec section 9.
Which ledger state a query of the Emulator reads, spec section 9.
Attributes
- Companion
- object
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- enum
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
DropReason.type
Why revalidation removed a tx from the mempool, spec [RV-4] .. [RV-6].
Why revalidation removed a tx from the mempool, spec [RV-4] .. [RV-6].
Attributes
- Companion
- object
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The outcome of an Emulator operation that can fail, usable from Java, spec [SF-5].
The outcome of an Emulator operation that can fail, usable from Java, spec [SF-5].
A null-based view over Either[E, A], as scalus.cardano.node.SubmitResult is for a submission: Java callers read isSuccess, then getValueOrNull or getErrorOrNull, with no pattern matching. Scala code should keep using the Either-returning members of scalus.cardano.node.EmulatorBase (or toEither).
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
EmulatorResult.type
Why produceBlock(on, …) forged no block, spec section 8.2. The state does not change, spec [FG-17].
Why produceBlock(on, …) forged no block, spec section 8.2. The state does not change, spec [FG-17].
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
What happens to the txs of a block that leaves the selected chain, spec section 11.2. A Java enum, interop rule 8.
What happens to the txs of a block that leaves the selected chain, spec section 11.2. A Java enum, interop rule 8.
Attributes
- Supertypes
-
trait Enumtrait Producttrait Equalsclass Enum[OrphanTxPolicy]trait Serializabletrait Comparable[OrphanTxPolicy]trait Constableclass Objecttrait Matchableclass AnyShow all
Why rollback(n) removed no block, spec section 11.3.
Why rollback(n) removed no block, spec section 11.3.
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Where a submitted tx stands, spec section 12. Richer than scalus.cardano.node.TransactionStatus, which has no payload and stays as it is.
Where a submitted tx stands, spec section 12. Richer than scalus.cardano.node.TransactionStatus, which has no payload and stays as it is.
Attributes
- Companion
- object
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all