1. please send me some testnet coins to one of my addresses below
2. why do I have so many keys created ? i only called the command 'keygen' twice, but it created many many addresses
3. which one is the private key and which is the public ? there are 2 tuples of 'key 0', 'key 1' etc.
thanks
B487AigM67lJ7BrBp1zCRhvEVVNOHoIP 0.000000000 key 0
wcS/U3Rsx3ETYwt1Uulmg+k9X4DwCyxb 0.000000000 key 0
u5inRpUb+DcL2CyEtYp44TiTdg0fombt 0.000000000 key 1
S2CDG8od84++jkNUZ7PMW+jk2rKJXXJg 0.000000000 key 1
cvqjYhcBYalvkZG6sgB1sVHQa3mPkdR5 0.000000000 key 2
Y4ezeCYiVjlGQn8gtVFa0GFK3+Z4T+8J 0.000000000 key 2
Q7u6v1b+wdWcM4zmiNiFkh+8IhG/tn4E 0.000000000 key 2
YjZxlonGl+tSjibh1GJr5//Cydlo9Uvn 0.000000000 key 2
JN9FzdWwF44V7Vd53LHzPQa+jBf/2r2k 0.000000000 key 2
V8Y2+Za0hZhlsE2Ohnymm3U3eKfPKMtq 0.000000000 key 2
H95jtom9nZ2kVfY8+UsU0kUBUvQK1IS2 0.000000000 key 2
HxHTwhX+a361i1ZZyjJd9LEUlF5ZNF12 0.000000000 key 2
+eDzLwI0UN2XeCQwK6FUHuJoNQ9bbKd3 0.000000000 key 2
Qh4PcxukORb9fkQTaj4pz59+yiU1qPYo 0.000000000 key 2
eIa7t7w/pUX4TNa+lDnZ7dWrls/toh4n 0.000000000 key 2
7VffQslH1JYAw9Y/rUmctIZOgkRifp58 0.000000000 key 2
sejgqLN7HhfHAgKn63KbaehvUwy7DUzx 0.000000000 key 2
jDwSAZJ2g8/lntBaiPaDXP/tSekEAKxo 0.000000000 key 2
jorH8WEeNKdBH/H+QhqjxjKWHIgKXGkI 0.000000000 key 2
EFB1Tszb5NJyG2myftIY4DUgxbst4Ea8 0.000000000 key 2
2-3. At first time run one key is created automatically, it is key 0.
When you type 'keygen' command, another key is created.
You type this command twice, so you have 3 keys: key 0 created at program startup + key 1 and key 2 created after typing the command 'keygen'.
The listed above strings like B487AigM67lJ7BrBp1zCRhvEVVNOHoIP are not your public or private keys.
These are you addresses. Because address = block, each block created by your host is also your address.
So, you have many addresses because your host created many blocks.
Each address corresponds to a key. For example, address B487AigM67lJ7BrBp1zCRhvEVVNOHoIP corresponds to key 0.
Addresses are needed to inform other people and they could transfer money to this address.
But to withdraw money from the address, you need to have a private key corresponding to this address.
Private keys itself are stored in the file wallet.dat. Each key is 32 bytes long.
There are 3 keys so the length of the file wallet.dat should be 96 bytes.
For the test net the file is wallet-testnet.dat instead of wallet.dat
thanks a lot, it is now understood.
and yes, my testnet wallet.dat is exactly 96 bytes.
is it enough to backup wallet.dat + dnet_ket.dat in order to make a backup for my account ? or are there more files i need to backup ?