Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Protocol ¶
type Protocol struct { // The 'a' parameter to calculate the minimum transaction fee in the // linear equation a * byte_size(tx) + b TxFeePerByte uint `json:"txFeePerByte"` // The 'b' parameter to calculate the minimum transaction fee. TxFeeFixed uint `json:"txFeeFixed"` // The maximum transaction size (in bytes). MaxTxSize uint `json:"maxTxSize"` // The Protocol Version ProtocolVersion ProtocolVersion `json:"protocolVersion"` // Minimum UTXO Value MinUTXOValue uint `json:"minUTxOValue"` }
Protocol contains protocol parameters.
func LoadProtocol ¶
LOadProtocol returns a pointer to a unmarshalled Protocol given a file path of a protocol parameters file in the cardano-cli generated format.
type ProtocolVersion ¶
Click to show internal directories.
Click to hide internal directories.