Skip to content

Commit

Permalink
add transaction_outputs and dispenser_refills tables
Browse files Browse the repository at this point in the history
- alphabetized the tables for easier reference
  • Loading branch information
jdogresorg committed Nov 8, 2023
1 parent ea1fa9f commit 9e28f00
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions counterpartylib/lib/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,14 @@

# Order matters for FOREIGN KEY constraints.
TABLES = ['credits', 'debits', 'messages'] + \
['bet_match_resolutions', 'order_match_expirations', 'order_matches',
'order_expirations', 'orders', 'bet_match_expirations', 'bet_matches',
'bet_expirations', 'bets', 'broadcasts', 'btcpays', 'burns',
'cancels', 'dividends', 'issuances', 'sends',
'rps_match_expirations', 'rps_expirations', 'rpsresolves',
'rps_matches', 'rps',
'destructions', 'assets', 'addresses', 'sweeps', 'dispensers', 'dispenses']
['assets', 'addresses',
'bets', 'bet_matches', 'bet_expirations', 'bet_match_resolutions', 'bet_match_expirations',
'broadcasts', 'btcpays', 'burns', 'cancels', 'dividends', 'destructions', 'issuances',
'dispensers', 'dispenses','dispenser_refills',
'orders', 'order_matches', 'order_expirations', 'order_match_expirations',
'rps', 'rps_matches', 'rpsresolves', 'rps_match_expirations', 'rps_expirations',
'sends', 'sweeps',
'transaction_outputs']
# Compose list of tables tracked by undolog
UNDOLOG_TABLES = copy.copy(TABLES)
UNDOLOG_TABLES.remove('messages')
Expand Down

0 comments on commit 9e28f00

Please sign in to comment.