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

node: separate signing from building #486

Closed oleganza closed 4 years ago

oleganza commented 4 years ago

Adds intermediate type BuiltTx that contains all tx data, utreexo proofs, and signing instructions (derivation sequences and aliases). Then, the BuiltTx::sign method takes an Xprv, derives all the keys according to the instructions and returns a fully signed BlockTx, that can be published.

Closes #485