update_transaction_mass (Func)¶
Calculate and update the mass field of an unsigned transaction.
| PARAMETER | DESCRIPTION |
|---|---|
network_id
|
The network identifier.
TYPE:
|
tx
|
The transaction to update.
TYPE:
|
minimum_signatures
|
Minimum signatures per input (default: 1).
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if mass is within limits and was updated, False if too large.
TYPE:
|
| RAISES | DESCRIPTION |
|---|---|
Exception
|
If mass calculation fails. |