|
Below are many transaction ledger examples I took from a blockchain explorer. The story is fictional for the purpose here and each story is irrelevant to other stories.
A transaction ledger is to destroy some notes and create some new notes. A note is a coin in the sense that the money presented on it must be spent in whole like a coin. A note is not a coin in the sense that there are only 5 kinds (take USA for example) of coins: dollar, quarter, dime, nickel, penny but a note can have arbitrary amount. You can only spend the notes that never be spent before and you have the private keys for the public address on it.
- short story: Albert gives Bob 0.001 BTC
- long story: Albert has a note worth of 1.59706346 and spends this note by write two new notes, one to Bob 0.001 and the other to Albert himself to keep the change 1.59601846. transaction fee is 0.00004500
from address |
to address |
BTC |
n3XCFYWYffVfb5J7RFXEyBq2dR8eKsrkg1 |
|
-1.59706346 |
|
mwt43QeNNnwX3wXzLhcuEPyjp5TGGhDMAK |
0.00100000 |
|
n3XCFYWYffVfb5J7RFXEyBq2dR8eKsrkg1 |
1.59601846 |
|
Fee |
0.00004500 |
- short story: Albert gives Bob 0.0025 BTC
- long story: Albert has two previously-received notes, one worth of 0.001 and the other worth of 0.5. Albert spends these two notes by write two new notes, one to Bob 0.0025 and the other to Albert himself to keep the change 0.4984254. transaction fee is 0.0000746
from address |
to address |
BTC |
mwt43QeNNnwX3wXzLhcuEPyjp5TGGhDMAK |
|
-0.00100000 |
mwt43QeNNnwX3wXzLhcuEPyjp5TGGhDMAK |
|
-0.50000000 |
|
mwt43QeNNnwX3wXzLhcuEPyjp5TGGhDMAK |
0.49842540 |
|
n3XCFYWYffVfb5J7RFXEyBq2dR8eKsrkg1 |
0.00250000 |
|
Fee |
0.00007460 |
- short story: Albert gives Bob and Candy 1.9934 and 0.001 BTC respectively
- long story: Albert has one note worth of 1.9945. Albert spends this note by write two new notes, one to Bob 1.9934 and the other to Candy 0.001. transaction fee is 0.0001
from address |
to address |
BTC |
mu2RiqGky2epRYc34VBnwBbezoqg5TKx9o |
|
-1.99450000 |
|
n3X2fVQZu4hbnDk7CegCCQV7oW5HqmqyQp |
1.99340000 |
|
n3EqXh6XT2L1Z3GvsyRd8XPiZgmz3Jktmb |
0.00100000 |
|
Fee |
0.00010000 |
- short story: Albert bribes Bob by giving Bob 1.9934 and have a new name to hold the remaining money
- long story: Albert has one note worth of 1.9945. Albert spends this note by write two new notes, one to Bob 1.9934 and the other to Candy, Alber's new name, 0.001. transaction fee is 0.0001
from address |
to address |
BTC |
mu2RiqGky2epRYc34VBnwBbezoqg5TKx9o |
|
-1.99450000 |
|
n3X2fVQZu4hbnDk7CegCCQV7oW5HqmqyQp |
1.99340000 |
|
n3EqXh6XT2L1Z3GvsyRd8XPiZgmz3Jktmb |
0.00100000 |
|
Fee |
0.00010000 |
- short story: Albert splits his one note into two notes by having two new names so that no one knows how wealthy Albert is.
- long story: Albert has one note worth of 1.9945. Albert spends this note by write two new notes, one to Bob 1.9934 and the other to Candy 0.001. Both Bob and candy are Albert's new name. transaction fee is 0.0001
from address |
to address |
BTC |
mu2RiqGky2epRYc34VBnwBbezoqg5TKx9o |
|
-1.99450000 |
|
n3X2fVQZu4hbnDk7CegCCQV7oW5HqmqyQp |
1.99340000 |
|
n3EqXh6XT2L1Z3GvsyRd8XPiZgmz3Jktmb |
0.00100000 |
|
Fee |
0.00010000 |
Note that any transaction has two flows, one is the service or goods or assets, and the other is the money. All merchants shall know some basic practice to avoid fraud.
|