Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
TRC-43: Precompiled contract function for signature parallel verification #43
A new type of precompiled contract function for signature parallel verification
Add a new type of build-in precompiled contract function for multisign validating instead of the compiled bytecode do the same task.
Since the multi-signature is widely used in Tron, there needs a way for low energy cost and less CPU time multisign validating, the precompiled contract for multi-signature could be a well satisfying solution.
Adds a new precompiled contract function named
output of the result of signature validating would be a bytes32, for example :
for safety concern, the number of signatures is limited to 16,when count of signatures is greater than 16,all zero output will be provided.
energy charge for the execution cost 1500 per signature