aboutsummaryrefslogtreecommitdiff
path: root/src/auditordb
ModeNameSize
-rw-r--r--.gitignore116logplain
-rw-r--r--0002-auditor_amount_arithmetic_inconsistency.sql1355logplain
-rw-r--r--0002-auditor_bad_sig_losses.sql1196logplain
-rw-r--r--0002-auditor_balances.sql1138logplain
-rw-r--r--0002-auditor_closure_lags.sql1058logplain
-rw-r--r--0002-auditor_coin_inconsistency.sql1280logplain
-rw-r--r--0002-auditor_denomination_key_validity_withdraw_inconsistency.sql1196logplain
-rw-r--r--0002-auditor_denomination_pending.sql1834logplain
-rw-r--r--0002-auditor_denominations_without_sigs.sql1136logplain
-rw-r--r--0002-auditor_deposit_confirmations.sql2562logplain
-rw-r--r--0002-auditor_emergency.sql1123logplain
-rw-r--r--0002-auditor_emergency_by_count.sql1158logplain
-rw-r--r--0002-auditor_exchange_signkeys.sql1872logplain
-rw-r--r--0002-auditor_fee_time_inconsistency.sql1101logplain
-rw-r--r--0002-auditor_historic_denomination_revenue.sql2159logplain
-rw-r--r--0002-auditor_historic_reserve_summary.sql1619logplain
-rw-r--r--0002-auditor_misattribution_in_inconsistency.sql1127logplain
-rw-r--r--0002-auditor_pending_deposits.sql1003logplain
-rw-r--r--0002-auditor_progress.sql1214logplain
-rw-r--r--0002-auditor_purse_not_closed_inconsistencies.sql1093logplain
-rw-r--r--0002-auditor_purses.sql1103logplain
-rw-r--r--0002-auditor_refreshes_hanging.sql1037logplain
-rw-r--r--0002-auditor_reserve_balance_insufficient_inconsistency.sql1219logplain
-rw-r--r--0002-auditor_reserve_balance_summary_wrong_inconsistency.sql1158logplain
-rw-r--r--0002-auditor_reserve_in_inconsistency.sql1204logplain
-rw-r--r--0002-auditor_reserve_not_closed_inconsistency.sql1146logplain
-rw-r--r--0002-auditor_reserves.sql1367logplain
-rw-r--r--0002-auditor_row_inconsistency.sql1124logplain
-rw-r--r--0002-auditor_row_minor_inconsistencies.sql1087logplain
-rw-r--r--0002-auditor_wire_format_inconsistency.sql1094logplain
-rw-r--r--0002-auditor_wire_out_inconsistency.sql1134logplain
-rw-r--r--Makefile.am12614logplain
-rw-r--r--auditor-0001.sql8664logplain
-rw-r--r--auditor-0002.sql.in2611logplain
-rw-r--r--auditor_do_get_auditor_progress.sql1259logplain
-rw-r--r--auditor_do_get_balance.sql1446logplain
-rw-r--r--auditordb-postgres.conf190logplain
-rw-r--r--auditordb_plugin.c2573logplain
-rw-r--r--drop.sql991logplain
-rw-r--r--hdr.h0logplain
-rw-r--r--pg_del_amount_arithmetic_inconsistency.c1461logplain
-rw-r--r--pg_del_amount_arithmetic_inconsistency.h1259logplain
-rw-r--r--pg_del_auditor_closure_lags.c1397logplain
-rw-r--r--pg_del_auditor_closure_lags.h1186logplain
-rw-r--r--pg_del_auditor_progress.c1378logplain
-rw-r--r--pg_del_auditor_progress.h1150logplain
-rw-r--r--pg_del_bad_sig_losses.c1375logplain
-rw-r--r--pg_del_bad_sig_losses.h1156logplain
-rw-r--r--pg_del_balances.c1347logplain
-rw-r--r--pg_del_balances.h1133logplain
-rw-r--r--pg_del_coin_inconsistency.c1396logplain
-rw-r--r--pg_del_coin_inconsistency.h1204logplain
-rw-r--r--pg_del_denomination_balance.c1704logplain
-rw-r--r--pg_del_denomination_balance.h1406logplain
-rw-r--r--pg_del_denomination_key_validity_withdraw_inconsistency.c1545logplain
-rw-r--r--pg_del_denomination_key_validity_withdraw_inconsistency.h1319logplain
-rw-r--r--pg_del_denomination_pending.c1407logplain
-rw-r--r--pg_del_denomination_pending.h1181logplain
-rw-r--r--pg_del_denominations_without_sigs.c1437logplain
-rw-r--r--pg_del_denominations_without_sigs.h1205logplain
-rw-r--r--pg_del_emergency.c1350logplain
-rw-r--r--pg_del_emergency.h1106logplain
-rw-r--r--pg_del_emergency_by_count.c1396logplain
-rw-r--r--pg_del_emergency_by_count.h1141logplain
-rw-r--r--pg_del_exchange_signkeys.c1392logplain
-rw-r--r--pg_del_exchange_signkeys.h1169logplain
-rw-r--r--pg_del_fee_time_inconsistency.c1417logplain
-rw-r--r--pg_del_fee_time_inconsistency.h1196logplain
-rw-r--r--pg_del_historic_denomination_revenue.c1452logplain
-rw-r--r--pg_del_historic_denomination_revenue.h1217logplain
-rw-r--r--pg_del_historic_reserve_summary.c1427logplain
-rw-r--r--pg_del_historic_reserve_summary.h1197logplain
-rw-r--r--pg_del_misattribution_in_inconsistency.c1462logplain
-rw-r--r--pg_del_misattribution_in_inconsistency.h1225logplain
-rw-r--r--pg_del_purse_not_closed_inconsistencies.c1466logplain
-rw-r--r--pg_del_purse_not_closed_inconsistencies.h1244logplain
-rw-r--r--pg_del_purses.c1337logplain
-rw-r--r--pg_del_purses.h1125logplain
-rw-r--r--pg_del_refreshes_hanging.c1390logplain
-rw-r--r--pg_del_refreshes_hanging.h1171logplain
-rw-r--r--pg_del_reserve_balance_insufficient_inconsistency.c1516logplain
-rw-r--r--pg_del_reserve_balance_insufficient_inconsistency.h1295logplain
-rw-r--r--pg_del_reserve_balance_summary_wrong_inconsistency.c1522logplain
-rw-r--r--pg_del_reserve_balance_summary_wrong_inconsistency.h1273logplain
-rw-r--r--pg_del_reserve_in_inconsistency.c1427logplain
-rw-r--r--pg_del_reserve_in_inconsistency.h1197logplain
-rw-r--r--pg_del_reserve_info.c1655logplain
-rw-r--r--pg_del_reserve_info.h1329logplain
-rw-r--r--pg_del_reserve_not_closed_inconsistency.c1467logplain
-rw-r--r--pg_del_reserve_not_closed_inconsistency.h1229logplain
-rw-r--r--pg_del_reserves.c1347logplain
-rw-r--r--pg_del_reserves.h1133logplain
-rw-r--r--pg_del_row_inconsistency.c1390logplain
-rw-r--r--pg_del_row_inconsistency.h1203logplain
-rw-r--r--pg_del_row_minor_inconsistencies.c1432logplain
-rw-r--r--pg_del_row_minor_inconsistencies.h1201logplain
-rw-r--r--pg_del_wire_format_inconsistency.c1432logplain
-rw-r--r--pg_del_wire_format_inconsistency.h1201logplain
-rw-r--r--pg_del_wire_out_inconsistency.c1417logplain
-rw-r--r--pg_del_wire_out_inconsistency.h1189logplain
-rw-r--r--pg_delete_deposit_confirmations.c1732logplain
-rw-r--r--pg_delete_deposit_confirmations.h1348logplain
-rw-r--r--pg_delete_pending_deposit.c1681logplain
-rw-r--r--pg_delete_pending_deposit.h1437logplain
-rw-r--r--pg_delete_purse_info.c1619logplain
-rw-r--r--pg_delete_purse_info.h1337logplain
-rw-r--r--pg_get_amount_arithmetic_inconsistency.c5349logplain
-rw-r--r--pg_get_amount_arithmetic_inconsistency.h1582logplain
-rw-r--r--pg_get_auditor_closure_lags.c4689logplain
-rw-r--r--pg_get_auditor_closure_lags.h1559logplain
-rw-r--r--pg_get_auditor_progress.c4609logplain
-rw-r--r--pg_get_auditor_progress.h1591logplain
-rw-r--r--pg_get_bad_sig_losses.c5538logplain
-rw-r--r--pg_get_bad_sig_losses.h1794logplain
-rw-r--r--pg_get_balance.c4670logplain
-rw-r--r--pg_get_balance.h1549logplain
-rw-r--r--pg_get_balances.c4644logplain
-rw-r--r--pg_get_balances.h1574logplain
-rw-r--r--pg_get_coin_inconsistency.c5210logplain
-rw-r--r--pg_get_coin_inconsistency.h1532logplain
-rw-r--r--pg_get_denomination_balance.c2542logplain
-rw-r--r--pg_get_denomination_balance.h1490logplain
-rw-r--r--pg_get_denomination_key_validity_withdraw_inconsistency.c5412logplain
-rw-r--r--pg_get_denomination_key_validity_withdraw_inconsistency.h1676logplain
-rw-r--r--pg_get_denomination_pending.c5125logplain
-rw-r--r--pg_get_denomination_pending.h1567logplain
-rw-r--r--pg_get_denominations_without_sigs.c5182logplain
-rw-r--r--pg_get_denominations_without_sigs.h1596logplain
-rw-r--r--pg_get_deposit_confirmations.c7781logplain
-rw-r--r--pg_get_deposit_confirmations.h1707logplain
-rw-r--r--pg_get_emergency.c4786logplain
-rw-r--r--pg_get_emergency.h1484logplain
-rw-r--r--pg_get_emergency_by_count.c5235logplain
-rw-r--r--pg_get_emergency_by_count.h1529logplain
-rw-r--r--pg_get_exchange_signkeys.c5316logplain
-rw-r--r--pg_get_exchange_signkeys.h1552logplain
-rw-r--r--pg_get_fee_time_inconsistency.c4762logplain
-rw-r--r--pg_get_fee_time_inconsistency.h1547logplain
-rw-r--r--pg_get_historic_denomination_revenue.c5157logplain
-rw-r--r--pg_get_historic_denomination_revenue.h1611logplain
-rw-r--r--pg_get_historic_reserve_summary.c4844logplain
-rw-r--r--pg_get_historic_reserve_summary.h1586logplain
-rw-r--r--pg_get_misattribution_in_inconsistency.c5190logplain
-rw-r--r--pg_get_misattribution_in_inconsistency.h1621logplain
-rw-r--r--pg_get_purse_info.c2218logplain
-rw-r--r--pg_get_purse_info.h1590logplain
-rw-r--r--pg_get_purse_not_closed_inconsistencies.c5146logplain
-rw-r--r--pg_get_purse_not_closed_inconsistencies.h1596logplain
-rw-r--r--pg_get_purses.c4674logplain
-rw-r--r--pg_get_purses.h1498logplain
-rw-r--r--pg_get_refreshes_hanging.c4545logplain
-rw-r--r--pg_get_refreshes_hanging.h1523logplain
-rw-r--r--pg_get_reserve_balance_insufficient_inconsistency.c5419logplain
-rw-r--r--pg_get_reserve_balance_insufficient_inconsistency.h1646logplain
-rw-r--r--pg_get_reserve_balance_summary_wrong_inconsistency.c5659logplain
-rw-r--r--pg_get_reserve_balance_summary_wrong_inconsistency.h1679logplain
-rw-r--r--pg_get_reserve_in_inconsistency.c5504logplain
-rw-r--r--pg_get_reserve_in_inconsistency.h1586logplain
-rw-r--r--pg_get_reserve_info.c3537logplain
-rw-r--r--pg_get_reserve_info.h1838logplain
-rw-r--r--pg_get_reserve_not_closed_inconsistency.c5424logplain
-rw-r--r--pg_get_reserve_not_closed_inconsistency.h1625logplain
-rw-r--r--pg_get_reserves.c5663logplain
-rw-r--r--pg_get_reserves.h1508logplain
-rw-r--r--pg_get_row_inconsistency.c4712logplain
-rw-r--r--pg_get_row_inconsistency.h1528logplain
-rw-r--r--pg_get_row_minor_inconsistencies.c4944logplain
-rw-r--r--pg_get_row_minor_inconsistencies.h1591logplain
-rw-r--r--pg_get_wire_fee_summary.c2130logplain
-rw-r--r--pg_get_wire_fee_summary.h1394logplain
-rw-r--r--pg_get_wire_format_inconsistency.c5043logplain
-rw-r--r--pg_get_wire_format_inconsistency.h1633logplain
-rw-r--r--pg_get_wire_out_inconsistency.c5038logplain
-rw-r--r--pg_get_wire_out_inconsistency.h1615logplain
-rw-r--r--pg_helper.h3836logplain
-rw-r--r--pg_insert_amount_arithmetic_inconsistency.c2085logplain
-rw-r--r--pg_insert_amount_arithmetic_inconsistency.h1356logplain
-rw-r--r--pg_insert_auditor_closure_lags.c1692logplain
-rw-r--r--pg_insert_auditor_closure_lags.h1251logplain
-rw-r--r--pg_insert_auditor_progress.c2956logplain
-rw-r--r--pg_insert_auditor_progress.h1541logplain
-rw-r--r--pg_insert_bad_sig_losses.c2167logplain
-rw-r--r--pg_insert_bad_sig_losses.h1232logplain
-rw-r--r--pg_insert_balance.c3064logplain
-rw-r--r--pg_insert_balance.h1563logplain
-rw-r--r--pg_insert_balances.c1531logplain
-rw-r--r--pg_insert_balances.h1206logplain
-rw-r--r--pg_insert_coin_inconsistency.c2170logplain
-rw-r--r--pg_insert_coin_inconsistency.h1293logplain
-rw-r--r--pg_insert_denomination_balance.c2391logplain
-rw-r--r--pg_insert_denomination_balance.h1572logplain
-rw-r--r--pg_insert_denomination_key_validity_withdraw_inconsistency.c1849logplain
-rw-r--r--pg_insert_denomination_key_validity_withdraw_inconsistency.h1439logplain
-rw-r--r--pg_insert_denomination_pending.c2303logplain
-rw-r--r--pg_insert_denomination_pending.h1265logplain
-rw-r--r--pg_insert_denominations_without_sigs.c2014logplain
-rw-r--r--pg_insert_denominations_without_sigs.h1294logplain
-rw-r--r--pg_insert_deposit_confirmation.c3159logplain
-rw-r--r--pg_insert_deposit_confirmation.h1401logplain
-rw-r--r--pg_insert_emergency.c1872logplain
-rw-r--r--pg_insert_emergency.h1207logplain
-rw-r--r--pg_insert_emergency_by_count.c1963logplain
-rw-r--r--pg_insert_emergency_by_count.h1252logplain
-rw-r--r--pg_insert_exchange_signkey.c2291logplain
-rw-r--r--pg_insert_exchange_signkey.h1370logplain
-rw-r--r--pg_insert_exchange_signkeys.c1876logplain
-rw-r--r--pg_insert_exchange_signkeys.h1250logplain
-rw-r--r--pg_insert_fee_time_inconsistency.c1644logplain
-rw-r--r--pg_insert_fee_time_inconsistency.h1283logplain
-rw-r--r--pg_insert_historic_denom_revenue.c2229logplain
-rw-r--r--pg_insert_historic_denom_revenue.h1896logplain
-rw-r--r--pg_insert_historic_denomination_revenue.c2133logplain
-rw-r--r--pg_insert_historic_denomination_revenue.h1309logplain
-rw-r--r--pg_insert_historic_reserve_revenue.c2003logplain
-rw-r--r--pg_insert_historic_reserve_revenue.h1602logplain
-rw-r--r--pg_insert_historic_reserve_summary.c1719logplain
-rw-r--r--pg_insert_historic_reserve_summary.h1284logplain
-rw-r--r--pg_insert_misattribution_in_inconsistency.c1757logplain
-rw-r--r--pg_insert_misattribution_in_inconsistency.h1319logplain
-rw-r--r--pg_insert_pending_deposit.c2121logplain
-rw-r--r--pg_insert_pending_deposit.h1713logplain
-rw-r--r--pg_insert_purse_info.c1923logplain
-rw-r--r--pg_insert_purse_info.h1569logplain
-rw-r--r--pg_insert_purse_not_closed_inconsistencies.c1940logplain
-rw-r--r--pg_insert_purse_not_closed_inconsistencies.h1342logplain
-rw-r--r--pg_insert_purses.c1787logplain
-rw-r--r--pg_insert_purses.h1196logplain
-rw-r--r--pg_insert_refreshes_hanging.c1694logplain
-rw-r--r--pg_insert_refreshes_hanging.h1254logplain
-rw-r--r--pg_insert_reserve_balance_insufficient_inconsistency.c1833logplain
-rw-r--r--pg_insert_reserve_balance_insufficient_inconsistency.h1389logplain
-rw-r--r--pg_insert_reserve_balance_summary_wrong_inconsistency.c1846logplain
-rw-r--r--pg_insert_reserve_balance_summary_wrong_inconsistency.h1377logplain
-rw-r--r--pg_insert_reserve_in_inconsistency.c2033logplain
-rw-r--r--pg_insert_reserve_in_inconsistency.h1284logplain
-rw-r--r--pg_insert_reserve_info.c2994logplain
-rw-r--r--pg_insert_reserve_info.h1696logplain
-rw-r--r--pg_insert_reserve_not_closed_inconsistency.c1856logplain
-rw-r--r--pg_insert_reserve_not_closed_inconsistency.h1323logplain
-rw-r--r--pg_insert_reserves.c2354logplain
-rw-r--r--pg_insert_reserves.h1206logplain
-rw-r--r--pg_insert_row_inconsistency.c1631logplain
-rw-r--r--pg_insert_row_inconsistency.h1257logplain
-rw-r--r--pg_insert_row_minor_inconsistencies.c1654logplain
-rw-r--r--pg_insert_row_minor_inconsistencies.h1289logplain
-rw-r--r--pg_insert_wire_format_inconsistency.c1731logplain
-rw-r--r--pg_insert_wire_format_inconsistency.h1289logplain
-rw-r--r--pg_insert_wire_out_inconsistency.c1703logplain
-rw-r--r--pg_insert_wire_out_inconsistency.h1274logplain
-rw-r--r--pg_select_historic_denom_revenue.c4281logplain
-rw-r--r--pg_select_historic_denom_revenue.h1448logplain
-rw-r--r--pg_select_historic_reserve_revenue.c4025logplain
-rw-r--r--pg_select_historic_reserve_revenue.h1468logplain
-rw-r--r--pg_select_pending_deposits.c4103logplain
-rw-r--r--pg_select_pending_deposits.h1494logplain
-rw-r--r--pg_select_purse_expired.c4049logplain
-rw-r--r--pg_select_purse_expired.h1394logplain
-rw-r--r--pg_template.c987logplain
-rw-r--r--pg_template.h974logplain
-rwxr-xr-xpg_template.sh714logplain
-rw-r--r--pg_update_amount_arithmetic_inconsistency.c1572logplain
-rw-r--r--pg_update_amount_arithmetic_inconsistency.h1072logplain
-rw-r--r--pg_update_auditor_progress.c3055logplain
-rw-r--r--pg_update_auditor_progress.h1574logplain
-rw-r--r--pg_update_bad_sig_losses.c1487logplain
-rw-r--r--pg_update_bad_sig_losses.h1004logplain
-rw-r--r--pg_update_balance.c3150logplain
-rw-r--r--pg_update_balance.h1560logplain
-rw-r--r--pg_update_balances.c1527logplain
-rw-r--r--pg_update_balances.h981logplain
-rw-r--r--pg_update_closure_lags.c1547logplain
-rw-r--r--pg_update_closure_lags.h997logplain
-rw-r--r--pg_update_coin_inconsistency.c1577logplain
-rw-r--r--pg_update_coin_inconsistency.h1021logplain
-rw-r--r--pg_update_denomination_balance.c2342logplain
-rw-r--r--pg_update_denomination_balance.h1568logplain
-rw-r--r--pg_update_denomination_key_validity_withdraw_inconsistency.c1727logplain
-rw-r--r--pg_update_denomination_key_validity_withdraw_inconsistency.h1141logplain
-rw-r--r--pg_update_denomination_pending.c1587logplain
-rw-r--r--pg_update_denomination_pending.h1029logplain
-rw-r--r--pg_update_denominations_without_sigs.c1617logplain
-rw-r--r--pg_update_denominations_without_sigs.h1053logplain
-rw-r--r--pg_update_deposit_confirmations.c1592logplain
-rw-r--r--pg_update_deposit_confirmations.h1033logplain
-rw-r--r--pg_update_emergency.c1532logplain
-rw-r--r--pg_update_emergency.h985logplain
-rw-r--r--pg_update_emergency_by_count.c1577logplain
-rw-r--r--pg_update_emergency_by_count.h1021logplain
-rw-r--r--pg_update_exchange_signkeys.c1572logplain
-rw-r--r--pg_update_exchange_signkeys.h1017logplain
-rw-r--r--pg_update_fee_time_inconsistency.c1597logplain
-rw-r--r--pg_update_fee_time_inconsistency.h1037logplain
-rw-r--r--pg_update_generic_suppressed.c2610logplain
-rw-r--r--pg_update_generic_suppressed.h1248logplain
-rw-r--r--pg_update_historic_denomination_revenue.c1632logplain
-rw-r--r--pg_update_historic_denomination_revenue.h1065logplain
-rw-r--r--pg_update_historic_reserve_summary.c1607logplain
-rw-r--r--pg_update_historic_reserve_summary.h1045logplain
-rw-r--r--pg_update_misattribution_in_inconsistency.c1642logplain
-rw-r--r--pg_update_misattribution_in_inconsistency.h1073logplain
-rw-r--r--pg_update_progress.c1527logplain
-rw-r--r--pg_update_progress.h981logplain
-rw-r--r--pg_update_purse_info.c1769logplain
-rw-r--r--pg_update_purse_info.h1489logplain
-rw-r--r--pg_update_purse_not_closed_inconsistencies.c1647logplain
-rw-r--r--pg_update_purse_not_closed_inconsistencies.h1077logplain
-rw-r--r--pg_update_purses.c1517logplain
-rw-r--r--pg_update_purses.h973logplain
-rw-r--r--pg_update_refreshes_hanging.c1572logplain
-rw-r--r--pg_update_refreshes_hanging.h1017logplain
-rw-r--r--pg_update_reserve_balance_insufficient_inconsistency.c1697logplain
-rw-r--r--pg_update_reserve_balance_insufficient_inconsistency.h1117logplain
-rw-r--r--pg_update_reserve_balance_summary_wrong_inconsistency.c1702logplain
-rw-r--r--pg_update_reserve_balance_summary_wrong_inconsistency.h1121logplain
-rw-r--r--pg_update_reserve_in_inconsistency.c1607logplain
-rw-r--r--pg_update_reserve_in_inconsistency.h1045logplain
-rw-r--r--pg_update_reserve_info.c2643logplain
-rw-r--r--pg_update_reserve_info.h1593logplain
-rw-r--r--pg_update_reserve_not_closed_inconsistency.c1647logplain
-rw-r--r--pg_update_reserve_not_closed_inconsistency.h1077logplain
-rw-r--r--pg_update_reserves.c1527logplain
-rw-r--r--pg_update_reserves.h981logplain
-rw-r--r--pg_update_row_inconsistency.c1572logplain
-rw-r--r--pg_update_row_inconsistency.h1017logplain
-rw-r--r--pg_update_row_minor_inconsistencies.c1612logplain
-rw-r--r--pg_update_row_minor_inconsistencies.h1049logplain
-rw-r--r--pg_update_wire_fee_summary.c1695logplain
-rw-r--r--pg_update_wire_fee_summary.h1446logplain
-rw-r--r--pg_update_wire_format_inconsistency.c1612logplain
-rw-r--r--pg_update_wire_format_inconsistency.h1049logplain
-rw-r--r--pg_update_wire_out_inconsistency.c1597logplain
-rw-r--r--pg_update_wire_out_inconsistency.h1037logplain
-rw-r--r--plugin_auditordb_postgres.c31121logplain
-rw-r--r--procedures.sql.in835logplain
-rw-r--r--restart.sql1629logplain
-rw-r--r--test-auditor-db-postgres.conf298logplain
-rw-r--r--test_auditordb.c17662logplain
-rw-r--r--test_auditordb_checkpoints.c11130logplain
-rw-r--r--versioning.sql11758logplain