Currently, both the input and output notes table contain a NoteScript object, which in turn is formed by its root hash and the ProgramAst (note: in #206 the NoteScript is being separated into 2 SQL columns, one for the root and one for the AST). We should factor these script fields out into their own note_script table in the SqliteStore implementation to avoid repetition.
Currently, both the input and output notes table contain a
NoteScript
object, which in turn is formed by its root hash and theProgramAst
(note: in #206 theNoteScript
is being separated into 2 SQL columns, one for the root and one for the AST). We should factor these script fields out into their ownnote_script
table in theSqliteStore
implementation to avoid repetition.