3. Transaction
A Transaction is a transfer of Bitcoin value that is
broadcast to the network and collected into blocks
https://en.bitcoin.it/wiki/Transaction
6. Transaction
Input
.
Output
C D
Spent
Unspent
#3
● Transaction은 Input과 Output으로 구성
● Input은 블록내의 Transaction의 Output과 연결
● Output은 address와 value가 지정
● 아무런 Input도 사용하지 않은 Output(Unspent)
이미 연결해서 사용한 Output(Spent) 존재
● UTXO(Unspent Transaction Output): 미사용 Output
● UTXO Set은 Leveldb로 별도 관리
.
Input
.
Output
A C
Spent
#1
Unspent
.
Input
.
Output
B C
Unspent
#2
Unspent
C의 잔고는?