aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJhih-Ming Huang <jm.huang@cobinhood.com>2019-05-08 16:57:59 +0800
committerJhih-Ming Huang <jm.huang@cobinhood.com>2019-05-08 17:03:34 +0800
commitc15993f800e04be9e086e15e0dd9776d7304dd9f (patch)
treea1ce069d64424e7b52da2f7e1019b26bfb965137
parentb4aa53e9d3743f19c138954b6ac7be9756a8132e (diff)
downloaddexon-jm-vm-design-doc.tar
dexon-jm-vm-design-doc.tar.gz
dexon-jm-vm-design-doc.tar.bz2
dexon-jm-vm-design-doc.tar.lz
dexon-jm-vm-design-doc.tar.xz
dexon-jm-vm-design-doc.tar.zst
dexon-jm-vm-design-doc.zip
fixup! core: vm: sqlvm: README.mdjm-vm-design-doc
-rw-r--r--core/vm/sqlvm/README.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/vm/sqlvm/README.md b/core/vm/sqlvm/README.md
index 37307bd4e..b4e52eeb5 100644
--- a/core/vm/sqlvm/README.md
+++ b/core/vm/sqlvm/README.md
@@ -30,7 +30,8 @@
* [Other indices](#other-indices)
* [List of keys](#list-of-keys-1)
* [Actual data](#actual-data-1)
- * [Sequence (auto increment)](#sequenceauto-increment)
+ * [(TODO) Row ID reverse index](#todo-row-id-reverse-index)
+ * [Sequence (auto increment)](#sequence-auto-increment)
* [NULL value](#null-value)
* [Compound index](#compound-index)
* [Contract owner](#contract-owner)
@@ -473,7 +474,7 @@ PathKey(["tables", uint8(table_idx), "writers"])
Value
```golang
-type IndexValues struct {
+type Writers struct {
// Slot 1.
Length uint64
<unused> uint64
@@ -498,7 +499,7 @@ Value
```golang
type TableWriter struct {
// Slot 1.
- IndexToIndexValuesOffset uint64
+ AddressToWritersOffset uint64
<unused> uint64
<unused> uint64
<unused> uint64