calculateStorageMass() is a helper function to compute the storage mass of inputs and outputs.
This function can be use to calculate the storage mass of transaction inputs and outputs.
Note that the storage mass is only a component of the total transaction mass. You are not
meant to use this function by itself and should use calculateTransactionMass() instead.
This function purely exists for diagnostic purposes and to help with complex algorithms that
may require a manual UTXO selection for identifying UTXOs and outputs needed for low storage mass.
calculateStorageMass()
is a helper function to compute the storage mass of inputs and outputs. This function can be use to calculate the storage mass of transaction inputs and outputs. Note that the storage mass is only a component of the total transaction mass. You are not meant to use this function by itself and should usecalculateTransactionMass()
instead. This function purely exists for diagnostic purposes and to help with complex algorithms that may require a manual UTXO selection for identifying UTXOs and outputs needed for low storage mass.