Blockchain Transactions Exact transaction model is specific to each blockchain. ■Bitcoin No account balances stored directly. A transaction specifies: Input transactions(whose output are spent by this transaction) A set of outputs,each specifying the recipient and the amount A digital signature from the user submitting the transaction Additionally a Bitcoin transaction may: Store a small amount of data on the blockchain Specify a slightly more complex transaction using the Bitcoin scripting language Ethereum Maintains account balances,which are modified by transactions Has a more sophisticated,Turing-complete scripting language Database System Concepts-7th Edition 26.10 ©Silberscha乜,Korth and SudarshanDatabase System Concepts - 7 26.10 ©Silberschatz, Korth and Sudarshan th Edition Blockchain Transactions ▪ Exact transaction model is specific to each blockchain. ▪ Bitcoin • No account balances stored directly. • A transaction specifies: ▪ Input transactions (whose output are spent by this transaction) ▪ A set of outputs, each specifying the recipient and the amount ▪ A digital signature from the user submitting the transaction • Additionally a Bitcoin transaction may: ▪ Store a small amount of data on the blockchain ▪ Specify a slightly more complex transaction using the Bitcoin scripting language ▪ Ethereum • Maintains account balances, which are modified by transactions • Has a more sophisticated, Turing-complete scripting language