View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000002 | Timekoin Server | General Issue | public | 2012-06-19 14:54 | 2012-06-20 16:23 |
Reporter | KnightMB | Assigned To | KnightMB | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 1.0 | ||||
Target Version | 2.41 | Fixed in Version | 1.1 | ||
Summary | 0000002: Server Balance can be incorrect shortly after a Transaction Foundation is created | ||||
Description | Server balance is lower than it should be within 5 hours of a transaction foundation creation event. | ||||
Steps To Reproduce | Just wait until another transaction foundation is created, check the balance in the web GUI. It will report lower than it should until the 5 hours has passed. | ||||
Additional Information | Transaction Foundations are created by all peers every few days as a way to index the Transaction History for quick access to balances. As a way to increase performance, the Timekoin server builds a balance index of recently checked public keys. This helps the server avoid running a balance check on the entire transaction history every time a transaction is being processed. To avoid confusion in the GUI, the balance index is rebuilt shortly after transaction foundation creation process. During that in-between time, the balance index is still "stale" as it only has the balance of the keys in the index from a previous few days. This ends up reporting a "lower" total than it should in the GUI. This has no affect on the transaction history; all transaction are still there and no balance hacks or double-spending could take place. It's merely confusing to the server administration should he/she be looking at the balance screen during that time. | ||||
Tags | No tags attached. | ||||
|
This has been fixed for the next release. The problem lay in the function that checked public key balances. It did not account for the time "lapse" during it's check and thus a gap of time means anything created (transactions or generation) were not being counted. This is what caused the lower than normal balance to show up in the web GUI. |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-06-19 14:54 | KnightMB | New Issue | |
2012-06-19 14:54 | KnightMB | Status | new => assigned |
2012-06-19 14:54 | KnightMB | Assigned To | => KnightMB |
2012-06-19 15:01 | KnightMB | Note Added: 0000001 | |
2012-06-19 15:01 | KnightMB | Status | assigned => closed |
2012-06-19 15:01 | KnightMB | Resolution | open => fixed |
2012-06-19 15:01 | KnightMB | Fixed in Version | 2.41 => 1.1 |
2012-06-20 16:23 | KnightMB | Status | closed => resolved |