Commit Graph

16 Commits

Author SHA1 Message Date
Jude Nelson
c4abd401e1 pass both the working db and untrusted db when calculating extra
consensus fields (since the untrusted db might not have the data we
need when verifying).  Also, when calculating consensus quirks, check if
a name operation is the first NAME_IMPORT for a name in order to handle
the NAME_IMPORT fee quirk correctly.
2016-09-07 11:08:06 -04:00
Jude Nelson
fefce0537d log which code path we take 2016-09-05 20:46:24 -04:00
Jude Nelson
1952b935e4 preserve the *first* preorder name hash when restoring consensus extras 2016-09-05 20:46:00 -04:00
Jude Nelson
51617feead log the SNV quirks as we apply them 2016-09-05 20:45:45 -04:00
Jude Nelson
b9d46bf0e4 remove dead code; better debug statement 2016-09-04 17:22:53 -04:00
Jude Nelson
692319b263 Merge sqlite3 into develop. Mostly refactoring: move operation
parsing, validation, and consensus logic into the individual operation's
.py file.
2016-09-02 00:20:24 -04:00
Jude Nelson
c93390ef0e sqlite3 merger: add much more rigorous operation-checking:
* identify and preserve invariant properties that must hold across name
state-transitions (like no-collisions, or limiting fields that can
change).
* add history validation
* identify consensus-bearing fields, and how each state-creation or
state-transition may affect them (and add runtime checks to see that
they only affect the fields we say they will)
* add decorators that we can apply to name operations to enforce the
above.
2016-09-02 00:16:36 -04:00
Jude Nelson
070e9b86de period 2016-08-06 00:14:32 -04:00
Jude Nelson
bbdf3d214d remove dead code 2016-07-08 16:37:23 -04:00
Jude Nelson
144d1dbe1d remove dead code 2016-06-14 11:31:04 -04:00
Jude Nelson
011576a168 WIP: move most nameop handling to the client 2016-06-09 03:17:15 -04:00
Jude Nelson
daac6d43fa BLOCKSTORE --> BLOCKSTACK 2016-06-06 17:44:33 -04:00
Jude Nelson
ee3e97e06f Use new virtualchain log facility 2016-05-11 18:03:21 -04:00
Jude Nelson
0db2f7e76d BLOCKSTACK_VERSION, not BLOCKSTORE_VERSION 2016-04-22 17:59:40 -04:00
Jude Nelson
766f8df56a Rename BlockstoreDB to BlockstackDB 2016-02-23 15:56:09 -05:00
Jude Nelson
29f7e2ef8c WIP: renaming blockstore to blockstack 2016-02-23 15:52:18 -05:00