aboutsummaryrefslogtreecommitdiff
path: root/src/auditordb
ModeNameSize
-rw-r--r--.gitignore116logplain
-rw-r--r--0002-auditor_amount_arithmetic_inconsistency.sql1236logplain
-rw-r--r--0002-auditor_bad_sig_losses.sql1174logplain
-rw-r--r--0002-auditor_balances.sql1137logplain
-rw-r--r--0002-auditor_closure_lags.sql1125logplain
-rw-r--r--0002-auditor_coin_inconsistency.sql1246logplain
-rw-r--r--0002-auditor_denomination_key_validity_withdraw_inconsistency.sql1292logplain
-rw-r--r--0002-auditor_denomination_pending.sql1830logplain
-rw-r--r--0002-auditor_denominations_without_sigs.sql1126logplain
-rw-r--r--0002-auditor_deposit_confirmations.sql2506logplain
-rw-r--r--0002-auditor_emergency.sql1185logplain
-rw-r--r--0002-auditor_emergency_by_count.sql1223logplain
-rw-r--r--0002-auditor_exchange_signkeys.sql1822logplain
-rw-r--r--0002-auditor_fee_time_inconsistency.sql1142logplain
-rw-r--r--0002-auditor_historic_denomination_revenue.sql2155logplain
-rw-r--r--0002-auditor_historic_reserve_summary.sql1598logplain
-rw-r--r--0002-auditor_misattribution_in_inconsistency.sql1158logplain
-rw-r--r--0002-auditor_pending_deposits.sql1078logplain
-rw-r--r--0002-auditor_progress.sql1214logplain
-rw-r--r--0002-auditor_purse_not_closed_inconsistencies.sql1114logplain
-rw-r--r--0002-auditor_purses.sql1121logplain
-rw-r--r--0002-auditor_refreshes_hanging.sql1037logplain
-rw-r--r--0002-auditor_reserve_balance_insufficient_inconsistency.sql1209logplain
-rw-r--r--0002-auditor_reserve_balance_summary_wrong_inconsistency.sql1189logplain
-rw-r--r--0002-auditor_reserve_in_inconsistency.sql1318logplain
-rw-r--r--0002-auditor_reserve_not_closed_inconsistency.sql1166logplain
-rw-r--r--0002-auditor_reserves.sql1367logplain
-rw-r--r--0002-auditor_row_inconsistency.sql1097logplain
-rw-r--r--0002-auditor_row_minor_inconsistencies.sql1110logplain
-rw-r--r--0002-auditor_wire_format_inconsistency.sql1093logplain
-rw-r--r--0002-auditor_wire_out_inconsistency.sql1192logplain
-rw-r--r--Makefile.am8351logplain
-rw-r--r--auditor-0001.sql8664logplain
-rw-r--r--auditor-0002.sql.in2611logplain
-rw-r--r--auditor_do_get_auditor_progress.sql1388logplain
-rw-r--r--auditor_do_get_balance.sql1510logplain
-rw-r--r--auditordb-postgres.conf190logplain
-rw-r--r--auditordb_plugin.c2572logplain
-rw-r--r--drop.sql991logplain
-rw-r--r--hdr.h0logplain
-rw-r--r--pg_del_denomination_balance.c1704logplain
-rw-r--r--pg_del_denomination_balance.h1406logplain
-rw-r--r--pg_del_reserve_info.c1655logplain
-rw-r--r--pg_del_reserve_info.h1329logplain
-rw-r--r--pg_delete_generic.c2521logplain
-rw-r--r--pg_delete_generic.h1177logplain
-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_delete_wire_out_inconsistency_if_matching.c2092logplain
-rw-r--r--pg_delete_wire_out_inconsistency_if_matching.h1258logplain
-rw-r--r--pg_get_amount_arithmetic_inconsistency.c5285logplain
-rw-r--r--pg_get_amount_arithmetic_inconsistency.h1582logplain
-rw-r--r--pg_get_auditor_closure_lags.c4845logplain
-rw-r--r--pg_get_auditor_closure_lags.h1559logplain
-rw-r--r--pg_get_auditor_progress.c4661logplain
-rw-r--r--pg_get_auditor_progress.h1591logplain
-rw-r--r--pg_get_bad_sig_losses.c5290logplain
-rw-r--r--pg_get_bad_sig_losses.h1717logplain
-rw-r--r--pg_get_balance.c5043logplain
-rw-r--r--pg_get_balance.h1549logplain
-rw-r--r--pg_get_balances.c3449logplain
-rw-r--r--pg_get_balances.h1308logplain
-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.c5456logplain
-rw-r--r--pg_get_denomination_key_validity_withdraw_inconsistency.h1676logplain
-rw-r--r--pg_get_denomination_pending.c4937logplain
-rw-r--r--pg_get_denomination_pending.h1460logplain
-rw-r--r--pg_get_denominations_without_sigs.c4972logplain
-rw-r--r--pg_get_denominations_without_sigs.h1596logplain
-rw-r--r--pg_get_deposit_confirmations.c7393logplain
-rw-r--r--pg_get_deposit_confirmations.h1707logplain
-rw-r--r--pg_get_emergency.c5001logplain
-rw-r--r--pg_get_emergency.h1484logplain
-rw-r--r--pg_get_emergency_by_count.c5261logplain
-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.c4711logplain
-rw-r--r--pg_get_fee_time_inconsistency.h1547logplain
-rw-r--r--pg_get_misattribution_in_inconsistency.c4890logplain
-rw-r--r--pg_get_misattribution_in_inconsistency.h1621logplain
-rw-r--r--pg_get_progress_points.c3629logplain
-rw-r--r--pg_get_progress_points.h1489logplain
-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.c5010logplain
-rw-r--r--pg_get_purse_not_closed_inconsistencies.h1596logplain
-rw-r--r--pg_get_purses.c4431logplain
-rw-r--r--pg_get_purses.h1391logplain
-rw-r--r--pg_get_refreshes_hanging.c4371logplain
-rw-r--r--pg_get_refreshes_hanging.h1523logplain
-rw-r--r--pg_get_reserve_balance_insufficient_inconsistency.c5285logplain
-rw-r--r--pg_get_reserve_balance_insufficient_inconsistency.h1646logplain
-rw-r--r--pg_get_reserve_balance_summary_wrong_inconsistency.c5172logplain
-rw-r--r--pg_get_reserve_balance_summary_wrong_inconsistency.h1679logplain
-rw-r--r--pg_get_reserve_in_inconsistency.c5525logplain
-rw-r--r--pg_get_reserve_in_inconsistency.h1586logplain
-rw-r--r--pg_get_reserve_info.c3578logplain
-rw-r--r--pg_get_reserve_info.h1855logplain
-rw-r--r--pg_get_reserve_not_closed_inconsistency.c5109logplain
-rw-r--r--pg_get_reserve_not_closed_inconsistency.h1625logplain
-rw-r--r--pg_get_reserves.c5655logplain
-rw-r--r--pg_get_reserves.h1401logplain
-rw-r--r--pg_get_row_inconsistency.c4712logplain
-rw-r--r--pg_get_row_inconsistency.h1528logplain
-rw-r--r--pg_get_row_minor_inconsistencies.c4733logplain
-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.c4771logplain
-rw-r--r--pg_get_wire_format_inconsistency.h1633logplain
-rw-r--r--pg_get_wire_out_inconsistency.c5075logplain
-rw-r--r--pg_get_wire_out_inconsistency.h1615logplain
-rw-r--r--pg_helper.c2300logplain
-rw-r--r--pg_helper.h4178logplain
-rw-r--r--pg_insert_amount_arithmetic_inconsistency.c1987logplain
-rw-r--r--pg_insert_amount_arithmetic_inconsistency.h1356logplain
-rw-r--r--pg_insert_auditor_closure_lags.c1820logplain
-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.c1769logplain
-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_coin_inconsistency.c1906logplain
-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.c1934logplain
-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.c2009logplain
-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.c1968logplain
-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.c2048logplain
-rw-r--r--pg_insert_exchange_signkey.h1358logplain
-rw-r--r--pg_insert_fee_time_inconsistency.c1735logplain
-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_reserve_revenue.c2003logplain
-rw-r--r--pg_insert_historic_reserve_revenue.h1602logplain
-rw-r--r--pg_insert_misattribution_in_inconsistency.c1766logplain
-rw-r--r--pg_insert_misattribution_in_inconsistency.h1319logplain
-rw-r--r--pg_insert_pending_deposit.c2125logplain
-rw-r--r--pg_insert_pending_deposit.h1717logplain
-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.c1785logplain
-rw-r--r--pg_insert_purse_not_closed_inconsistencies.h1342logplain
-rw-r--r--pg_insert_refreshes_hanging.c1603logplain
-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.c2144logplain
-rw-r--r--pg_insert_reserve_in_inconsistency.h1284logplain
-rw-r--r--pg_insert_reserve_info.c3033logplain
-rw-r--r--pg_insert_reserve_info.h1713logplain
-rw-r--r--pg_insert_reserve_not_closed_inconsistency.c1874logplain
-rw-r--r--pg_insert_reserve_not_closed_inconsistency.h1323logplain
-rw-r--r--pg_insert_row_inconsistency.c1626logplain
-rw-r--r--pg_insert_row_inconsistency.h1257logplain
-rw-r--r--pg_insert_row_minor_inconsistencies.c1686logplain
-rw-r--r--pg_insert_row_minor_inconsistencies.h1289logplain
-rw-r--r--pg_insert_wire_format_inconsistency.c1723logplain
-rw-r--r--pg_insert_wire_format_inconsistency.h1289logplain
-rw-r--r--pg_insert_wire_out_inconsistency.c1946logplain
-rw-r--r--pg_insert_wire_out_inconsistency.h1274logplain
-rw-r--r--pg_select_historic_denom_revenue.c4509logplain
-rw-r--r--pg_select_historic_denom_revenue.h1633logplain
-rw-r--r--pg_select_historic_reserve_revenue.c4247logplain
-rw-r--r--pg_select_historic_reserve_revenue.h1653logplain
-rw-r--r--pg_select_pending_deposits.c4107logplain
-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_auditor_progress.c3055logplain
-rw-r--r--pg_update_auditor_progress.h1574logplain
-rw-r--r--pg_update_balance.c3150logplain
-rw-r--r--pg_update_balance.h1560logplain
-rw-r--r--pg_update_denomination_balance.c2342logplain
-rw-r--r--pg_update_denomination_balance.h1568logplain
-rw-r--r--pg_update_generic_suppressed.c2645logplain
-rw-r--r--pg_update_generic_suppressed.h1257logplain
-rw-r--r--pg_update_purse_info.c1769logplain
-rw-r--r--pg_update_purse_info.h1489logplain
-rw-r--r--pg_update_reserve_info.c2643logplain
-rw-r--r--pg_update_reserve_info.h1593logplain
-rw-r--r--pg_update_wire_fee_summary.c1695logplain
-rw-r--r--pg_update_wire_fee_summary.h1446logplain
-rw-r--r--plugin_auditordb_postgres.c23355logplain
-rw-r--r--procedures.sql.in835logplain
-rw-r--r--restart.sql2563logplain
-rw-r--r--test-auditor-db-postgres.conf298logplain
-rw-r--r--test_auditordb.c18022logplain
-rw-r--r--test_auditordb_checkpoints.c11482logplain
-rw-r--r--versioning.sql11758logplain