Ngccc colored coin store

killerstorm edited this page Jun 24, 2013 · 2 revisions

Stores information about colored transaction outputs.

For the sake of simplicity and interoperability, we'll use SQLite database for this, although eventually might switch to something offering higher performance and lower overhead.

Data tuples: (color_id, txhash, outindex, value, label). Label can be used by advanced coloring functions, otherwise it is unnecessary.

Methods:

ColoredCoinStore
   add(color_id, txhash, outindex, value, label)
   remove(color_id, txhash, outindex)
   get(color_id, txhash, outindex)
   get_any(ctxhash, outindex)
   get_all(color_id)
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.