-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from jdogresorg/counterparty-classic
Rollback `master` branch to `counterparty-classic`
- Loading branch information
Showing
17 changed files
with
105 additions
and
338 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Git LFS file not shown
Git LFS file not shown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,29 @@ | ||
DROP TABLE IF EXISTS dispensers; | ||
CREATE TABLE dispensers ( | ||
tx_index INTEGER UNSIGNED, | ||
-- tx_hash TEXT, | ||
tx_hash_id INTEGER UNSIGNED, -- id of record in index_transactions | ||
block_index INTEGER UNSIGNED, | ||
-- source TEXT, | ||
source_id INTEGER UNSIGNED, -- id of record in index_addresses | ||
-- asset TEXT, | ||
asset_id INTEGER UNSIGNED, -- id of record in assets table | ||
give_quantity BIGINT, -- Tokens to vend per dispense | ||
escrow_quantity BIGINT, -- Tokens to escrow in dispenser | ||
satoshirate BIGINT, -- Bitcoin satoshis required per dispense | ||
give_remaining BIGINT, | ||
oracle_address_id INTEGER UNSIGNED, -- id of record in index_addresses table | ||
last_status_tx_hash_id INTEGER UNSIGNED, -- id of record in index_transactions | ||
origin_id INTEGER UNSIGNED, -- id of record in index_addresses | ||
closing_reason TEXT, | ||
status TEXT, | ||
dispense_count INTEGER DEFAULT 0, | ||
last_status_tx_source_id INTEGER UNSIGNED, | ||
close_block_index INTEGER UNSIGNED | ||
tx_index INTEGER UNSIGNED, | ||
-- tx_hash TEXT, | ||
tx_hash_id INTEGER UNSIGNED, -- id of record in index_transactions | ||
block_index INTEGER UNSIGNED, | ||
-- source TEXT, | ||
source_id INTEGER UNSIGNED, -- id of record in index_addresses | ||
-- asset TEXT, | ||
asset_id INTEGER UNSIGNED, -- id of record in assets table | ||
give_quantity BIGINT, -- Tokens to vend per dispense | ||
escrow_quantity BIGINT, -- Tokens to escrow in dispenser | ||
satoshirate BIGINT, -- Bitcoin satoshis required per dispense | ||
give_remaining BIGINT, | ||
oracle_address_id INTEGER UNSIGNED, -- id of record in index_addresses table | ||
last_status_tx_hash_id INTEGER UNSIGNED, -- id of record in index_transactions | ||
origin_id INTEGER UNSIGNED, -- id of record in index_addresses | ||
closing_reason TEXT, | ||
status TEXT | ||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||
|
||
CREATE UNIQUE INDEX tx_index ON dispensers (tx_index); | ||
CREATE INDEX tx_hash_id ON dispensers (tx_hash_id); | ||
CREATE INDEX block_index ON dispensers (block_index); | ||
CREATE INDEX source_id ON dispensers (source_id); | ||
CREATE INDEX asset_id ON dispensers (asset_id); | ||
CREATE INDEX oracle_address_id ON dispensers (oracle_address_id); | ||
CREATE INDEX last_status_tx_hash_id ON dispensers (last_status_tx_hash_id); | ||
CREATE INDEX origin_id ON dispensers (origin_id); | ||
CREATE INDEX last_status_tx_source_id ON dispensers (last_status_tx_source_id); | ||
CREATE UNIQUE INDEX tx_index ON dispensers (tx_index); | ||
CREATE INDEX tx_hash_id ON dispensers (tx_hash_id); | ||
CREATE INDEX block_index ON dispensers (block_index); | ||
CREATE INDEX source_id ON dispensers (source_id); | ||
CREATE INDEX asset_id ON dispensers (asset_id); | ||
CREATE INDEX oracle_address_id ON dispensers (oracle_address_id); | ||
CREATE INDEX last_status_tx_hash_id ON dispensers (last_status_tx_hash_id); | ||
CREATE INDEX origin_id ON dispensers (origin_id); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.