Show ByronBlock Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Block |
Eq ByronBlock Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Block |
ConvertRawHash ByronBlock Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Block |
GetHeader ByronBlock Source # | |
|
GetPrevHash ByronBlock Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Block |
BlockSupportsMetrics ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node |
BlockSupportsProtocol ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.PBFT |
ConfigSupportsNode ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node |
HasHardForkHistory ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
NoHardForks ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Cardano.ByronHFC |
SingleEraBlock ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Cardano.CanHardFork |
CondenseConstraints ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Cardano.Condense |
HasPartialLedgerConfig ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Cardano.CanHardFork Associated Types type PartialLedgerConfig ByronBlock |
SerialiseConstraintsHFC ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Cardano.Node |
BasicEnvelopeValidation ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.HeaderValidation |
HasAnnTip ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.HeaderValidation |
ValidateEnvelope ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.HeaderValidation Associated Types type OtherHeaderEnvelopeError ByronBlock |
UpdateLedger ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
CommonProtocolParams ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
InspectLedger ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Inspect |
QueryLedger ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
HasTxs ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
LedgerSupportsMempool ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
LedgerSupportsPeerSelection ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
LedgerSupportsProtocol ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
TxLimits ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
NodeInitStorage ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node |
HasNetworkProtocolVersion ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.NetworkProtocolVersion |
SupportedNetworkProtocolVersion ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.NetworkProtocolVersion |
SupportedNetworkProtocolVersion ByronBlockHFC | Forward to the ByronBlock instance. Only supports
HardForkNodeToNodeDisabled , which is compatible with nodes running with
ByronBlock . |
Instance detailsDefined in Ouroboros.Consensus.Cardano.ByronHFC |
RunNode ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node |
SerialiseNodeToClientConstraints ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
SerialiseNodeToNodeConstraints ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
SerialiseDiskConstraints ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
HasBinaryBlockInfo ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
Condense ByronBlock Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Block |
HasHeader ByronBlock Source # | |
|
HasNestedContent Header ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Serialisation |
SerialiseNodeToClient ByronBlock ApplyMempoolPayloadErr | ApplyTxErr ByronBlock
|
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
SerialiseNodeToClient ByronBlock SlotNo | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
SerialiseNodeToClient ByronBlock ByronBlock | CBOR-in-CBOR for the annotation. This also makes it compatible with the
wrapped (Serialised ) variant. |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
SerialiseNodeToNode ByronBlock ByronBlock | CBOR-in-CBOR for the annotation. This also makes it compatible with the
wrapped (Serialised ) variant. |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
EncodeDisk ByronBlock ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
ReconstructNestedCtxt Header ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
StandardHash ByronBlock Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Block |
ShowProxy ByronBlock Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Block |
SerialiseNodeToClient ByronBlock (GenTx ByronBlock) | No CBOR-in-CBOR, because we check for canonical encodings, which means we
can use the recomputed encoding for the annotation. |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
SerialiseNodeToClient ByronBlock (GenTxId ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
SerialiseNodeToNode ByronBlock (Header ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
SerialiseNodeToNode ByronBlock (GenTx ByronBlock) | No CBOR-in-CBOR, because we check for canonical encodings, which means we
can use the recomputed encoding for the annotation. |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
SerialiseNodeToNode ByronBlock (GenTxId ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
SerialiseNodeToNode ByronBlock (SerialisedHeader ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
SerialiseResult ByronBlock (BlockQuery ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
DecodeDisk ByronBlock (AnnTip ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
DecodeDisk ByronBlock (LedgerState ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
DecodeDisk ByronBlock (PBftState PBftByronCrypto) | ChainDepState (BlockProtocol ByronBlock )
|
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
EncodeDisk ByronBlock (AnnTip ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
EncodeDisk ByronBlock (LedgerState ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
EncodeDisk ByronBlock (PBftState PBftByronCrypto) | ChainDepState (BlockProtocol ByronBlock )
|
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
ShowProxy (Header ByronBlock) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Block |
ShowProxy (GenTx ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
ShowProxy (TxId (GenTx ByronBlock)) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
SerialiseNodeToClient ByronBlock (SomeSecond BlockQuery ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
SerialiseNodeToClient ByronBlock (Serialised ByronBlock) | Serialised uses CBOR-in-CBOR by default.
|
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
SerialiseNodeToNode ByronBlock (Serialised ByronBlock) | Serialised uses CBOR-in-CBOR by default.
|
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
DecodeDisk ByronBlock (ByteString -> ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
Generic (BlockConfig ByronBlock) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Config |
Generic (CodecConfig ByronBlock) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Config |
Generic (Header ByronBlock) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Block |
Generic (StorageConfig ByronBlock) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Config |
Generic (Validated (GenTx ByronBlock)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
Generic (LedgerState ByronBlock) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
Generic (GenTx ByronBlock) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
Generic (Ticked (LedgerState ByronBlock)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
Show (Header ByronBlock) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Block |
Show (Validated (GenTx ByronBlock)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
Show (LedgerState ByronBlock) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
Show (GenTx ByronBlock) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
Show (GenTxId ByronBlock) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
Eq (Header ByronBlock) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Block |
Eq (Validated (GenTx ByronBlock)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
Eq (LedgerState ByronBlock) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
Eq (GenTx ByronBlock) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
Eq (TxId (GenTx ByronBlock)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
Ord (TxId (GenTx ByronBlock)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
NoThunks (BlockConfig ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Config |
NoThunks (CodecConfig ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Config |
NoThunks (Header ByronBlock) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Block |
NoThunks (StorageConfig ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Config |
NoThunks (Validated (GenTx ByronBlock)) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
NoThunks (LedgerState ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
NoThunks (GenTx ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
NoThunks (TxId (GenTx ByronBlock)) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
NoThunks (Ticked (LedgerState ByronBlock)) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
CardanoHardForkConstraints c => CanHardFork (CardanoEras c) | |
Instance detailsDefined in Ouroboros.Consensus.Cardano.CanHardFork |
CardanoHardForkConstraints c => CondenseConstraints (CardanoBlock c) | |
Instance detailsDefined in Ouroboros.Consensus.Cardano.Condense |
CardanoHardForkConstraints c => SerialiseHFC (CardanoEras c) | Important: we need to maintain binary compatibility with Byron blocks, as
they are already stored on disk. We also want to be able to efficiently detect (without having to peek far
ahead) whether we're dealing with a Byron or Shelley block, so that we can
invoke the right decoder. We plan to have a few more hard forks after
Shelley (Goguen, Basho, Voltaire), so we want a future-proof envelope for
distinguishing the different block types, i.e., a byte indicating the era. Byron does not provide such an envelope. However, a Byron block is a CBOR
2-tuple with the first element being a tag (Word : 0 = EBB; 1 = regular
block) and the second being the payload. We can easily extend this encoding
format with support for Shelley, Goguen, etc. We encode a CardanoBlock as the same CBOR 2-tuple as a Byron block, but
we use the tags after 1 for the hard forks after Byron: - Byron EBB
- Byron regular block
- Shelley block
- Allegra block
- Mary block
- Goguen block
- etc.
For more details, see:
https://github.com/input-output-hk/ouroboros-network/pull/1175#issuecomment-558147194 |
Instance detailsDefined in Ouroboros.Consensus.Cardano.Node |
GetTip (LedgerState ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
GetTip (Ticked (LedgerState ByronBlock)) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
IsLedger (LedgerState ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
HasTxId (GenTx ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
CardanoHardForkConstraints c => SupportedNetworkProtocolVersion (CardanoBlock c) | |
Instance detailsDefined in Ouroboros.Consensus.Cardano.Node |
Condense (Header ByronBlock) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Block |
Condense (GenTx ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
Condense (GenTxId ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
SameDepIndex (BlockQuery ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
HasHeader (Header ByronBlock) Source # | |
|
ShowQuery (BlockQuery ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
ApplyBlock (LedgerState ByronBlock) ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
DecodeDiskDep (NestedCtxt Header) ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
DecodeDiskDepIx (NestedCtxt Header) ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
EncodeDiskDep (NestedCtxt Header) ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
EncodeDiskDepIx (NestedCtxt Header) ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node.Serialisation |
Show (BlockQuery ByronBlock result) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
Eq (BlockQuery ByronBlock result) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
SameDepIndex (NestedCtxt_ ByronBlock f) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Serialisation |
ShowProxy (BlockQuery ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
Show (NestedCtxt_ ByronBlock f a) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Serialisation |
SerialiseHFC '[ByronBlock] | Forward to the ByronBlock instance, this means we don't add an era
wrapper around blocks on disk. This makes sure we're compatible with the
existing Byron blocks. |
Instance detailsDefined in Ouroboros.Consensus.Cardano.ByronHFC |
data BlockConfig ByronBlock Source # | Extended configuration we need for Byron |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Config |
type BlockProtocol ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.PBFT |
newtype CodecConfig ByronBlock Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Config |
data Header ByronBlock Source # | Byron header See ByronBlock for comments on why we cache certain values. |
|
newtype StorageConfig ByronBlock Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Config |
type CannotForge ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node |
type ForgeStateInfo ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node |
type ForgeStateUpdateError ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node |
data NestedCtxt_ ByronBlock f a Source # | Since the Byron header does not contain the size, we include it in the
nested type instead. |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Serialisation |
type HardForkIndices ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
type PartialLedgerConfig ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Cardano.CanHardFork |
type OtherHeaderEnvelopeError ByronBlock | |
|
type TipInfo ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.HeaderValidation |
data LedgerState ByronBlock Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
type LedgerUpdate ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Inspect |
type LedgerWarning ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Inspect |
data BlockQuery ByronBlock a Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
type ApplyTxErr ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool type ApplyTxErr ByronBlock = ApplyMempoolPayloadErr |
data GenTx ByronBlock Source # | Generalized transactions in Byron This is effectively the same as AMempoolPayload but we cache the
transaction ID (a hash). |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
type TxMeasure ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
type BlockNodeToClientVersion ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.NetworkProtocolVersion |
type BlockNodeToNodeVersion ByronBlock | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.NetworkProtocolVersion |
data ProtocolParams ByronBlock Source # | Parameters needed to run Byron |
Instance detailsDefined in Ouroboros.Consensus.Byron.Node |
type HeaderHash ByronBlock Source # | |
|
type Rep (BlockConfig ByronBlock) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Config |
type Rep (CodecConfig ByronBlock) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Config |
type Rep (Header ByronBlock) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Block |
type Rep (StorageConfig ByronBlock) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Config |
type Rep (Validated (GenTx ByronBlock)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
type Rep (LedgerState ByronBlock) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
type Rep (GenTx ByronBlock) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
type Rep (Ticked (LedgerState ByronBlock)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
newtype Validated (GenTx ByronBlock) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
type AuxLedgerEvent (LedgerState ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
type LedgerCfg (LedgerState ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
type LedgerErr (LedgerState ByronBlock) | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |
data TxId (GenTx ByronBlock) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Mempool |
data ProtocolParams (CardanoBlock c) Source # | Parameters needed to run Cardano. |
Instance detailsDefined in Ouroboros.Consensus.Cardano.Node |
data Ticked (LedgerState ByronBlock) Source # | The ticked Byron ledger state |
Instance detailsDefined in Ouroboros.Consensus.Byron.Ledger.Ledger |