stellar / slingshot

A new blockchain architecture under active development, with a strong focus on scalability, privacy and safety
Apache License 2.0
415 stars 61 forks source link

blockchain: witness hash for BlockTx and revamped state machine logic #408

Closed oleganza closed 4 years ago

oleganza commented 4 years ago

This patch introduces a BlockTx type: that encapsulates Tx with its utxo proofs. The block header commits to that object, making all the proofs and signatures authenticated by the block header, eliminating DoS vector during block processing. Also the blockchain state and mempool are simplified.