pegnet / pegnetd

The pegnet daemon to track txs, conversions, etc
Other
13 stars 14 forks source link

EntryHash should be a blob, not an integer #92

Closed Emyrk closed 4 years ago

Emyrk commented 4 years ago

Should we write a rule to convert the table to a blob if it's found to be an integer? A migration to prevent a resync

WhoSoup commented 4 years ago

interesting, sqlite column types should all be data agnostic and the definition is just a hint. that's probably why it works in the first place. i'm guessing this may have stopped proper indexing, good catch

Emyrk commented 4 years ago

We should get this in for all new dbs. All existing dbs are unaffected.

Emyrk commented 4 years ago

See Who's PR -> https://github.com/pegnet/pegnetd/pull/96