DNA icon indicating copy to clipboard operation
DNA copied to clipboard

Implement Transaction Verification

Open sharpbear opened this issue 9 years ago • 0 comments

Implement transaction verfication functions

Berif Description:

Under "Validation" package, implement func "VerifyTransaction", take "Transaciton","Transaction Pool", "Blockchain State" as inputs. The func will do following validations:

  • Transcation Well format

  • No duplicated inputs

  • Asset Precision check

  • inputs/outputs balance

  • double spend

  • Transcation's programs should be passed via VM

sharpbear avatar Dec 16 '16 03:12 sharpbear