Documentation ¶
Index ¶
- func GetMetadataDatumMap(txMetadata json.RawMessage, metadataDatumKey int) (map[string][]byte, error)
- func GetMetadataDatums(txMetadata json.RawMessage, metadataDatumKey int) ([][]byte, error)
- type CompatibleOgmiosAuxiliaryData
- func (c CompatibleOgmiosAuxiliaryData) MarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
- func (c CompatibleOgmiosAuxiliaryData) MarshalJSON() ([]byte, error)
- func (c *CompatibleOgmiosAuxiliaryData) UnmarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
- func (c *CompatibleOgmiosAuxiliaryData) UnmarshalJSON(data []byte) error
- type CompatibleResponsePraos
- func (c CompatibleResponsePraos) MarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
- func (c CompatibleResponsePraos) MarshalJSON() ([]byte, error)
- func (r CompatibleResponsePraos) MustFindIntersectResult() CompatibleResultFindIntersection
- func (r CompatibleResponsePraos) MustNextBlockResult() CompatibleResultNextBlock
- func (c *CompatibleResponsePraos) UnmarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
- func (c *CompatibleResponsePraos) UnmarshalJSON(data []byte) error
- type CompatibleResult
- func (c CompatibleResult) MarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
- func (c CompatibleResult) MarshalJSON() ([]byte, error)
- func (c *CompatibleResult) UnmarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
- func (c *CompatibleResult) UnmarshalJSON(data []byte) error
- type CompatibleResultFindIntersection
- func (c CompatibleResultFindIntersection) MarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
- func (c CompatibleResultFindIntersection) MarshalJSON() ([]byte, error)
- func (c CompatibleResultFindIntersection) String() string
- func (c *CompatibleResultFindIntersection) UnmarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
- func (c *CompatibleResultFindIntersection) UnmarshalJSON(data []byte) error
- type CompatibleResultNextBlock
- func (c CompatibleResultNextBlock) MarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
- func (c CompatibleResultNextBlock) MarshalJSON() ([]byte, error)
- func (c CompatibleResultNextBlock) String() string
- func (c *CompatibleResultNextBlock) UnmarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
- func (c *CompatibleResultNextBlock) UnmarshalJSON(data []byte) error
- type CompatibleTx
- type CompatibleTxOut
- func (to CompatibleTxOut) MarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
- func (to CompatibleTxOut) MarshalJSON() ([]byte, error)
- func (to *CompatibleTxOut) UnmarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
- func (to *CompatibleTxOut) UnmarshalJSON(data []byte) error
- type CompatibleValue
- func (c CompatibleValue) MarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
- func (c CompatibleValue) MarshalJSON() ([]byte, error)
- func (c *CompatibleValue) UnmarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
- func (c *CompatibleValue) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMetadataDatumMap ¶
func GetMetadataDatums ¶
func GetMetadataDatums(txMetadata json.RawMessage, metadataDatumKey int) ([][]byte, error)
Types ¶
type CompatibleOgmiosAuxiliaryData ¶
type CompatibleOgmiosAuxiliaryData chainsync.OgmiosAuxiliaryDataV6
func (CompatibleOgmiosAuxiliaryData) MarshalDynamoDBAttributeValue ¶
func (c CompatibleOgmiosAuxiliaryData) MarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
func (CompatibleOgmiosAuxiliaryData) MarshalJSON ¶
func (c CompatibleOgmiosAuxiliaryData) MarshalJSON() ([]byte, error)
For now, serialize as v5
func (*CompatibleOgmiosAuxiliaryData) UnmarshalDynamoDBAttributeValue ¶
func (c *CompatibleOgmiosAuxiliaryData) UnmarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
func (*CompatibleOgmiosAuxiliaryData) UnmarshalJSON ¶
func (c *CompatibleOgmiosAuxiliaryData) UnmarshalJSON(data []byte) error
type CompatibleResponsePraos ¶
type CompatibleResponsePraos chainsync.ResponsePraos
Frontend for converting v5 JSON responses to v6.
func (CompatibleResponsePraos) MarshalDynamoDBAttributeValue ¶
func (c CompatibleResponsePraos) MarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
func (CompatibleResponsePraos) MarshalJSON ¶
func (c CompatibleResponsePraos) MarshalJSON() ([]byte, error)
func (CompatibleResponsePraos) MustFindIntersectResult ¶
func (r CompatibleResponsePraos) MustFindIntersectResult() CompatibleResultFindIntersection
func (CompatibleResponsePraos) MustNextBlockResult ¶
func (r CompatibleResponsePraos) MustNextBlockResult() CompatibleResultNextBlock
func (*CompatibleResponsePraos) UnmarshalDynamoDBAttributeValue ¶
func (c *CompatibleResponsePraos) UnmarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
func (*CompatibleResponsePraos) UnmarshalJSON ¶
func (c *CompatibleResponsePraos) UnmarshalJSON(data []byte) error
type CompatibleResult ¶
type CompatibleResult struct { NextBlock *CompatibleResultNextBlock FindIntersection *CompatibleResultFindIntersection }
func (CompatibleResult) MarshalDynamoDBAttributeValue ¶
func (c CompatibleResult) MarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
func (CompatibleResult) MarshalJSON ¶
func (c CompatibleResult) MarshalJSON() ([]byte, error)
func (*CompatibleResult) UnmarshalDynamoDBAttributeValue ¶
func (c *CompatibleResult) UnmarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
func (*CompatibleResult) UnmarshalJSON ¶
func (c *CompatibleResult) UnmarshalJSON(data []byte) error
type CompatibleResultFindIntersection ¶
type CompatibleResultFindIntersection chainsync.ResultFindIntersectionPraos
Support findIntersect (v6) / FindIntersection (v5) universally.
func (CompatibleResultFindIntersection) MarshalDynamoDBAttributeValue ¶
func (c CompatibleResultFindIntersection) MarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
func (CompatibleResultFindIntersection) MarshalJSON ¶
func (c CompatibleResultFindIntersection) MarshalJSON() ([]byte, error)
For now, serialize as v5
func (CompatibleResultFindIntersection) String ¶
func (c CompatibleResultFindIntersection) String() string
func (*CompatibleResultFindIntersection) UnmarshalDynamoDBAttributeValue ¶
func (c *CompatibleResultFindIntersection) UnmarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
func (*CompatibleResultFindIntersection) UnmarshalJSON ¶
func (c *CompatibleResultFindIntersection) UnmarshalJSON(data []byte) error
Deserialize either v5 or v6 values
type CompatibleResultNextBlock ¶
type CompatibleResultNextBlock chainsync.ResultNextBlockPraos
Support nextBlock (v6) / RequestNext (v5) universally.
func (CompatibleResultNextBlock) MarshalDynamoDBAttributeValue ¶
func (c CompatibleResultNextBlock) MarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
func (CompatibleResultNextBlock) MarshalJSON ¶
func (c CompatibleResultNextBlock) MarshalJSON() ([]byte, error)
func (CompatibleResultNextBlock) String ¶
func (c CompatibleResultNextBlock) String() string
func (*CompatibleResultNextBlock) UnmarshalDynamoDBAttributeValue ¶
func (c *CompatibleResultNextBlock) UnmarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
func (*CompatibleResultNextBlock) UnmarshalJSON ¶
func (c *CompatibleResultNextBlock) UnmarshalJSON(data []byte) error
type CompatibleTx ¶
v5 and v6 transactions universally.
func (CompatibleTx) MarshalDynamoDBAttributeValue ¶
func (c CompatibleTx) MarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
func (CompatibleTx) MarshalJSON ¶
func (c CompatibleTx) MarshalJSON() ([]byte, error)
For now, serialize as v5
func (*CompatibleTx) UnmarshalDynamoDBAttributeValue ¶
func (c *CompatibleTx) UnmarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
func (*CompatibleTx) UnmarshalJSON ¶
func (c *CompatibleTx) UnmarshalJSON(data []byte) error
Deserialize either v5 or v6 values
type CompatibleTxOut ¶
func (CompatibleTxOut) MarshalDynamoDBAttributeValue ¶
func (to CompatibleTxOut) MarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
func (CompatibleTxOut) MarshalJSON ¶
func (to CompatibleTxOut) MarshalJSON() ([]byte, error)
For now, serialize as v5
func (*CompatibleTxOut) UnmarshalDynamoDBAttributeValue ¶
func (to *CompatibleTxOut) UnmarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
func (*CompatibleTxOut) UnmarshalJSON ¶
func (to *CompatibleTxOut) UnmarshalJSON(data []byte) error
Deserialize either v5 or v6 values
type CompatibleValue ¶
func (CompatibleValue) MarshalDynamoDBAttributeValue ¶
func (c CompatibleValue) MarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
func (CompatibleValue) MarshalJSON ¶
func (c CompatibleValue) MarshalJSON() ([]byte, error)
func (*CompatibleValue) UnmarshalDynamoDBAttributeValue ¶
func (c *CompatibleValue) UnmarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
func (*CompatibleValue) UnmarshalJSON ¶
func (c *CompatibleValue) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.