excelsia / vee

VEE Reference Full Node
MIT No Attribution
29 stars 10 forks source link

modify parseTail in contend/release tx #100

Closed ncying closed 6 years ago

ncying commented 6 years ago

modify parseTail in contend/release tx

it seems more efficient to return validation error directly instead of a empty proof and ask signature checker to validate the transaction.

unit test passed

[info] ScalaTest
[info] Run completed in 1 minute, 40 seconds.
[info] Total number of tests run: 325
[info] Suites: completed 101, aborted 0
[info] Tests: succeeded 325, failed 0, canceled 0, ignored 14, pending 2
[info] All tests passed.
[info] Passed: Total 325, Failed 0, Errors 0, Passed 325, Ignored 14, Pending 2
[success] Total time: 208 s, completed Aug 23, 2018 11:07:15 PM