Describe how the interaction context behaves. A
LongRunning context does not close
the underlying connection after a request, it has to be done manually. A
however will close the connection afterwards.
A value set when sending the request, to be mirrored by the server in the corresponding response.
Approximation of the memory overhead that comes from the associated input and entry in the ledger map data-structure. Roughly 20 words of memory times 8 bytes each.
Calculate the size of an output, as seen by the ledger, without actually serializing it. This size is used when calculating for the minimum lovelace value that needs to be set on an output to be considered valid by the ledger.
This calculation account for the size of the output with minimum value itself; thus, one can get the minimum value to set by simply calculating:
const minLovelaceValue = utxoSize(output) * coinsPerUtxoByte
coinsPerUtxoByte is the corresponding protocol parameter from the Babbage era.