Another strange thing with armoryd:
We are importing to SQL the Ledger entries.
And we have detected that getledger... returns some entries duplicated.
we identify the entries by "ledger_i" which is the i variable of the loop. We added it to the json
so for further requests we know from which to which to ask for.
example entries which are getting duplicated:
{
"comment": "",
"direction": "send",
"blockhash": "000000007a11632e1040b5c69a67540afab6a128a42e679431952c22a650dcaa",
"txtime": 1396375900,
"txsize": 471,
"firstrecip": "mzWQrn4wAtNRZ1fycxHEFJ3wpMb4NbAa34",
"confirmations": 5,
"netdiff": -0.0026,
"senderme": [
{
"amount": 0.72,
"address": "n3xPuVEjXswDZYGxTUXq9BKxSYt72DjHKo"
},
{
"amount": 1.3,
"address": "n3xPuVEjXswDZYGxTUXq9BKxSYt72DjHKo"
}
],
"fee": 0.0001,
"recipme": [
{
"amount": 0.4975,
"address": "mwdHoRamUYDT1r3wq5mXCXqYfqpSKoifrq"
},
{
"amount": 1.5199,
"address": "n3xPuVEjXswDZYGxTUXq9BKxSYt72DjHKo"
}
],
"blocktime": 1396375900,
"txid": "3d7b98a70a9ef1f87d4c95a4fdd25e324a75d399e321f5b138858a03416869cb",
"wallet": "2pEQ4Bqu8",
"amount": 0.0025,
"recipother": [
{
"amount": 0.0025,
"address": "mzWQrn4wAtNRZ1fycxHEFJ3wpMb4NbAa34"
}
],
"changerecip": "mwdHoRamUYDT1r3wq5mXCXqYfqpSKoifrq",
"senderother": [],
"ledger_i": 47
},
{
"comment": "",
"direction": "send",
"blockhash": "000000007a11632e1040b5c69a67540afab6a128a42e679431952c22a650dcaa",
"txtime": 1396375900,
"txsize": 471,
"firstrecip": "mzWQrn4wAtNRZ1fycxHEFJ3wpMb4NbAa34",
"confirmations": 5,
"netdiff": -0.0026,
"senderme": [
{
"amount": 0.72,
"address": "n3xPuVEjXswDZYGxTUXq9BKxSYt72DjHKo"
},
{
"amount": 1.3,
"address": "n3xPuVEjXswDZYGxTUXq9BKxSYt72DjHKo"
}
],
"fee": 0.0001,
"recipme": [
{
"amount": 0.4975,
"address": "mwdHoRamUYDT1r3wq5mXCXqYfqpSKoifrq"
},
{
"amount": 1.5199,
"address": "n3xPuVEjXswDZYGxTUXq9BKxSYt72DjHKo"
}
],
"blocktime": 1396375900,
"txid": "3d7b98a70a9ef1f87d4c95a4fdd25e324a75d399e321f5b138858a03416869cb",
"wallet": "2pEQ4Bqu8",
"amount": 0.0025,
"recipother": [
{
"amount": 0.0025,
"address": "mzWQrn4wAtNRZ1fycxHEFJ3wpMb4NbAa34"
}
],
"changerecip": "mwdHoRamUYDT1r3wq5mXCXqYfqpSKoifrq",
"senderother": [],
"ledger_i": 48
}
and this is the more readable version:
amount: 0.0025
blockDateTime: {01/04/2014 20:11:40}
blockhash: "000000007a11632e1040b5c69a67540afab6a128a42e679431952c22a650dcaa"
blocktime: 1396375900
changerecip: "mwdHoRamUYDT1r3wq5mXCXqYfqpSKoifrq"
comment: ""
confirmations: 5
direction: "send"
fee: 0.0001
firstrecip: "mzWQrn4wAtNRZ1fycxHEFJ3wpMb4NbAa34"
ledger_i: 47
netdiff: -0.0026
recipme: Count = 2
recipother: Count = 1
senderme: Count = 2
senderother: Count = 0
txDateTime: {01/04/2014 20:11:40}
txid: "3d7b98a70a9ef1f87d4c95a4fdd25e324a75d399e321f5b138858a03416869cb"
txsize: 471
txtime: 1396375900
wallet: "2pEQ4Bqu8"
amount: 0.0025
blockDateTime: {01/04/2014 20:11:40}
blockhash: "000000007a11632e1040b5c69a67540afab6a128a42e679431952c22a650dcaa"
blocktime: 1396375900
changerecip: "mwdHoRamUYDT1r3wq5mXCXqYfqpSKoifrq"
comment: ""
confirmations: 5
direction: "send"
fee: 0.0001
firstrecip: "mzWQrn4wAtNRZ1fycxHEFJ3wpMb4NbAa34"
ledger_i: 48
netdiff: -0.0026
recipme: Count = 2
recipother: Count = 1
senderme: Count = 2
senderother: Count = 0
txDateTime: {01/04/2014 20:11:40}
txid: "3d7b98a70a9ef1f87d4c95a4fdd25e324a75d399e321f5b138858a03416869cb"
txsize: 471
txtime: 1396375900
wallet: "2pEQ4Bqu8"
For us there is no problem as we can identify the duplicated entries and just ignore them when importing them.
The question is:
Is there some other impact / risk with duplicated entries internally?
Like SelectCoins, Balance stuff, etc?
I dont want to be hateful with that bug reports, I just want to help to identify errors.
Best regards!