calculate_storage_mass (Func)¶
Calculate the storage mass for a transaction.
Storage mass penalizes transactions that increase the UTXO set size or create many small outputs.
| PARAMETER | DESCRIPTION |
|---|---|
network_id
|
The network identifier.
TYPE:
|
input_values
|
List of input values in sompi.
TYPE:
|
output_values
|
List of output values in sompi.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
Optional[int]
|
int | None: The storage mass, or None if not applicable. |