Emurgo / project-icarus-importer

Icarus, a reference implementation for a lightweight wallet developed by the IOHK Engineering Team.
Other
4 stars 2 forks source link

Store raw tx body in postgres as well #2

Closed vsubhuman closed 6 years ago

vsubhuman commented 6 years ago

Importer stores bunch of tx info in postgres (like, addresses, amounts, etc). But we need for it to also store the actual raw tx bytes body, so various custom tools can access it easily in case they need it (e.g. Trezor requires raw body to validate UTxOs).

Tasks:

  1. Update code working with the txs table to also include tx_body column
  2. Update the tx-storing code to also pass the raw body