@@ -661,9 +661,9 @@ const CHAINSTATE_INITIAL_SCHEMA: &[&str] = &[
661
661
tx_merkle_root TEXT NOT NULL,
662
662
state_index_root TEXT NOT NULL,
663
663
microblock_pubkey_hash TEXT NOT NULL,
664
-
664
+
665
665
block_hash TEXT NOT NULL, -- NOTE: this is *not* unique, since two burn chain forks can commit to the same Stacks block.
666
- index_block_hash TEXT UNIQUE NOT NULL, -- NOTE: this is the hash of the block hash and consensus hash of the burn block that selected it,
666
+ index_block_hash TEXT UNIQUE NOT NULL, -- NOTE: this is the hash of the block hash and consensus hash of the burn block that selected it,
667
667
-- and is guaranteed to be globally unique (across all Stacks forks and across all PoX forks).
668
668
-- index_block_hash is the block hash fed into the MARF index.
669
669
@@ -698,7 +698,7 @@ const CHAINSTATE_INITIAL_SCHEMA: &[&str] = &[
698
698
burnchain_commit_burn INT NOT NULL,
699
699
burnchain_sortition_burn INT NOT NULL,
700
700
miner INT NOT NULL,
701
-
701
+
702
702
-- internal use
703
703
stacks_block_height INTEGER NOT NULL,
704
704
index_block_hash TEXT NOT NULL, -- NOTE: can't enforce UNIQUE here, because there will be multiple entries per block
@@ -799,7 +799,7 @@ const CHAINSTATE_SCHEMA_3: &[&str] = &[
799
799
-- * one that records the coinbase, anchored tx fee, and confirmed streamed tx fees, and
800
800
-- * one that records only the produced streamed tx fees.
801
801
-- The latter is determined once this block's stream gets subsequently confirmed.
802
- -- You query this table by passing both the parent and the child block hashes, since both the
802
+ -- You query this table by passing both the parent and the child block hashes, since both the
803
803
-- parent and child blocks determine the full reward for the parent block.
804
804
CREATE TABLE matured_rewards(
805
805
address TEXT NOT NULL, -- address of the miner who produced the block
@@ -810,7 +810,7 @@ const CHAINSTATE_SCHEMA_3: &[&str] = &[
810
810
tx_fees_streamed_confirmed TEXT NOT NULL,
811
811
tx_fees_streamed_produced TEXT NOT NULL,
812
812
813
- -- fork identifier
813
+ -- fork identifier
814
814
child_index_block_hash TEXT NOT NULL,
815
815
parent_index_block_hash TEXT NOT NULL,
816
816
0 commit comments