Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add import and export to ledger #5

Merged
merged 13 commits into from
Oct 2, 2019
Next Next commit
add slots table
  • Loading branch information
tammo committed Sep 9, 2019
commit cf5197495f8cc3541e09aa7665540b78fe098471
14 changes: 14 additions & 0 deletions etc/sqlite/sqlite.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,17 @@
| sender_blinding_factor_balance | - | **TEXT** encrypted blinding factor for the sending party |
| sender_balance | - | **TEXT** encrypted balance factor for the sending party |
| sender_amount | - | **TEXT** encrypted amount for the sending party |

### slots

| Field | Flags | Description |
| --- | --- | --- |
| id | PK, unique, not null | **VARCHAR(64)** sha256 signature |
| created_at | not null | **NUMBER** unix time of network approval |

### slot_blocks

| Field | Flags | Description |
| --- | --- | --- |
| slot_id | FK -> slots.id, not null | **VARCHAR(64)** slot id |
| block_id | FK -> blocks.id, unique, not null | **VARCHAR(64)** block id |