View Issue Details

IDProjectCategoryView StatusLast Update
0003775Talerauditorpublic2017-06-06 12:18
ReporterChristian Grothoff Assigned ToChristian Grothoff Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Version0.3Fixed in Version0.3 
Summary0003775: need to implement basic auditing
DescriptionBasic auditing should check the signatures and calculate the balances based on /withdraw, /deposit and /refresh requests, and check against the SEPA transactions (incoming and outgoing).
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

The plan

IDSummaryStatusAssigned ToEstimated effort (hours)
0003989have ongoing safety/sanity checks closedChristian Grothoff
0004708database functions in plugin_auditordb_postgres.c must be implemented closedtg
0004709auditor database functions in plugin_exchangedb_postgres.c must be implemented closedMarcello Stanisci
This issue (hours)
Its children (hours)0
Together (hours)0
Nothing is missing: the plan can be finished.

Relationships

parent of 0003989 closedChristian Grothoff have ongoing safety/sanity checks 
parent of 0004709 closedMarcello Stanisci auditor database functions in plugin_exchangedb_postgres.c must be implemented 
parent of 0004708 closedtg database functions in plugin_auditordb_postgres.c must be implemented 
child of 0003887 closedChristian Grothoff handle "emergency" where denomination key is overdrawn (/payback) 

Activities

Christian Grothoff

2017-03-19 05:52

manager   ~0011947

taler-auditor implements all of the core functionality now, but it needs to be tested.

Christian Grothoff

2017-03-20 03:38

manager   ~0011956

Using the database from the exchange-lib test (having modified the test to not drop at the end), I now get:

$ ~/bin/taler-auditor -c t.conf -m 98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG
* Total escrow balance to be held for reserves is EUR:0
* Total withdraw fees are at EUR:0.06
* Total aggregation fees are at EUR:0.1
* Final balance for all denominations is EUR:5.52
* Risk from active operations is EUR:47.7
* Deposit fee profits are EUR:0.12
* Melt fee profits are EUR:0.06
* Refund fee profits are EUR:0.02

So yes, victory ;-).

Last related commit is 3186dbf..ab0286f

Issue History

Date ModifiedUsernameFieldChange
2015-04-13 01:20Christian GrothoffNew Issue
2015-04-13 01:20Christian GrothoffStatusnew => implementing
2015-04-13 01:20Christian GrothoffTarget Version0.3 => 0.2
2015-06-21 08:50Christian GrothoffTarget Version0.2 => 0.3
2015-09-19 18:54Christian GrothoffAssigned To => Florian Dold
2015-09-19 18:54Christian GrothoffStatusimplementing => assigned
2016-03-20 20:53Torsten GrothoffIssue cloned: 0004322
2016-09-26 13:21Christian GrothoffAssigned ToFlorian Dold => Christian Grothoff
2016-09-26 13:22Christian GrothoffRelationship addedparent of 0003989
2016-09-26 13:22Christian GrothoffRelationship addedparent of 0003887
2016-10-08 23:43Christian GrothoffRelationship addedparent of 0004709
2016-10-08 23:43Christian GrothoffRelationship addedparent of 0004708
2017-03-18 22:41Christian GrothoffRelationship deletedparent of 0003887
2017-03-18 22:41Christian GrothoffRelationship addedchild of 0003887
2017-03-19 05:52Christian GrothoffNote Added: 0011947
2017-03-20 03:38Christian GrothoffNote Added: 0011956
2017-03-20 03:38Christian GrothoffStatusassigned => informing
2017-03-20 03:38Christian GrothoffResolutionopen => fixed
2017-03-20 03:38Christian GrothoffFixed in Version => 0.3
2017-06-06 12:18Christian GrothoffStatusinforming => closed