As part of task 6628, the following work was performed.
Created unit tests to test
- Blacklist/Whitelist jobs
- Double spend spending with one basic transaction
- Double base transaction with one emission.
- On emissions exceeding total_supply.
Fixed work of s_token_tsd_parse function.
Fixed processing of TSD sections for checking permissions in the process of adding emission to the ledger.
Added output of information about the return code after the s_token_tsd_parse function has run, and if the result is unsuccessful, then now a diagnostic output to the error code log occurs and the token declaration is not included in the ledger.